Mt103.vue 10 KB
Newer Older
fukai committed
1
<template>
liuxiaojing committed
2
  <div>
潘际乾 committed
3 4
		<c-col :span="12">
			<c-col :span="22">
liuxiaojing committed
5
				<el-form-item label="收款行账户行(56A)">
潘际乾 committed
6 7
					<c-col :span="24" class="m-inputbtn">
						<c-col class="m-inputbtn-input">
liuxin committed
8 9
							<c-input v-model="model.setmod.msgmod.rmt.pts.extkey" maxlength="32"  placeholder="请输入"></c-input>
							<!-- <c-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="search_rmtp_ptysel"></c-button> -->
liuyunfeng committed
10
							<c-ptypicker service="cptopn/rmtp_ptysel" flag="B" :ctx="model.setmod.msgmod.rmt.pts" :extkey="model.setmod.msgmod.rmt.pts.extkey"  />
潘际乾 committed
11 12
						</c-col>
					</c-col>
liuxiaojing committed
13
				</el-form-item>
潘际乾 committed
14
			</c-col>
liuxiaojing committed
15

潘际乾 committed
16
			<c-col :span="22" class="form-item">
liuxin committed
17
				<c-input
liuyunfeng committed
18
					v-model="model.setmod.msgmod.rmt.pts.adrblk"
liuxiaojing committed
19 20 21
					type="textarea"
					:rows="3"
					placeholder="">
liuxin committed
22
				</c-input>
潘际乾 committed
23
			</c-col>
liuxiaojing committed
24

潘际乾 committed
25
			<c-col :span="22">
liuxiaojing committed
26
				<el-form-item label="账号">
liuxin committed
27
					<c-input  v-model="model.setmod.msgmod.rmt.pts.extact" maxlength="32"  placeholder="请输入"></c-input>
liuxiaojing committed
28
				</el-form-item>
潘际乾 committed
29
			</c-col>
liuxiaojing committed
30

潘际乾 committed
31
			<c-col :span="22">
liuxiaojing committed
32
				<el-form-item label="发报行代理行(53A)">
潘际乾 committed
33 34
					<c-col :span="24" class="m-inputbtn">
						<c-col class="m-inputbtn-input">
liuxin committed
35 36
							<c-input v-model="model.setmod.msgmod.ori.pts.extkey" maxlength="32"  placeholder="请输入"></c-input>
							<!-- <c-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="search_orip_ptysel"></c-button> -->
liuyunfeng committed
37
							<c-ptypicker service="cptopn/orip_ptysel" flag="B" :ctx="model.setmod.msgmod.ori.pts" :extkey="model.setmod.msgmod.ori.pts.extkey"  />
潘际乾 committed
38 39
						</c-col>
					</c-col>
liuxiaojing committed
40
				</el-form-item>
潘际乾 committed
41
			</c-col>
liuxiaojing committed
42

潘际乾 committed
43
			<c-col :span="22" class="form-item">
liuxin committed
44
				<c-input
liuyunfeng committed
45
					v-model="model.setmod.msgmod.ori.pts.adrblk"
liuxiaojing committed
46 47 48
					type="textarea"
					:rows="3"
					placeholder="">
liuxin committed
49
				</c-input>
潘际乾 committed
50
			</c-col>
liuxiaojing committed
51

潘际乾 committed
52
			<c-col :span="22">
liuxiaojing committed
53
				<el-form-item label="收报行代理行(54A)">
潘际乾 committed
54 55
					<c-col :span="24" class="m-inputbtn">
						<c-col class="m-inputbtn-input">
liuxin committed
56 57
							<c-input v-model="model.setmod.msgmod.acs.pts.extkey" maxlength="32"  placeholder="请输入"></c-input>
							<!-- <c-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="search_acsp_ptysel"></c-button> -->
liuyunfeng committed
58
							<c-ptypicker service="cptopn/acsp_ptysel" flag="B" :ctx="model.setmod.msgmod.acs.pts" :extkey="model.setmod.msgmod.acs.pts.extkey"  />
潘际乾 committed
59 60
						</c-col>
					</c-col>
liuxiaojing committed
61
				</el-form-item>
潘际乾 committed
62
			</c-col>
liuxiaojing committed
63

潘际乾 committed
64
			<c-col :span="22" class="form-item">
