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
<template>
<c-row>
<!-- =================顶部====================== -->
<c-col :span="24">
<c-col :span="12">
<c-col :span="20">
<el-form-item label="Collection Number" prop="bcdgrp.rec.ownref" style="width: 100%">
<c-input v-model="model.bcdgrp.rec.ownref" maxlength="16" placeholder="请输入Collection Number"
style="width: 95%" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<c-button style="margin:0 10px 0 0;padding: 0 10px;" size="small" type="primary"
icon="el-icon-search" @click="onSeainf">
</c-button>
</c-col>
</c-col>
<c-col :span="12">
<el-form-item label="Name" prop="bcdgrp.rec.nam" style="width: 100%">
<c-input v-model="model.bcdgrp.rec.nam" maxlength="40" style="width: 100%" disabled></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ====================左边======================= -->
<c-col :span="12">
<c-col :span="12">
<el-form-item label="Document Amount" prop="bcdgrp.cbs.max.cur">
<c-input v-model="model.bcdgrp.cbs.max.cur" style="width:90%" placeholder="请选择Document Amount"
disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item style="text-align: left" label-width="0" prop="bcdgrp.cbs.max.amt">
<c-input v-model="model.bcdgrp.cbs.max.amt" style="text-align: left; width: 90%" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Open Amount" prop="bcdgrp.cbs.opn1.cur">
<c-input v-model="model.bcdgrp.cbs.opn1.cur" style="width:90%" placeholder="请选择Open Amount"
disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item style="text-align: left" label-width="0" prop="bcdgrp.cbs.opn1.amt">
<c-input v-model="model.bcdgrp.cbs.opn1.amt" style="text-align: left; width: 90%" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Docs Received on" prop="bcdgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.rcvdat" style="width:80%"
value-format="yyyy-MM-dd" placeholder="请选择Docs Received on" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Advised on" prop="bcdgrp.rec.advdat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.advdat" style="width:80%"
value-format="yyyy-MM-dd" placeholder="请选择Advised on" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Maturity Date" prop="bcdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.matdat" style="width:80%"
value-format="yyyy-MM-dd" placeholder="请选择Maturity Date" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Remitted on" prop="bcdgrp.rec.predat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.predat" style="width:80%"
value-format="yyyy-MM-dd" placeholder="请选择Remitted on" disabled></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Payment Condition" prop="bcdgrp.rec.doctypcod">
<c-input v-model="model.bcdgrp.rec.doctypcod" style="width:93%" placeholder="请选择Payment Condition"
disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Document Set Status" prop="bcdgrp.rec.docsta">
<c-input v-model="model.bcdgrp.rec.docsta" style="width:93%" placeholder="请输入Document Set Status"
disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="20">
<el-form-item label="Instructions for Second Mail" prop="bcdgrp.blk.colinssnm">
<c-input type="textarea" v-model="model.bcdgrp.blk.colinssnm" maxlength="60" show-word-limit
placeholder="请输入Instructions for Second Mail"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
<c-button size="small" type="primary" icon="el-icon-search" @click="onColinssnmButtxmsel">
...
</c-button>
</c-col>
<c-col :span="24">
<c-edit-table :model="model" v-bind="docgrd">
</c-edit-table>
</c-col>
</c-col>
<!-- ====================右边======================= -->
<c-col :span="12">
<c-col :span="24">
<el-form-item style="text-align: right" label="Drawee Ref." prop="bcdgrp.dre.pts.ref">
<c-input v-model="model.bcdgrp.dre.pts.ref" maxlength="16" style="width: 50%" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item prop="bcdgrp.dre.pts.nam">
<c-input v-model="model.bcdgrp.dre.pts.nam" maxlength="40" style="width: 100%" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item style="text-align: right" label="Remitting Bank Ref." prop="bcdgrp.rmi.pts.ref">
<c-input v-model="model.bcdgrp.rmi.pts.ref" maxlength="16" style="width: 50%" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item prop="bcdgrp.rmi.pts.nam">
<c-input v-model="model.bcdgrp.rmi.pts.nam" maxlength="40" style="width: 100%" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item style="text-align: right" label="Drawer Ref." prop="bcdgrp.drr.pts.ref">
<c-input v-model="model.bcdgrp.drr.pts.ref" maxlength="16" style="width: 50%" disabled>
</c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item prop="bcdgrp.drr.pts.ref">
<c-input v-model="model.bcdgrp.drr.pts.ref" maxlength="40" style="width: 100%" disabled></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap :model="model" :argadr="{
title: '2nd Collecting Bank',
grp: 'bcdgrp',
rol: 'co2',
}" :disabled="true" :isAdrblk="false" @onSeainf="onSeainf" @onAplpDet="onCo2pDet">
</c-ptap>
</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/Bctrad/Event"
import Ptap from "~/views/Public/Ptap";
export default {
components: {
"c-ptap": Ptap
},
inject: ['root'],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {
docgrd: {
columns: [{
title: "lst1",
width: "80px",
dataIndex: "cmail1",
show: "input",
},
{
title: "2nd",
width: "80px",
dataIndex: "cmail2",
show: "input",
},
{
title: "Document",
width: "320px",
dataIndex: "docnam",
show: "input",
},
],
urls: "bctp.docgrdm.docgrd",
},
}
},
methods: {
...Event
},
created: function () {
}
}
</script>
<style>
</style>