1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
<template>
<div class="eibs">
<c-col :span="24">
<c-col :span="24" style="padding-left: 20px;padding-right: 20px;">
<c-col :span="1" class="field">31C</c-col>
<c-col :span="23" class="fieldName">
<c-col :span="14">
<el-form-item label="Requested Date of Issue" label-width="200px" prop="gidgrp.rec.opndatc">
<c-date-picker placeholder="请选择请求开证日期" disabled style="width:100%" type="date" v-model="model.gidgrp.rec.opndatc">
</c-date-picker>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24" style="padding-left: 20px;padding-right: 20px;">
<c-col :span="1" class="field">22D</c-col>
<c-col :span="23" class="fieldName">
<c-col :span="14">
<el-form-item label="Form of Undertaking" label-width="200px" prop="gidgrp.rec.legfrmc">
<c-select :filterKey="['DGAR','STBY']" disabled dbCode="legfrm" placeholder="请选择保函形式" style="width:100%" v-model="model.gidgrp.rec.legfrmc">
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24" style="padding-left: 20px;padding-right: 20px;">
<c-col :span="1" class="field">40C</c-col>
<c-col :span="23">
<c-col :span="24">
<c-col :span="14" class="fieldName">
<el-form-item :label="$t('gitopn.主保函适用规则')" label-width="200px" prop="gidgrp.blk.apprulc">
<c-select :filterKey="['URDG','UCPR','NONE','OTHR','ISPR']" disabled dbCode="apprul" isShowKeyAndLabel placeholder="请选择主保函适用规则" style="width:100%" v-model="model.gidgrp.blk.apprulc">
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="14" class="fieldName">
<el-form-item label-width="200px" prop="gidgrp.blk.apprultxtc">
<c-input disabled maxlength="35" style="width:100%" placeholder="请输入主保函适用规则" v-model="model.gidgrp.blk.apprultxtc"></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
<c-col :span="24" style="padding-left: 20px;padding-right: 20px;">
<c-col :span="1" class="field">22K</c-col>
<c-col :span="23">
<c-col :span="24">
<c-col :span="14" class="fieldName">
<el-form-item label="Type of Undertaking" label-width="200px" prop="gidgrp.rec.gartypc">
<c-select :filterKey="['APAY','PAYM','PERF','TEND','WARR']" disabled dbCode="gartyc" isShowKeyAndLabel placeholder="请选择保函类型 " style="width:100%" v-model="model.gidgrp.rec.gartypc">
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="14" class="fieldName" v-if="model.gidgrp.rec.gartypc == 'OTHER'">
<el-form-item label-width="200px" prop="gidgrp.rec.gartyptxtc">
<c-input disabled placeholder="请输入保函类型 " v-model="model.gidgrp.blk.gartyptxtc">
</c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
<c-col :span="24" style="padding-left: 20px;padding-right: 20px;">
<c-col :span="1" class="field">23B</c-col>
<c-col :span="23" class="fieldName">
<c-col :span="14">
<el-form-item label="Expiry Type" label-width="200px" prop="gidgrp.rec.exptyp">
<c-select dbCode="exptyp" placeholder="请选择到期类型" style="width:100%" isShowKeyAndLabel disabled v-model="model.gidgrp.rec.exptyp">
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24" style="padding-left: 20px;padding-right: 20px;">
<c-col :span="1" class="field">31E</c-col>
<c-col :span="23" class="fieldName">
<c-col :span="14">
<el-form-item label="Date of Expiry" label-width="200px" prop="gidgrp.rec.expdat">
<c-date-picker disabled placeholder="请选择保函效期" style="width: 100%" type="date" v-model="model.gidgrp.rec.expdat">
</c-date-picker>
</el-form-item>
</c-col>
<c-col :span="4">
<c-checkbox disabled class="checkbox-left" false-label="" style="margin: 0 0 0 10px" true-label="X" v-model="model.gidgrp.rec.expflg">
效期敞口
</c-checkbox>
</c-col>
</c-col>
</c-col>
<c-col :span="24" style="padding-left: 20px;padding-right: 20px;">
<c-col :span="1" class="field">35G</c-col>
<c-col :span="23">
<c-col :span="14" class="fieldName">
<el-form-item label="Expiry Condition/Event" label-width="200px" prop="gidgrp.blk.exptxt" v-if="model.gitp.exptxtmodflg != 'X'">
<c-mul-row-input :autosize="{ minRows: 4, maxRows: 4}" :cols="65" :rows="12" disabled placeholder="请输入到期条件" v-model="model.gidgrp.blk.exptxt">
</c-mul-row-input>
</el-form-item>
<el-form-item label="Expiry Condition/Event" label-width="200px" prop="gidgrp.blk.atxexptxt" v-if="model.gitp.exptxtmodflg == 'X'">
<c-mul-row-input :autosize="{ minRows: 4, maxRows: 4}" :cols="65" :rows="12" disabled placeholder="请输入到期条件" v-model="model.gidgrp.blk.atxexptxt">
</c-mul-row-input>
</el-form-item>
</c-col>
<c-col :span="5" class="fieldName">
<c-checkbox disabled class="checkbox-left" false-label="" style="margin: 0 0 0 10px" true-label="X" v-model="model.gitp.exptxtmodflg"
v-if="model.gidgrp.rec.hndtyp == 'OT'">手工修改
</c-checkbox>
</c-col>
</c-col>
</c-col>
</c-col>
<c-col :span="24" style="padding-left: 20px;padding-right: 20px;">
<c-col :span="1" class="field">50</c-col>
<c-col :span="23">
<c-col :span="14" class="fieldName">
<el-form-item label="Applicant" label-width="200px" style="margin-bottom: 0;" prop="gidgrp.apc.pts.extkey">
<el-form-item label-width="0" style="margin-bottom: 10px;">
<c-ptap :argadr="{title: $t('gitopn.申请人'), grp: 'gidgrp', rol: 'apc'}" :disabled="true" :disabledRef="true" :disabledExtkey="true" :model="model" bchinr='00000047' :isFieldLabelVisible="false" ptytyp="C">
</c-ptap>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24" style="padding-left: 20px;padding-right: 20px;">
<c-col :span="1" class="field">52a</c-col>
<c-col :span="23">
<c-col :span="14" class="fieldName">
<el-form-item label="Issuer" label-width="200px" style="margin-bottom: 0;">
<el-form-item label-width="0" style="margin-bottom: 10px;">
<c-ptap :argadr="{title: $t('gitopn.开证行'), grp: 'gidgrp', rol: 'iss'}" :disabled="true" :disabledRef="true" :disabledExtkey="true" :model="model" :isFieldLabelVisible="false" bchinr='00000036' ptytyp="B">
</c-ptap>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24" style="padding-left: 20px;padding-right: 20px;">
<c-col :span="1" class="field">59</c-col>
<c-col :span="23">
<c-col :span="14" class="fieldName">
<el-form-item label="Beneficiary" label-width="200px" style="margin-bottom: 0;" prop="gidgrp.bec.pts.extkey">
<el-form-item label-width="0" style="margin-bottom: 10px;">
<c-ptap :argadr="{title: $t('gitopn.国际受益人'), grp: 'gidgrp', rol: 'bec'}" :haveAdrLabel="true" :isAdrblk="false" :isFieldLabelVisible="false" :model="model" :disabled="true" :disabledRef="true" :disabledExtkey="true" bchinr='00000047' ptytyp="F,C">
</c-ptap>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24" style="padding-left: 20px;padding-right: 20px;">
<c-col :span="1" class="field">32B</c-col>
<c-col :span="23">
<c-col :span="14">
<c-col :span="14" class="fieldName">
<el-form-item label="Undertaking Amount" label-width="200px" prop="gidgrp.cbs.mac.cur">
<c-select dbCode="curtxt" placeholder="请选择保函币种" sort="SRT" style="width:100%" disabled v-model="model.gidgrp.cbs.mac.cur">
</c-select>
</el-form-item>
</c-col>
<c-col :span="10" class="fieldName">
<el-form-item label-width="5px" prop="gidgrp.cbs.mac.amt">
<c-input-currency placeholder="请输入保函金额" style="width:100%" disabled v-model="model.gidgrp.cbs.mac.amt"></c-input-currency>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
<c-col :span="24" style="padding-left: 20px;padding-right: 20px;" v-if="model.gidgrp.rec.legfrmc == 'STBY'">
<c-col :span="1" class="field">41a</c-col>
<c-col :span="23">
<c-col :span="14" class="fieldName">
<el-form-item label="Available With..." label-width="200px" style="margin-bottom: 0;">
<el-form-item label-width="0" style="margin-bottom: 10px;">
<c-ptap :argadr="{title:$t('gitopn.可用银行'), grp: 'gidgrp', rol: 'avc'}" :disabled="true" :disabledExtkey='true' :disabledRef='true' :isAdrVisible="false" :isFieldLabelVisible="false" :model="model" bchinr='00000047' ptytyp="B">
</c-ptap>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24" style="padding-left: 20px;padding-right: 20px;">
<c-col :span="1" class="field">71D</c-col>
<c-col :span="23" class="fieldName">
<c-col :span="14">
<el-form-item label="Charges" label-width="200px" prop="gidgrp.blk.feetxtc">
<c-mul-row-input :autosize="{ minRows: 4, maxRows: 4}" disabled :cols="35" :rows="6" placeholder="请输入收费代码的附加详情" style="width:100%" v-model="model.gidgrp.blk.feetxtc">
</c-mul-row-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24" style="padding-left: 20px;padding-right: 20px;">
<c-col :span="1" class="field">45C</c-col>
<c-col :span="23">
<c-col :span="14" class="fieldName over">
<el-form-item label="Document and Presentation Instructions" label-width="200px" prop="gidgrp.blk.atxpreperc" >
<c-mul-row-input :autosize="{ minRows: 2, maxRows: 6}" :cols="65" disabled :rows="100" placeholder="请输入交单指示" v-model="model.gidgrp.blk.atxpreperc"></c-mul-row-input>
</el-form-item>
<!-- <el-form-item label="Document and Presentation Instructions" label-width="200px" prop="gidgrp.blk.preperc" v-else>
<c-mul-row-input :autosize="{ minRows: 2, maxRows: 6}" :cols="65" disabled :rows="100" placeholder="请输入交单指示" v-model="model.gidgrp.blk.preperc"></c-mul-row-input>
</el-form-item> -->
</c-col>
<c-col :span="5">
<c-checkbox false-label="" style="margin: 0 0 0 10px" true-label="X" disabled v-model="model.gitp.prepercmodflg" v-if="model.gidgrp.rec.hndtyp == 'OT'" class="checkbox-left">手工修改</c-checkbox>
</c-col>
</c-col>
</c-col>
<c-col :span="24" style="padding-left: 20px;padding-right: 20px;">
<c-col :span="1" class="field">44H</c-col>
<c-col :span="23" class="fieldName">
<c-col :span="24">
<c-col :span="14">
<c-col :span="12">
<el-form-item label="Governing Law and/or|" label-width="200px" prop="gidgrp.rec.jurlawc">
<c-select :isShowKey="true" disabled :filterKey="['CN', 'HK', 'GB']" dbCode="ctytxt" placeholder="请选择适用法律" style="width: 100%" v-model="model.gidgrp.rec.jurlawc">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="5px" prop="gidgrp.rec.jurlawtxtc">
<c-select dbCode="ctytxt" disabled maxlength="35" placeholder="请输入" style="width: 100%" v-model="model.gidgrp.rec.jurlawtxtc">
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="14">
<el-form-item :label="$t('gitopn.仲裁地')" label-width="200px" prop="gidgrp.rec.jurplcc">
<c-input disabled maxlength="35" placeholder="请输入仲裁地" v-model="model.gidgrp.rec.jurplcc"></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
<c-col :span="24" style="padding-left: 20px;padding-right: 20px;">
<c-col :span="1" class="field">48B</c-col>
<c-col :span="23" class="fieldName">
<c-col :span="14">
<el-form-item label="Demand Indicator" label-width="200px" prop="gidgrp.rec.demandc">
<c-select dbCode="demand" disabled placeholder="请选择索赔方式 " style="width:100%" v-model="model.gidgrp.rec.demandc">
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
<c-col :span="24" style="padding-left: 20px;padding-right: 20px;">
<c-col :span="1" class="field">45L</c-col>
<c-col :span="23">
<c-col :span="14" class="fieldName">
<el-form-item label="Underlying Transaction Details" label-width="200px" prop="gidgrp.blk.atxcovgodsrvc">
<c-mul-row-input disabled :autosize="{ minRows: 4, maxRows: 4}" :charmod="1" :cols="65" :rows="50" placeholder="请输入Underly. Transact. Det." v-model="model.gidgrp.blk.atxcovgodsrvc">
</c-mul-row-input>
</el-form-item>
<!-- <el-form-item label="Underlying Transaction Details" label-width="200px" prop="gidgrp.blk.covgodsrvc" v-else>
<c-mul-row-input :autosize="{ minRows: 4, maxRows: 4}" :charmod="1" :cols="65" :rows="50" disabled placeholder="请输入合同标的" v-model="model.gidgrp.blk.covgodsrvc">
</c-mul-row-input>
</el-form-item> -->
</c-col>
<!-- <c-col :span="5">
<c-checkbox class="checkbox-left" false-label="" style="margin: 0 0 0 10px" true-label="X" @change="changeCovgodsrvcmodflg" v-model="model.gitp.covgodsrvcmodflg"
v-if="model.gidgrp.rec.hndtyp == 'OT'">
手工修改
</c-checkbox>
</c-col> -->
</c-col>
</c-col>
<c-col :span="24" style="padding-left: 20px;padding-right: 20px;">
<c-col :span="1" class="field">24E</c-col>
<c-col :span="23">
<c-col :span="24">
<c-col :span="14" class="fieldName">
<el-form-item label="Delivery of Local Undertaking" label-width="200px" prop="gidgrp.rec.deloric">
<c-select dbCode="DELORI" placeholder="请选择保函文本交付" style="width: 100%" v-model="model.gidgrp.rec.deloric" disabled isShowKeyAndLabel>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="14">
<el-form-item label-width="200px" prop="gidgrp.rec.deloritxtc">
<c-input disabled maxlength="35" placeholder="请输入保函文本交付" v-model="model.gidgrp.rec.deloritxtc"></c-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
<c-col :span="24" style="padding-left: 20px;padding-right: 20px;">
<c-col :span="1" class="field">24G</c-col>
<c-col :span="23">
<c-col :span="24">
<c-col :span="14" class="fieldName">
<el-form-item label="Delivery To/Collection By" label-width="200px" prop="gidgrp.rec.deltoc">
<c-select :filterKey="deltoFilterKey" disabled dbCode="delto" placeholder="请选择交付收款人" style="width: 100%" v-model="model.gidgrp.rec.deltoc">
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="14">
<el-form-item label-width="200px" prop="gidgrp.blk.deltoadrc">
<c-mul-row-input :autosize="{ minRows: 4, maxRows: 4}" :cols="35" disabled :rows="6" placeholder="请输入交付地址" style="width:100%" v-model="model.gidgrp.blk.deltoadrc"></c-mul-row-input>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import event from "../../event";
import Default from "../../model/default";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event, Default],
data() {
return {};
},
methods: {
changeCovgodsrvcmodflg() {
if (
this.model.gitp.covgodsrvcmodflg === "" &&
this.model.gidgrp.blk.atxcovgodsrvc !== ""
) {
this.$confirm(
"Do you really want to redefault the standard text?\nIf you confirm all modifications are lost",
"提示",
{
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
}
)
.then(() => {
this.model.gidgrp.blk.atxcovgodsrvc = "";
})
.catch(() => {
this.model.gitp.covgodsrvcmodflg = "X";
});
}
},
changePrepercmodflg() {
if (
this.model.gitp.prepercmodflg === "" &&
this.model.gidgrp.blk.preperc !== ""
) {
this.$confirm(
"Do you really want to redefault the standard text?\nIf you confirm all modifications are lost",
"提示",
{
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning"
}
)
.then(() => {
this.model.gidgrp.blk.preperc = "";
})
.catch(() => {
this.model.gitp.prepercmodflg = "X";
});
}
}
},
computed: {
deltoFilterKey() {
let filterKey = ["OTHR"];
if (
this.model.gidgrp.bec.pts.adrblk != null &&
this.model.gidgrp.bec.pts.adrblk != ""
) {
filterKey.push("BENE");
}
return filterKey;
}
},
created: function() {},
mounted() {
this.model.gitp.exptxtmodflg = 'X';
this.model.gitp.prepercmodflg = 'X';
},
watch: {
'model.gidgrp.rec.hndtyp' : function() {
if(this.model.gidgrp.rec.hndtyp == 'OT'){
this.model.gitp.covgodsrvcmodflg = 'X';
this.model.gitp.prepercmodflg = 'X';
}
}
},
};
</script>
<style lang="less" scoped>
.field {
text-align: left;
line-height: 32px;
width: 40px;
}
.fieldName {
/deep/ .el-form-item--small .el-form-item__label {
width: 200px !important;
justify-content: flex-start;
}
/deep/ .el-date-editor.el-input {
width: 90%;
}
/deep/ .el-select {
width: 90%;
}
}
.over {
/deep/ .el-form-item--small .el-form-item__label {
text-align: left;
}
}
</style>