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
<template>
<c-row>
<!-- top -->
<c-col :span="24">
<c-col :span="11">
<el-form-item label="Transfer Reference" prop="ltdgrp.rec.ownref">
<c-input v-model="model.ltdgrp.rec.ownref" maxlength="16" placeholder="请输入Transfer Reference" style="width: 100%"
disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="L/C Reference" prop="ledgrp.rec.ownref">
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入L/C Reference" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="Doc. Set Reference" prop="btdgrp.rec.ownref">
<c-input v-model="model.btdgrp.rec.ownref" maxlength="16" placeholder="请输入Doc. Set Reference" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="11" :offset="1">
<el-form-item label="" prop="bttp.recget.sdamod.seainf">
<c-input v-model="model.bttp.recget.sdamod.seainf" placeholder="请输入" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- left -->
<c-col :span="11">
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Document Amount" prop="btdgrp.cbs.max.cur">
<c-select v-model="model.btdgrp.cbs.max.cur" style="width:100%" placeholder="请选择Document Amount币种" disabled>
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="65px" prop="btdgrp.cbs.max.amt">
<c-input v-model="model.btdgrp.cbs.max.amt" placeholder="请输入Document Amount" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="4" class="centerLable">
<c-checkbox v-model="model.bttp.aammod.addamtflg" disabled>Add. Amount</c-checkbox>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="8">
<el-form-item label="Open Amount" prop="btdgrp.cbs.opn1.cur">
<c-select v-model="model.btdgrp.cbs.max.cur" style="width:100%" placeholder="请选择Open Amount币种" disabled>
<el-option v-for="item in codes.cur" :key="item.value" :label="item.label" :value="item.value"></el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="65px" prop="btdgrp.cbs.opn1.cur">
<c-input v-model="model.btdgrp.cbs.opn1.cur" placeholder="请输入Open Amount" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="Document Type" prop="btdgrp.rec.doctypcod">
<c-input v-model="model.btdgrp.rec.doctypcod" maxlength="1" placeholder="请输入Document Type" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Maturity Date" prop="btdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.btdgrp.rec.matdat" style="width:100%" placeholder="请选择Maturity Date"
disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Presentation Date" prop="btdgrp.rec.predat">
<c-date-picker type="date" v-model="model.btdgrp.rec.predat" style="width:100%" placeholder="请选择Presentation Date"
disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Set Status" prop="btdgrp.rec.docsta">
<c-input v-model="model.btdgrp.rec.docsta" maxlength="40" placeholder="请输入Document Set Status" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-col :span="6">
<el-form-item label="Documents presented by 1st Beneficiary">
</el-form-item>
</c-col>
<c-col :span="18">
<c-edit-table :model="model" v-bind="ptsaddg">
<el-table-column label="操作" align="center">
<template slot-scope="scope">
<el-button size="mini" @click="handleEdit(scope.$index, scope.row)" type="primary">详情</el-button>
</template>
</el-table-column>
</c-edit-table>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="6">
<el-form-item label="Documents presented by 2nd Beneficiary">
</el-form-item>
</c-col>
<c-col :span="18">
<c-edit-table :model="model" v-bind="ptsaddg">
<el-table-column label="操作" align="center">
<template slot-scope="scope">
<el-button size="mini" @click="handleEdit(scope.$index, scope.row)" type="primary">详情</el-button>
</template>
</el-table-column>
</c-edit-table>
</c-col>
</c-col>
</c-col>
<!-- right -->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="1st Beneficiary" prop="btdgrp.be1.pts.ref">
<c-input v-model="model.btdgrp.be1.pts.ref" maxlength="16" placeholder="请输入1st Beneficiary" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.be1.pts.nam" label-width="0px">
<c-input v-model="model.btdgrp.be1.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="2nd Beneficiary" prop="btdgrp.be2.pts.ref">
<c-input v-model="model.btdgrp.be2.pts.ref" maxlength="16" placeholder="请输入2nd Beneficiary" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.be2.pts.nam" label-width="0px">
<c-input v-model="model.btdgrp.be2.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Presenting Bank" prop="btdgrp.prb.pts.ref">
<c-input v-model="model.btdgrp.prb.pts.ref" maxlength="16" placeholder="请输入Presenting Bank" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.prb.pts.nam" label-width="0px">
<c-input v-model="model.btdgrp.prb.pts.nam" maxlength="40" placeholder="请输入Name of Party" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Type" prop="btdgrp.rec.doctypcod">
<c-select v-model="model.btdgrp.rec.doctypcod" style="width:100%" placeholder="请选择Document Type">
</c-select>
</el-form-item>
<c-col :span="24">
<el-form-item label="Number of Utilizations" prop="ltdgrp.rec.utlnbr">
<c-input v-model="model.ltdgrp.rec.utlnbr" placeholder="请输入Number of Utilizations" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-checkbox v-model="model.btdgrp.rec.dscinsflg">Enter Docs, Discrep. and Instructions</c-checkbox>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Date of Receipt 1st Beneficiary" prop="btdgrp.rec.rcvdatbe1">
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe1" style="width:100%" placeholder="请选择Date of Receipt 1st Beneficiary"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Order Date 1st Beneficiary" prop="btdgrp.rec.orddatbe1">
<c-date-picker type="date" v-model="model.btdgrp.rec.orddatbe1" style="width:100%" placeholder="请选择Order Date 1st Beneficiary"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Date of Receipt 2nd Beneficiary" prop="btdgrp.rec.rcvdatbe2">
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe2" style="width:100%" placeholder="请选择Date of Receipt 2nd Beneficiary"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Order Date 2nd Beneficiary" prop="btdgrp.rec.orddatbe2">
<c-date-picker type="date" v-model="model.btdgrp.rec.orddatbe2" style="width:100%" placeholder="请选择Order Date 2nd Beneficiary"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="Date of Shipment" prop="btdgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.btdgrp.rec.shpdat" style="width:100%" placeholder="请选择Date of Shipment"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
</c-col>
</c-row>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bttdrv/Event"
export default {
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
ptsaddg: {
columns: [{
title: "1st",
width: "120px",
dataIndex: "ptyextkey1",
show: "input",
},
{
title: "2nd",
width: "180px",
dataIndex: "ptyextkey2",
show: "input",
},
{
title: "Document",
width: "300px",
dataIndex: "nam",
show: "select",
},
],
urls: "letp.ptsaddp.ptsaddg",
},
};
},
methods: {
...Event,
handleEdit() {
console.log("1111测试");
},
},
created: function() {
}
}
</script>
<style>
</style>