liuxin committed
65
				<c-input
liuyunfeng committed
66
					v-model="model.setmod.msgmod.acs.pts.adrblk"
liuxiaojing committed
67 68 69
					type="textarea"
					:rows="3"
					placeholder="">
liuxin committed
70
				</c-input>
潘际乾 committed
71
			</c-col>
liuxiaojing committed
72

潘际乾 committed
73
			<c-col :span="22">
liuxiaojing committed
74
				<el-form-item label="收报代理行账号">
liuxin committed
75
					<c-input  v-model="model.setmod.msgmod.acs.pts.extact" maxlength="32"  placeholder="请输入"></c-input>
liuxiaojing committed
76
				</el-form-item>
潘际乾 committed
77
			</c-col>
liuxiaojing committed
78

潘际乾 committed
79
			<c-col :span="22">
liuxiaojing committed
80
				<el-form-item label="扣款币种">
潘际乾 committed
81 82
					<c-col :span="24">
						<c-col :span="12" class="m-cur-select">
liuxin committed
83
							<c-select v-model="model.setmod.msgmod.curf33b" style="width:100%" placeholder="请选择汇款币种金额">
liuxiaojing committed
84 85 86 87 88 89
								<el-option
									v-for="item in codes.curtxt"
									:key="item.value"
									:label="item.label"
									:value="item.value">
								</el-option>
liuxin committed
90
							</c-select>
潘际乾 committed
91 92
						</c-col>
						<c-col :span="12">
liuxin committed
93
							<c-input v-model="model.setmod.msgmod.amtf33b" :precision="2" :step="0.1" :max="100000000000000" placeholder="请输入汇款币种金额"></c-input>
潘际乾 committed
94 95
						</c-col>
					</c-col>
liuxiaojing committed
96
				</el-form-item>
潘际乾 committed
97
			</c-col>
liuxiaojing committed
98

潘际乾 committed
99
			<c-col :span="22">
liuxiaojing committed
100
				<el-form-item label="费用承担方">
liuxin committed
101
					<c-select v-model="model.setmod.msgmod.chato" style="width:100%" placeholder="请选择">
liuxiaojing committed
102 103 104 105 106 107
						<el-option
							v-for="item in codes.chato"
							:key="item.value"
							:label="item.label"
							:value="item.value">
						</el-option>
liuxin committed
108
					</c-select>
liuxiaojing committed
109
				</el-form-item>
潘际乾 committed
110
			</c-col>
liuxiaojing committed
111

潘际乾 committed
112
			<c-col :span="22">
liuxiaojing committed
113
				<el-form-item label="汇款信息(70)">
liuxin committed
114
					<c-input
liuyunfeng committed
115
						v-model="model.setmod.msgmod.contag70"
liuxiaojing committed
116 117 118
						type="textarea"
						:rows="3"
						placeholder="">
liuxin committed
119
					</c-input>
liuxiaojing committed
120
				</el-form-item>
潘际乾 committed
121 122
			</c-col>
		</c-col>
liuxiaojing committed
123

潘际乾 committed
124 125
		<c-col :span="12">
			<c-col :span="22">
liuxiaojing committed
126
				<el-form-item label="收款人开户行(57A)">
潘际乾 committed
127 128
					<c-col :span="24" class="m-inputbtn">
						<c-col class="m-inputbtn-input">
liuxin committed
129 130
							<c-input v-model="model.setmod.msgmod.pyb.pts.extkey" maxlength="32"  placeholder="请输入"></c-input>
							<!-- <c-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="search_pybp_ptysel"></c-button> -->
liuyunfeng committed
131
							<c-ptypicker service="cptopn/pybp_ptysel" flag="B" :ctx="model.setmod.msgmod.pyb.pts" :extkey="model.setmod.msgmod.pyb.pts.extkey"  />
潘际乾 committed
132 133
						</c-col>
					</c-col>
liuxiaojing committed
134
				</el-form-item>
潘际乾 committed
135
			</c-col>
liuxiaojing committed
136

潘际乾 committed
137
			<c-col :span="22" class="form-item">
liuxin committed
138
				<c-input
liuyunfeng committed
139
					v-model="model.setmod.msgmod.pyb.pts.adrblk"
liuxiaojing committed
140 141 142
					type="textarea"
					:rows="3"
					placeholder="">
