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
<template>
<div class="eibs-tab">
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<c-form-item label="Reference" prop="ledgrp.rec.ownref">
<c-input disabled v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入申请号"></c-input>
</c-form-item>
</c-col>
<c-col :span="24" class="custom-box-wrap">
<el-form-item label="L/C Amount" prop="ledgrp.cbs.nom1.cur">
<c-select-cur
disabled
v-model="model.ledgrp.cbs.nom1.cur"
style="width: 115px"
placeholder="请选择币种"
dbCode="curtxt"
sort="SRT">
</c-select-cur>
</el-form-item>
<div class="box-3">
<el-form-item label-width="5px" prop="ledgrp.cbs.nom1.amt">
<c-input-currency
disabled
v-model="model.ledgrp.cbs.nom1.amt"
:currency="model.ledgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请输入金额">
</c-input-currency>
</el-form-item>
</div>
<div class="box-2">
<c-checkbox
disabled
v-model="model.lttp.letp0.aammod.addamtflg"
true-label="X"
false-label=""
class="checkbox-left">
Add.Amount
</c-checkbox>
</div>
</c-col>
<c-col :span="24" class="custom-box-wrap">
<el-form-item label="Open Amount" prop="ledgrp.cbs.opn1.cur">
<c-select-cur
disabled
v-model="model.ledgrp.cbs.opn1.cur"
style="width: 115px"
placeholder="请选择币种"
dbCode="curtxt"
sort="SRT">
</c-select-cur>
</el-form-item>
<div class="box-3">
<el-form-item label-width="5px" prop="ledgrp.cbs.opn1.amt">
<c-input-currency
disabled
v-model="model.ledgrp.cbs.opn1.amt"
:currency="model.ledgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="请输入金额">
</c-input-currency>
</el-form-item>
</div>
<div class="box-2">
<c-checkbox disabled v-model="model.ledgrp.rec.revflg" true-label="X" false-label="" class="checkbox-left">
Revolving L/C
</c-checkbox>
</div>
</c-col>
<c-col :span="24">
<c-form-item label="Available with" prop="ledgrp.avbnam">
<c-input disabled v-model="model.ledgrp.avbnam" maxlength="40" placeholder="请输入可用银行"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="by" prop="ledgrp.rec.avbby" label-width="180px">
<c-select
disabled
v-model="model.ledgrp.rec.avbby"
dbCode="avbby0"
style="width: 100%"
placeholder="请选择兑付方式">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Date Issued" prop="ledgrp.rec.opndat">
<c-date-picker
disabled
type="date"
v-model="model.ledgrp.rec.opndat"
style="width: 100%"
placeholder="请选择日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Shipment Date" prop="ledgrp.rec.shpdat">
<c-date-picker
disabled
type="date"
v-model="model.ledgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24" >
<c-col :span="12">
<el-form-item label="Date/Place of Expiry" prop="ledgrp.rec.expdat">
<c-date-picker
disabled
type="date"
v-model="model.ledgrp.rec.expdat"
style="width: 100%"
placeholder="请选择日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label-width="5px" prop="ledgrp.rec.expplc">
<c-input disabled v-model="model.ledgrp.rec.expplc" style="width: 100%" placeholder="请输入地点">
</c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Form of L/C" prop="ledgrp.rec.lcrtyp">
<c-select
disabled
v-model="model.ledgrp.rec.lcrtyp"
dbCode="lcrtyp"
style="width: 100%"
placeholder="请选择类型">
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12" style="padding-left: 20px">
<c-col :span="24" class="fieldName">
<c-ptap
disabled
:disabledExtkey="true"
:argadr="{ title: 'Applicant', grp: 'ledgrp', rol: 'apl' }"
:haveAdrLabel="true"
:isAdrblk="true"
:disabledRef="true"
:model="model"
ptytyp="B" :isLabel120="false"></c-ptap>
</c-col>
<c-col :span="24" class="fieldName">
<c-ptap
disabled
:disabledExtkey="true"
:argadr="{ title: 'Iss. Bank', grp: 'ledgrp', rol: 'iss' }"
:haveAdrLabel="true"
:isAdrblk="true"
:disabledRef="true"
:model="model"
ptytyp="B" :isLabel120="false"></c-ptap>
</c-col>
<c-col :span="24" class="fieldName">
<c-ptap
disabled
:disabledExtkey="true"
:argadr="{ title: '受益人', grp: 'ledgrp', rol: 'ben' }"
:haveAdrLabel="true"
:isAdrblk="true"
:disabledRef="true"
:model="model"
ptytyp="B" :isLabel120="false"></c-ptap>
</c-col>
</c-col>
<c-col>
<el-form-item label="Other Transfers and Back to Back L/Cs using Above">
<c-table :border="true" :list="list">
<el-table-column label="Type" prop="type" width="100px" sortable> </el-table-column>
<el-table-column label="Reference" prop="ownref" width="140px" sortable> </el-table-column>
<el-table-column label="Cur." prop="cur" width="100px" sortable> </el-table-column>
<el-table-column label="Open Amount" prop="amt" width="150px" sortable> </el-table-column>
<el-table-column label="Shipm. dat" prop="shpdat" width="130px" sortable> </el-table-column>
<el-table-column label="Expired" prop="expdat" width="120px" sortable> </el-table-column>
<el-table-column label="Name" prop="nam" width="130px" sortable> </el-table-column>
<el-table-column label="Info" prop="balamt" width="130px" sortable> </el-table-column>
</c-table>
</el-form-item>
</c-col>
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24" class="custom-box-wrap">
<el-form-item label="This L/C" prop="ltdgrp.cbs.max.cur">
<c-select-cur
disabled
v-model="model.ltdgrp.cbs.max.cur"
style="width: 115px"
placeholder="请选择币种"
dbCode="curtxt"
sort="SRT">
</c-select-cur>
</el-form-item>
<div class="box-3">
<el-form-item label-width="5px" prop="ltdgrp.cbs.max.amt">
<c-input-currency
disabled
v-model="model.ltdgrp.cbs.max.amt"
:currency="model.ltdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请输入金额">
</c-input-currency>
</el-form-item>
</div>
</c-col>
<c-col :span="24" class="custom-box-wrap">
<el-form-item label="Total Amount" prop="ltdgrp.cbs.max.cur">
<c-select-cur
disabled
v-model="model.ltdgrp.cbs.max.cur"
style="width: 115px"
placeholder="请选择币种"
dbCode="curtxt"
sort="SRT">
</c-select-cur>
</el-form-item>
<div class="box-3">
<el-form-item label-width="5px" prop="lttp.totamt">
<c-input-currency disabled v-model="lttpTotamt" style="width: 100%" placeholder="请输入金额">
</c-input-currency>
</el-form-item>
</div>
</c-col>
</c-col>
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="Shipment Date" prop="ltdgrp.rec.shpdat">
<c-date-picker
type="date"
v-model="model.ltdgrp.rec.shpdat"
:disabled="this.model.ltdgrp.blk.shpper != null && this.model.ltdgrp.blk.shpper.trim() !=''"
style="width: 100%"
placeholder="请选择日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Expiry Date" prop="ltdgrp.rec.expdat">
<c-date-picker
disabled
type="date"
v-model="model.ltdgrp.rec.expdat"
style="width: 100%"
placeholder="请选择日期"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
import event from "../event";
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [event],
data() {
return {
list: [],
};
},
methods: {},
computed: {
lttpTotamt () {
// this.model.lttp.totamt = this.model.leltb2b.totamt + this.model.ltdgrp.cbs.opn1.amt;
this.model.ltdgrp.cbs.opn1.amt = this.model.ltdgrp.cbs.max.amt;
this.model.lttp.totamt = this.model.ltdgrp.cbs.opn1.amt;
return this.model.lttp.totamt;
},
},
created: function () {},
};
</script>
<style></style>