Detpc.vue 9.88 KB
Newer Older
1
<template>
Wuyuqiu committed
2
  <div class="eibs">
3
    <c-row>
4
      <c-col :span="24">
Wuyuqiu committed
5
        <c-col :span="12" style="padding-right: 20px;">
6
          <c-col :span="24">
wangna committed
7
            <el-form-item label="合同号" prop="gidgrp.rec.orcrefc">
8 9 10 11
              <c-input
                disabled
                v-model="model.gidgrp.rec.orcrefc"
                maxlength="35"
wangna committed
12
                placeholder="请输入合同号"
13 14 15 16
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
wangna committed
17
            <el-form-item label="合同签定日期" prop="gidgrp.rec.orcdatc">
18 19 20 21 22
              <c-date-picker
                disabled
                type="date"
                v-model="model.gidgrp.rec.orcdatc"
                style="width: 100%"
wangna committed
23
                placeholder="请选择合同签定日期"
24 25 26 27
              ></c-date-picker>
            </el-form-item>
          </c-col>
          <c-col :span="24">
wangna committed
28
            <el-form-item label="合同失效日期" prop="gidgrp.rec.tenclsdatc">
29 30 31 32 33
              <c-date-picker
                disabled
                type="date"
                v-model="model.gidgrp.rec.tenclsdatc"
                style="width: 100%"
wangna committed
34
                placeholder="请选择合同失效日期"
35 36 37 38
              ></c-date-picker>
            </el-form-item>
          </c-col>
          <c-col :span="24">
LiRui committed
39
            <c-col :span="17">
liyixun committed
40 41
              <el-form-item
                v-if="model.gitp.covgodsrvcmodflg == ''"
wangna committed
42
                label="合同标的"
liyixun committed
43 44 45 46 47 48 49 50 51
                prop="gidgrp.blk.covgodsrvc"
              >
                <c-input
                  disabled
                  rows="5"
                  type="textarea"
                  v-model="model.gidgrp.blk.covgodsrvc"
                  maxlength="3250"
                  show-word-limit
wangna committed
52
                  placeholder="请输入合同标的"
liyixun committed
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
                ></c-input>
              </el-form-item>
              <el-form-item
                v-if="model.gitp.covgodsrvcmodflg == 'X'"
                label="Underly. Transact. Det."
                prop="gidgrp.blk.atxcovgodsrvc"
              >
                <c-input
                  rows="5"
                  type="textarea"
                  v-model="model.gidgrp.blk.atxcovgodsrvc"
                  maxlength="3250"
                  show-word-limit
                  placeholder="请输入Underly. Transact. Det."
                  @blur="atxcovgodsrvcBlur"
                ></c-input>
              </el-form-item>
            </c-col>
LiRui committed
71
            <c-col :span="7">
72
              <c-checkbox
LiRui committed
73
                class="checkbox-left"
74 75 76 77
                v-if="model.gitp.swiftflg == 'Y'"
                v-model="model.gitp.covgodsrvcmodflg"
                style="margin: 0 0 0 10px"
                @change="modflgChange"
wangna committed
78
                >是否手工修改保函文本</c-checkbox
79 80
              >
              <c-checkbox
LiRui committed
81
                class="checkbox-left"
82 83 84
                v-if="model.gitp.swiftflg == 'Y'"
                v-model="model.gitp.covgodc.chkast"
                style="margin: 0 0 0 10px"
wangna committed
85
                >允许</c-checkbox
86 87 88 89 90 91 92 93 94
              >
              <c-button
                disabled
                v-if="model.gitp.swiftflg == 'Y'"
                size="small"
                type="primary"
                style="margin: 5px 0 0 10px"
                @click="onGitpButdifcovgodsrvc"
              >
wangna committed
95
                查看系统文本
96 97 98 99 100 101 102 103 104
              </c-button>
              <c-button
                disabled
                v-if="model.gitp.swiftflg == 'Y'"
                size="small"
                type="primary"
                style="margin: 5px 0 0 10px"
                @click="onGitpButdifhiscovgodsrvc"
              >
wangna committed
105
                查看历史文本
106 107 108 109 110
              </c-button>
            </c-col>
          </c-col>
          <c-col :span="24">
            <el-form-item
wangna committed
111
              label="原始利率"
112 113 114 115 116
              prop="gidgrp.rec.orcratc"
            >
              <c-input
                disabled
                v-model="model.gidgrp.rec.orcratc"
wangna committed
117
                placeholder="请输入原始利率"
118 119 120 121 122
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <c-col :span="12">
“yanyuxin” committed
123
              <el-form-item label="合同币种和金额 " prop="gidgrp.rec.orccurc">
124 125 126 127
                <c-select
                  disabled
                  v-model="model.gidgrp.rec.orccurc"
                  style="width: 100%"
wangna committed
128
                  placeholder="请选择合同币种"
129 130 131 132 133 134 135 136 137 138
                >
                  <el-option
                    v-for="item in codes.curtxt"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </c-select>
              </el-form-item>
139
            </c-col>
liyixun committed
140 141 142 143 144
            <c-col :span="12">
              <el-form-item label-width="5px" prop="gidgrp.rec.orcamtc">
                <c-input
                  disabled
                  v-model="model.gidgrp.rec.orcamtc"