liuxin committed
143
				</c-input>
潘际乾 committed
144
			</c-col>
liuxiaojing committed
145

潘际乾 committed
146
			<c-col :span="22">
liuxiaojing committed
147
				<el-form-item label="账号">
liuxin committed
148
					<c-input  v-model="model.setmod.msgmod.pyb.pts.extact" maxlength="32"  placeholder="请输入"></c-input>
liuxiaojing committed
149
				</el-form-item>
潘际乾 committed
150
			</c-col>
liuxiaojing committed
151

潘际乾 committed
152
			<c-col :span="22">
liuxiaojing committed
153
				<el-form-item label="收报行">
潘际乾 committed
154 155
					<c-col :span="24" class="m-inputbtn">
						<c-col class="m-inputbtn-input">
liuxin committed
156 157
							<c-input v-model="model.setmod.msgmod.snd.pts.extkey" maxlength="32"  placeholder="请输入"></c-input>
							<!-- <c-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="search_sndp_ptysel"></c-button> -->
liuyunfeng committed
158
							<c-ptypicker service="cptopn/sndp_ptysel" flag="B" :ctx="model.setmod.msgmod.snd.pts" :extkey="model.setmod.msgmod.snd.pts.extkey"  />
潘际乾 committed
159 160
						</c-col>
					</c-col>
liuxiaojing committed
161
				</el-form-item>
潘际乾 committed
162
			</c-col>
liuxiaojing committed
163

潘际乾 committed
164
			<c-col :span="22" class="form-item">
liuxin committed
165
				<c-input
liuyunfeng committed
166
					v-model="model.setmod.msgmod.snd.pts.adrblk"
liuxiaojing committed
167 168 169
					type="textarea"
					:rows="3"
					placeholder="">
liuxin committed
170
				</c-input>
潘际乾 committed
171
			</c-col>
liuxiaojing committed
172

潘际乾 committed
173
			<c-col :span="22">
liuxiaojing committed
174
				<el-form-item label="收款人(59)">
潘际乾 committed
175 176
					<c-col :span="24" class="m-inputbtn">
						<c-col class="m-inputbtn-input">
liuxin committed
177 178
							<c-input v-model="model.setmod.msgmod.pye.pts.extkey" maxlength="32"  placeholder="请输入"></c-input>
							<!-- <c-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="search_pyep_ptysel"></c-button> -->
liuyunfeng committed
179
							<c-ptypicker service="cptopn/pyep_ptysel" flag="C" :ctx="model.setmod.msgmod.pye.pts" :extkey="model.setmod.msgmod.pye.pts.extkey"  />
潘际乾 committed
180 181
						</c-col>
					</c-col>
liuxiaojing committed
182
				</el-form-item>
潘际乾 committed
183
			</c-col>
liuxiaojing committed
184

潘际乾 committed
185
			<c-col :span="22" class="form-item">
liuxin committed
186
				<c-input
liuyunfeng committed
187
					v-model="model.setmod.msgmod.pye.pts.adrblk"
liuxiaojing committed
188 189 190
					type="textarea"
					:rows="3"
					placeholder="">
liuxin committed
191
				</c-input>
潘际乾 committed
192
			</c-col>
liuxiaojing committed
193

潘际乾 committed
194
			<c-col :span="22">
liuxiaojing committed
195
				<el-form-item label="收款人账号">
liuxin committed
196
					<c-input  v-model="model.setmod.msgmod.pye.pts.extact" maxlength="32"  placeholder="请输入"></c-input>
liuxiaojing committed
197
				</el-form-item>
潘际乾 committed
198
			</c-col>
liuxiaojing committed
199

潘际乾 committed
200
			<c-col :span="22">
liuxiaojing committed
201
				<el-form-item label="汇率">
liuxin committed
202
					<c-input v-model="model.cpdgrp.rec.f36" maxlength="32"  placeholder="请输入"></c-input>
liuxiaojing committed
203
				</el-form-item>
潘际乾 committed
204
			</c-col>
liuxiaojing committed
205

潘际乾 committed
206
			<c-col :span="22">
liuxiaojing committed
207
				<el-form-item label="起息日">
208
					<c-date-picker
liuxiaojing committed
209 210 211 212
						v-model="model.setmod.msgmod.valdat"
						type="date"
						placeholder="选择日期"
						>
