Detpc.vue 9.81 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">
liyixun committed
39 40 41
            <c-col :span="20">
              <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>
71 72 73 74 75 76
            <c-col :span="4">
              <c-checkbox
                v-if="model.gitp.swiftflg == 'Y'"
                v-model="model.gitp.covgodsrvcmodflg"
                style="margin: 0 0 0 10px"
                @change="modflgChange"
wangna committed
77
                >是否手工修改保函文本</c-checkbox
78 79 80 81 82
              >
              <c-checkbox
                v-if="model.gitp.swiftflg == 'Y'"
                v-model="model.gitp.covgodc.chkast"
                style="margin: 0 0 0 10px"
wangna committed
83
                >允许</c-checkbox
84 85 86 87 88 89 90 91 92
              >
              <c-button
                disabled
                v-if="model.gitp.swiftflg == 'Y'"
                size="small"
                type="primary"
                style="margin: 5px 0 0 10px"
                @click="onGitpButdifcovgodsrvc"
              >
wangna committed
93
                查看系统文本
94 95 96 97 98 99 100 101 102
              </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
103
                查看历史文本
104 105 106 107 108
              </c-button>
            </c-col>
          </c-col>
          <c-col :span="24">
            <el-form-item
wangna committed
109
              label="原始利率"
110 111 112 113 114
              prop="gidgrp.rec.orcratc"
            >
              <c-input
                disabled
                v-model="model.gidgrp.rec.orcratc"
wangna committed
115
                placeholder="请输入原始利率"
116 117 118 119 120
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <c-col :span="12">
“yanyuxin” committed
121
              <el-form-item label="合同币种和金额 " prop="gidgrp.rec.orccurc">
122 123 124 125
                <c-select
                  disabled
                  v-model="model.gidgrp.rec.orccurc"
                  style="width: 100%"
wangna committed
126
                  placeholder="请选择合同币种"
127 128 129 130 131 132 133 134 135 136
                >
                  <el-option
                    v-for="item in codes.curtxt"
                    :key="item.value"
                    :label="item.label"
                    :value="item.value"
                  >
                  </el-option>
                </c-select>
              </el-form-item>
137
            </c-col>
liyixun committed
138 139 140 141 142
            <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
143
                  placeholder="请输入合同金额 "
liyixun committed
144 145
                ></c-input>
              </el-form-item>
146
            </c-col>
147 148 149
          </c-col>
          <c-col :span="24">
            <el-form-item
wangna committed
150
              label="合同签定地"
151 152 153 154 155 156 157 158
              prop="gidgrp.blk.orcplcc"
            >
              <c-input
                disabled
                type="textarea"
                v-model="model.gidgrp.blk.orcplcc"
                maxlength="140"
                show-word-limit
wangna committed
159
                placeholder="请输入合同签定地"
160 161 162
              ></c-input>
            </el-form-item>
          </c-col>
163
        </c-col>
Wuyuqiu committed
164
        <c-col :span="12" style="padding-left: 20px;">
165 166
          <c-col :span="24">
            <el-form-item
wangna committed
167
              label="预付款账号"
168 169 170 171 172 173
              prop="gidgrp.rec.accc"
            >
              <c-input
                disabled
                v-model="model.gidgrp.rec.accc"
                maxlength="35"
wangna committed
174
                placeholder="请输入预付款账号"
175 176 177 178
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="24">
wangna committed
179
            <el-form-item label="适用法律" prop="gidgrp.rec.jurlawc">
180 181 182
              <c-select
                v-model="model.gidgrp.rec.jurlawc"
                style="width: 100%"
wangna committed
183
                placeholder="请选择适用法律"
184 185 186 187 188 189 190 191
              >
                <el-option
                  v-for="item in codes.ctytxt1"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
192
              </c-select>
193 194 195 196
            </el-form-item>
          </c-col>

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

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

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

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