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

潘际乾 committed
18 19
			<c-col :span="12">
				<c-col :span="22">
liuxiaojing committed
20
					<el-form-item label="收款行(58A)">
潘际乾 committed
21 22
						<c-col :span="24" class="m-inputbtn">
							<c-col class="m-inputbtn-input">
liuxin committed
23
								<c-input v-model="model.setmod.msgmod.med.pts.extkey" maxlength="32"  placeholder="请输入"></c-input>
潘际乾 committed
24
							</c-col>
liuyunfeng committed
25
							<c-ptypicker service="cptopn/medp_ptysel" flag="B" :ctx="model.setmod.msgmod.med.pts" :extkey="model.setmod.msgmod.med.pts.extkey"  />
liuxin committed
26
							<!-- <c-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="search_medp_ptysel"></c-button> -->
潘际乾 committed
27
						</c-col>
liuxiaojing committed
28
					</el-form-item>
潘际乾 committed
29 30 31
				</c-col>
			</c-col>
		</c-col>
liuxiaojing committed
32

潘际乾 committed
33 34 35
		<c-col :span="24">
			<c-col :span="12">
				<c-col :span="22" class="form-item">
liuxin committed
36
				<c-input
liuyunfeng committed
37
					v-model="model.setmod.msgmod.ori.pts.adrblk"
liuxiaojing committed
38 39 40
					type="textarea"
					:rows="3"
					placeholder="">
liuxin committed
41
				</c-input>
潘际乾 committed
42 43 44 45
			</c-col>
			</c-col>
			<c-col :span="12">
				<c-col :span="22" class="form-item">
liuxin committed
46
				<c-input
liuyunfeng committed
47
				v-model="model.setmod.msgmod.med.pts.adrblk"
liuxiaojing committed
48 49 50
					type="textarea"
					:rows="3"
					placeholder="">
liuxin committed
51
				</c-input>
潘际乾 committed
52 53 54
			</c-col>
			</c-col>
		</c-col>
liuxiaojing committed
55

潘际乾 committed
56 57 58
		<c-col :span="24">
			<c-col :span="12">
				<c-col :span="22">
liuxiaojing committed
59
					<el-form-item label="中间行(56A)">
潘际乾 committed
60 61
						<c-col :span="24" class="m-inputbtn">
							<c-col class="m-inputbtn-input">
liuxin committed
62
								<c-input v-model="model.setmod.msgmod.rmt.pts.extkey" maxlength="32"  placeholder="请输入"></c-input>
潘际乾 committed
63
							</c-col>
liuyunfeng committed
64
							<c-ptypicker service="cptopn/rmtp_ptysel" flag="B" :ctx="model.setmod.msgmod.rmt.pts" :extkey="model.setmod.msgmod.rmt.pts.extkey"  />
liuxin committed
65
							<!-- <c-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="search_rmtp_ptysel"></c-button> -->
潘际乾 committed
66
						</c-col>
liuxiaojing committed
67
					</el-form-item>
潘际乾 committed
68 69 70 71
				</c-col>
			</c-col>
			<c-col :span="12">
				<c-col :span="22">
liuxiaojing committed
72
					<el-form-item label="收款行账户行(57A)">
潘际乾 committed
73 74
						<c-col :span="24" class="m-inputbtn">
							<c-col class="m-inputbtn-input">
liuxin committed
75
								<c-input v-model="model.setmod.msgmod.pyb.pts.extkey" maxlength="32"  placeholder="请输入"></c-input>
潘际乾 committed
76
							</c-col>
liuyunfeng committed
77
							<c-ptypicker service="cptopn/pybp_ptysel" flag="B" :ctx="model.setmod.msgmod.pyb.pts" :extkey="model.setmod.msgmod.pyb.pts.extkey"  />
liuxin committed
78
							<!-- <c-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="search_pybp_ptysel"></c-button> -->
潘际乾 committed
79
						</c-col>
liuxiaojing committed
80
					</el-form-item>
潘际乾 committed
81 82 83
				</c-col>
			</c-col>
		</c-col>
liuxiaojing committed
84

潘际乾 committed
85 86 87
		<c-col :span="24">
			<c-col :span="12">
				<c-col :span="22" class="form-item">
liuxin committed
88
				<c-input
liuyunfeng committed
89
					v-model="model.setmod.msgmod.rmt.pts.adrblk"
liuxiaojing committed
90 91 92
					type="textarea"
					:rows="3"
					placeholder="">
liuxin committed
93
				</c-input>
潘际乾 committed
94 95 96 97
			</c-col>
			</c-col>
			<c-col :span="12">
				<c-col :span="22" class="form-item">
liuxin committed
98
				<c-input
liuyunfeng committed
99
					v-model="model.setmod.msgmod.pyb.pts.adrblk"
liuxiaojing committed
100 101 102
					type="textarea"
					:rows="3"
					placeholder="">
liuxin committed
103
				</c-input>
