Mt202.vue 6.45 KB
Newer Older
fukai committed
1
<template>
liuxiaojing committed
2 3 4 5 6 7 8
  <div>
		<el-col :span="24">
			<el-col :span="12">
				<el-col :span="22">
					<el-form-item label="收报行(我行账户行)">
						<el-col :span="24" class="m-inputbtn">
							<el-col class="m-inputbtn-input">
liuxin committed
9
								<c-input v-model="model.setmod.msgmod.ori.pts.extkey" maxlength="32"  placeholder="请输入"></c-input>
liuxiaojing committed
10
							</el-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> -->
liuxiaojing committed
13 14 15 16 17 18 19 20 21 22
						</el-col>
					</el-form-item>
				</el-col>
			</el-col>

			<el-col :span="12">
				<el-col :span="22">
					<el-form-item label="收款行(58A)">
						<el-col :span="24" class="m-inputbtn">
							<el-col class="m-inputbtn-input">
liuxin committed
23
								<c-input v-model="model.setmod.msgmod.med.pts.extkey" maxlength="32"  placeholder="请输入"></c-input>
liuxiaojing committed
24
							</el-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> -->
liuxiaojing committed
27 28 29 30 31 32 33 34 35
						</el-col>
					</el-form-item>
				</el-col>
			</el-col>
		</el-col>

		<el-col :span="24">
			<el-col :span="12">
				<el-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>
liuxiaojing committed
42 43 44 45
			</el-col>
			</el-col>
			<el-col :span="12">
				<el-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>
liuxiaojing committed
52 53 54 55 56 57 58 59 60 61
			</el-col>
			</el-col>
		</el-col>

		<el-col :span="24">
			<el-col :span="12">
				<el-col :span="22">
					<el-form-item label="中间行(56A)">
						<el-col :span="24" class="m-inputbtn">
							<el-col class="m-inputbtn-input">
liuxin committed
62
								<c-input v-model="model.setmod.msgmod.rmt.pts.extkey" maxlength="32"  placeholder="请输入"></c-input>
liuxiaojing committed
63
							</el-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> -->
liuxiaojing committed
66 67 68 69 70 71 72 73 74
						</el-col>
					</el-form-item>
				</el-col>
			</el-col>
			<el-col :span="12">
				<el-col :span="22">
					<el-form-item label="收款行账户行(57A)">
						<el-col :span="24" class="m-inputbtn">
							<el-col class="m-inputbtn-input">
liuxin committed
75
								<c-input v-model="model.setmod.msgmod.pyb.pts.extkey" maxlength="32"  placeholder="请输入"></c-input>
liuxiaojing committed
76
							</el-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> -->
liuxiaojing committed
79 80 81 82 83 84 85 86 87
						</el-col>
					</el-form-item>
				</el-col>
			</el-col>
		</el-col>

		<el-col :span="24">
			<el-col :span="12">
				<el-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>
liuxiaojing committed
94 95 96 97
			</el-col>
			</el-col>
			<el-col :span="12">
				<el-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>
liuxiaojing committed
104 105 106 107 108 109 110 111
			</el-col>
			</el-col>
		</el-col>

		<el-col :span="24">
			<el-col :span="12">
				<el-col :span="22">
					<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 114 115 116 117 118
					</el-form-item>
				</el-col>
			</el-col>
			<el-col :span="12">
				<el-col :span="22">
					<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 121 122 123 124 125 126 127 128
					</el-form-item>
				</el-col>
			</el-col>
		</el-col>

		<el-col :span="24">
			<el-col :span="12">
				<el-col :span="22">
					<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 136 137 138 139 140 141 142
					</el-form-item>
				</el-col>
			</el-col>
			<el-col :span="12">
				<el-col :span="22">
					<el-form-item label="收款行账号">
						<el-col :span="24" class="m-inputbtn">
							<el-col class="m-inputbtn-input">
liuxin committed
143
								<c-input  v-model="model.setmod.msgmod.med.pts.extact" maxlength="32"  placeholder="请输入"></c-input>
liuxiaojing committed
144
							</el-col>
liuxin committed
145
							<c-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="handleSearch"></c-button>
liuxiaojing committed
146 147 148 149 150 151
						</el-col>
					</el-form-item>
				</el-col>
			</el-col>
		</el-col>
	</div>
fukai committed
152 153
</template>
<script>
liuyunfeng committed
154 155 156
import Api from "~/service/Api"
import Utils from "~/utils"

fukai committed
157
export default {
liuxiaojing committed
158 159
	props:['model', 'codes'],
	methods: {
liuyunfeng committed
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
		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
198
		},
liuyunfeng committed
199 200 201 202 203 204 205 206 207 208 209 210 211
		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
212
	}
fukai committed
213
}
liuxiaojing committed
214
</script>