213
					</c-date-picker>
liuxiaojing committed
214
				</el-form-item>
潘际乾 committed
215
			</c-col>
liuxiaojing committed
216

潘际乾 committed
217
			<c-col :span="22">
liuxiaojing committed
218
				<el-form-item label="报文附言(72)">
liuxin committed
219
					<c-input
liuyunfeng committed
220
						v-model="model.setmod.msgmod.contag72"
liuxiaojing committed
221 222 223
						type="textarea"
						:rows="3"
						placeholder="">
liuxin committed
224
					</c-input>
liuxiaojing committed
225
				</el-form-item>
潘际乾 committed
226 227
			</c-col>
		</c-col>
liuxiaojing committed
228 229

	</div>
fukai committed
230 231
</template>
<script>
liuyunfeng committed
232
import Api from "~/service/Api"
wangren committed
233
import commonProcess from "~/mixin/commonProcess"
liuyunfeng committed
234 235
import Utils from "~/utils"

fukai committed
236
export default {
237
	inject: ['root'],
wangren committed
238
	mixins: [commonProcess],
liuxiaojing committed
239 240
	props:['model', 'codes'],
	methods: {
liuyunfeng committed
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
		async search_rmtp_ptysel () {
			console.log('搜索收款行账户行')
			//弹窗选择账户行
			const rtnmsg = await Api.post('cptopn/rmtp_ptysel', { data: Utils.flatObject(this.model) ,params:{flg:"B"}})
			if (rtnmsg.code == SUCCESS) {
				// Utils.copyValueFromVO(this.model,rtnmsg.data)
			}
			else {
				this.$notify.error({title: '错误',message: '服务请求失败!'})
			}
		},
		async search_pybp_ptysel () {
			console.log('搜索收款人开户行')
			//弹窗选择账户行
			const rtnmsg = await Api.post('cptopn/pybp_ptysel', { data: Utils.flatObject(this.model) ,params:{flg:"B"}})
			if (rtnmsg.code == SUCCESS) {
				// Utils.copyValueFromVO(this.model,rtnmsg.data)
			}
			else {
				this.$notify.error({title: '错误',message: '服务请求失败!'})
			}
		},
		async search_orip_ptysel () {
			console.log('搜索发报行代理行')
			//弹窗选择账户行
			const rtnmsg = await Api.post('cptopn/orip_ptysel', { data: Utils.flatObject(this.model) ,params:{flg:"B"}})
			if (rtnmsg.code == SUCCESS) {
				// Utils.copyValueFromVO(this.model,rtnmsg.data)
			}
			else {
				this.$notify.error({title: '错误',message: '服务请求失败!'})
			}
		},
		async search_sndp_ptysel () {
			console.log('搜索收报行')
			//弹窗选择账户行
			const rtnmsg = await Api.post('cptopn/sndp_ptysel', { data: Utils.flatObject(this.model) ,params:{flg:"B"}})
			if (rtnmsg.code == SUCCESS) {
				// Utils.copyValueFromVO(this.model,rtnmsg.data)
			}
			else {
				this.$notify.error({title: '错误',message: '服务请求失败!'})
			}
		},
		async search_acsp_ptysel () {
			console.log('搜索收报行代理行')
			//弹窗选择账户行
			const rtnmsg = await Api.post('cptopn/acsp_ptysel', { data: Utils.flatObject(this.model) ,params:{flg:"B"}})
			if (rtnmsg.code == SUCCESS) {
				// Utils.copyValueFromVO(this.model,rtnmsg.data)
			}
			else {
				this.$notify.error({title: '错误',message: '服务请求失败!'})
			}
		},
		async search_pyep_ptysel () {
			console.log('搜索收款人')
			//弹窗选择账户行
			const rtnmsg = await Api.post('cptopn/pyep_ptysel', { data: Utils.flatObject(this.model) ,params:{flg:"B"}})
			if (rtnmsg.code == SUCCESS) {
				// Utils.copyValueFromVO(this.model,rtnmsg.data)
			}
			else {
				this.$notify.error({title: '错误',message: '服务请求失败!'})
			}
liuxiaojing committed
306 307
		}
	}
fukai committed
308 309 310
}
</script>

liuxiaojing committed
311 312 313 314
<style scope>
.form-item {
	padding-bottom: 10px;
}
fukai committed
315
</style>