潘际乾 committed
104 105 106
			</c-col>
			</c-col>
		</c-col>
liuxiaojing committed
107

潘际乾 committed
108 109 110
		<c-col :span="24">
			<c-col :span="12">
				<c-col :span="22">
liuxiaojing committed
111
					<el-form-item label="账号">
liuxin committed
112
						<c-input  v-model="model.setmod.msgmod.rmt.pts.extact" maxlength="32"  placeholder="请输入"></c-input>
liuxiaojing committed
113
					</el-form-item>
潘际乾 committed
114 115 116 117
				</c-col>
			</c-col>
			<c-col :span="12">
				<c-col :span="22">
liuxiaojing committed
118
					<el-form-item label="账号">
liuxin committed
119
						<c-input  v-model="model.setmod.msgmod.pyb.pts.extact" maxlength="32"  placeholder="请输入"></c-input>
liuxiaojing committed
120
					</el-form-item>
潘际乾 committed
121 122 123
				</c-col>
			</c-col>
		</c-col>
liuxiaojing committed
124

潘际乾 committed
125 126 127
		<c-col :span="24">
			<c-col :span="12">
				<c-col :span="22">
liuxiaojing committed
128
					<el-form-item label="报文附言(72)">
liuxin committed
129
						<c-input
liuxiaojing committed
130 131 132 133
							type="textarea"
							:rows="3"
							placeholder=""
							v-model="model.setmod.msgmod.tag20272">
liuxin committed
134
						</c-input>
liuxiaojing committed
135
					</el-form-item>
潘际乾 committed
136 137 138 139
				</c-col>
			</c-col>
			<c-col :span="12">
				<c-col :span="22">
liuxiaojing committed
140
					<el-form-item label="收款行账号">
潘际乾 committed
141 142
						<c-col :span="24" class="m-inputbtn">
							<c-col class="m-inputbtn-input">
liuxin committed
143
								<c-input  v-model="model.setmod.msgmod.med.pts.extact" maxlength="32"  placeholder="请输入"></c-input>
潘际乾 committed
144
							</c-col>
liuxin committed
145
							<c-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="handleSearch"></c-button>
潘际乾 committed
146
						</c-col>
liuxiaojing committed
147
					</el-form-item>
潘际乾 committed
148 149 150
				</c-col>
			</c-col>
		</c-col>
liuxiaojing committed
151
	</div>
fukai committed
152 153
</template>
<script>
liuyunfeng committed
154
import Api from "~/service/Api"
wangren committed
155
import commonProcess from "~/mixin/commonProcess"
liuyunfeng committed
156 157
import Utils from "~/utils"

fukai committed
158
export default {
159
	inject: ['root'],
wangren committed
160
	mixins: [commonProcess],
liuxiaojing committed
161 162
	props:['model', 'codes'],
	methods: {
liuyunfeng committed
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
		async search_orip_ptysel () {
			console.log('搜索收报行')
		//cptopn/orip_ptysel
			let rtnmsg = await Api.post("cptopn/orip_ptysel",{data:Utils.flatObject(this.model)})
			if(rtnmsg.code == SUCCESS)
			{
				Utils.copyValueFromVO(this.model,rtnmsg.data)
			}
			else
			{
				this.$notify.error({title: '错误',message: '服务请求失败!'});
			}
		},
		async search_medp_ptysel () {
			console.log('搜索收款行')
		//cptopn/orip_ptysel
			let rtnmsg = await Api.post("cptopn/medp_ptysel",{data:Utils.flatObject(this.model)})
			if(rtnmsg.code == SUCCESS)
			{
				Utils.copyValueFromVO(this.model,rtnmsg.data)
			}
			else
			{
				this.$notify.error({title: '错误',message: '服务请求失败!'});
			}
		},
		async search_rmtp_ptysel () {
			console.log('搜索中间行')
		//cptopn/orip_ptysel
			let rtnmsg = await Api.post("cptopn/rmtp_ptysel",{data:Utils.flatObject(this.model)})
			if(rtnmsg.code == SUCCESS)
			{
				Utils.copyValueFromVO(this.model,rtnmsg.data)
			}
			else
			{
				this.$notify.error({title: '错误',message: '服务请求失败!'});
			}
liuxiaojing committed
201
		},
liuyunfeng committed
202 203 204 205 206 207 208 209 210 211 212 213 214
		async search_pybp_ptysel () {
			console.log('搜索收款行账户行')
		//cptopn/orip_ptysel
			let rtnmsg = await Api.post("cptopn/pybp_ptysel",{data:Utils.flatObject(this.model)})
			if(rtnmsg.code == SUCCESS)
			{
				Utils.copyValueFromVO(this.model,rtnmsg.data)
			}
			else
			{
				this.$notify.error({title: '错误',message: '服务请求失败!'});
			}
		}
liuxiaojing committed
215
	}
fukai committed
216
}
liuxiaojing committed
217
</script>