<template> <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"> <c-input v-model="model.setmod.msgmod.ori.pts.extkey" maxlength="32" placeholder="请输入"></c-input> </el-col> <c-ptypicker service="cptopn/orip_ptysel" flag="B" :ctx="model.setmod.msgmod.ori.pts" :extkey="model.setmod.msgmod.ori.pts.extkey" /> <!-- <c-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="search_orip_ptysel"></c-button> --> </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"> <c-input v-model="model.setmod.msgmod.med.pts.extkey" maxlength="32" placeholder="请输入"></c-input> </el-col> <c-ptypicker service="cptopn/medp_ptysel" flag="B" :ctx="model.setmod.msgmod.med.pts" :extkey="model.setmod.msgmod.med.pts.extkey" /> <!-- <c-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="search_medp_ptysel"></c-button> --> </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"> <c-input v-model="model.setmod.msgmod.ori.pts.adrblk" type="textarea" :rows="3" placeholder=""> </c-input> </el-col> </el-col> <el-col :span="12"> <el-col :span="22" class="form-item"> <c-input v-model="model.setmod.msgmod.med.pts.adrblk" type="textarea" :rows="3" placeholder=""> </c-input> </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"> <c-input v-model="model.setmod.msgmod.rmt.pts.extkey" maxlength="32" placeholder="请输入"></c-input> </el-col> <c-ptypicker service="cptopn/rmtp_ptysel" flag="B" :ctx="model.setmod.msgmod.rmt.pts" :extkey="model.setmod.msgmod.rmt.pts.extkey" /> <!-- <c-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="search_rmtp_ptysel"></c-button> --> </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"> <c-input v-model="model.setmod.msgmod.pyb.pts.extkey" maxlength="32" placeholder="请输入"></c-input> </el-col> <c-ptypicker service="cptopn/pybp_ptysel" flag="B" :ctx="model.setmod.msgmod.pyb.pts" :extkey="model.setmod.msgmod.pyb.pts.extkey" /> <!-- <c-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="search_pybp_ptysel"></c-button> --> </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"> <c-input v-model="model.setmod.msgmod.rmt.pts.adrblk" type="textarea" :rows="3" placeholder=""> </c-input> </el-col> </el-col> <el-col :span="12"> <el-col :span="22" class="form-item"> <c-input v-model="model.setmod.msgmod.pyb.pts.adrblk" type="textarea" :rows="3" placeholder=""> </c-input> </el-col> </el-col> </el-col> <el-col :span="24"> <el-col :span="12"> <el-col :span="22"> <el-form-item label="账号"> <c-input v-model="model.setmod.msgmod.rmt.pts.extact" maxlength="32" placeholder="请输入"></c-input> </el-form-item> </el-col> </el-col> <el-col :span="12"> <el-col :span="22"> <el-form-item label="账号"> <c-input v-model="model.setmod.msgmod.pyb.pts.extact" maxlength="32" placeholder="请输入"></c-input> </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)"> <c-input type="textarea" :rows="3" placeholder="" v-model="model.setmod.msgmod.tag20272"> </c-input> </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"> <c-input v-model="model.setmod.msgmod.med.pts.extact" maxlength="32" placeholder="请输入"></c-input> </el-col> <c-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="handleSearch"></c-button> </el-col> </el-form-item> </el-col> </el-col> </el-col> </div> </template> <script> import Api from "~/service/Api" import Utils from "~/utils" export default { props:['model', 'codes'], methods: { 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: '服务请求失败!'}); } }, 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: '服务请求失败!'}); } } } } </script>