wangna committed
145
                  placeholder="请输入合同金额 "
liyixun committed
146 147
                ></c-input>
              </el-form-item>
148
            </c-col>
149 150 151
          </c-col>
          <c-col :span="24">
            <el-form-item
wangna committed
152
              label="合同签定地"
153 154 155 156 157 158 159 160
              prop="gidgrp.blk.orcplcc"
            >
              <c-input
                disabled
                type="textarea"
                v-model="model.gidgrp.blk.orcplcc"
                maxlength="140"
                show-word-limit
wangna committed
161
                placeholder="请输入合同签定地"
162 163 164
              ></c-input>
            </el-form-item>
          </c-col>
165
        </c-col>
Wuyuqiu committed
166
        <c-col :span="12" style="padding-left: 20px;">
167 168
          <c-col :span="24">
            <el-form-item
wangna committed
169
              label="预付款账号"
170 171 172 173 174 175
              prop="gidgrp.rec.accc"
            >
              <c-input
                disabled
                v-model="model.gidgrp.rec.accc"
                maxlength="35"
wangna committed
176
                placeholder="请输入预付款账号"
177 178 179 180
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
wangna committed
181
            <el-form-item label="适用法律" prop="gidgrp.rec.jurlawc">
182 183 184
              <c-select
                v-model="model.gidgrp.rec.jurlawc"
                style="width: 100%"
wangna committed
185
                placeholder="请选择适用法律"
186 187 188 189 190 191 192 193
              >
                <el-option
                  v-for="item in codes.ctytxt1"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
194
              </c-select>
195 196 197 198
            </el-form-item>
          </c-col>

          <c-col :span="24">
wangna committed
199
            <el-form-item label="适用法律 " prop="gidgrp.rec.jurlawtxtc">
200 201 202 203
              <c-input
                disabled
                v-model="model.gidgrp.rec.jurlawtxtc"
                maxlength="65"
wangna committed
204
                placeholder="请输入适用法律 "
205 206 207 208 209 210
              ></c-input>
            </el-form-item>
          </c-col>

          <c-col :span="24">
            <el-form-item
wangna committed
211
              label="仲裁地"
212 213 214 215 216 217
              prop="gidgrp.rec.jurplcc"
            >
              <c-input
                :disabled="model.gidgrp.rec.jurlawc == ''"
                v-model="model.gidgrp.rec.jurplcc"
                maxlength="35"
wangna committed
218
                placeholder="请输入仲裁地"
219 220 221 222
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
wangna committed
223
            <el-form-item label="投标参考号" prop="gidgrp.rec.tenrefc">
224 225 226 227
              <c-input
                disabled
                v-model="model.gidgrp.rec.tenrefc"
                maxlength="35"
wangna committed
228
                placeholder="请输入投标参考号"
229 230 231 232
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
wangna committed
233
            <el-form-item label="投标日期" prop="gidgrp.rec.tendatc">
234 235 236 237 238
              <c-date-picker
                disabled
                type="date"
                v-model="model.gidgrp.rec.tendatc"
                style="width: 100%"
wangna committed
239
                placeholder="请选择投标日期"
240 241 242 243 244
              ></c-date-picker>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item
wangna committed
245
              label="最新传输日期"
246 247 248 249 250 251 252
              prop="gidgrp.rec.trmdatc"
            >
              <c-date-picker
                disabled
                type="date"
                v-model="model.gidgrp.rec.trmdatc"
                style="width: 100%"
wangna committed
253
                placeholder="请选择最新传输日期"
254 255 256 257
              ></c-date-picker>
            </el-form-item>
          </c-col>
          <c-col :span="24">
wangna committed
258
            <el-form-item label="附加说明" prop="gidgrp.blk.addinfc">
259 260 261 262 263 264
              <c-input
                disabled
                type="textarea"
                v-model="model.gidgrp.blk.addinfc"
                maxlength="700"
                show-word-limit
wangna committed
265
                placeholder="请输入附加说明"
266 267 268
              ></c-input>
            </el-form-item>
          </c-col>
269
        </c-col>
270 271
      </c-col>
    </c-row>
272 273 274
  </div>
</template>
<script>
275
import Api from "~/service/Api";
276
import commonProcess from "~/mixin/commonProcess";
277 278 279
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event";
import Utils from "~/utils";
280 281

export default {
282 283 284 285 286 287
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
liyixun committed
288
  methods: {
289 290 291 292 293 294
    ...Event,
    async atxcovgodsrvcBlur() {
      let rtnmsg = await this.executeRule("gidgrp.blk.atxcovgodsrvc");
      if (rtnmsg.respCode == SUCCESS) {
        Utils.copyValueFromVO(this.model, rtnmsg.data);
      }
295 296
    },

297 298 299 300 301 302
    async modflgChange() {
      let rtnmsg = await this.executeRule("gitp.covgodsrvcmodflg");
      if (rtnmsg.respCode == SUCCESS) {
        Utils.copyValueFromVO(this.model, rtnmsg.data);
      }
    },
liyixun committed
303
  },
304 305
  created: function () {},
};
306 307 308
</script>
<style>
</style>