Commit 1b8e8180 by lianyang

gitpop加手动触发default500,更新动态码表

parent 2fec8362
...@@ -70,14 +70,8 @@ ...@@ -70,14 +70,8 @@
v-model="model.gidgrp.rec.delto" v-model="model.gidgrp.rec.delto"
style="width: 100%" style="width: 100%"
placeholder="请选择交付收款人" placeholder="请选择交付收款人"
:code="getValues('gidgrp.rec.delto','delto1')"
> >
<el-option
v-for="item in codes.delto"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
<template> <template>
<div class="eibs"> <div class="eibs">
<!-- ============左边================= --> <!-- =============================左边====================================== -->
<c-col :span="12" style="padding-right: 20px;"> <c-col :span="12" style="padding-right: 20px;">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="申请人参考号" prop="gidgrp.apl.pts.ref"> <el-form-item label="申请人参考号" prop="gidgrp.apl.pts.ref">
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog(`gidgrp.apl.pts.extkey`) showGridPromptDialog(`gidgrp.apl.pts.extkey`)
" "
@blur="benBlur"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
...@@ -51,8 +50,6 @@ ...@@ -51,8 +50,6 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptap <c-ptap
v-if="model.gitp.swiftflg == 'Y'" v-if="model.gitp.swiftflg == 'Y'"
...@@ -63,7 +60,6 @@ ...@@ -63,7 +60,6 @@
rol: 'ctr', rol: 'ctr',
}" }"
@onAplpDet="onConpDet" @onAplpDet="onConpDet"
@blur="benBlur"
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
...@@ -85,7 +81,7 @@ ...@@ -85,7 +81,7 @@
</c-ptap> </c-ptap>
</c-col> </c-col>
</c-col> </c-col>
<!-- ============右边================= --> <!-- =========================================右边========================================== -->
<c-col :span="12" style="padding-left: 20px;"> <c-col :span="12" style="padding-left: 20px;">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="受益人参考号" prop="gidgrp.ben.pts.ref"> <el-form-item label="受益人参考号" prop="gidgrp.ben.pts.ref">
...@@ -106,7 +102,6 @@ ...@@ -106,7 +102,6 @@
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog(`gidgrp.ben.pts.extkey`) showGridPromptDialog(`gidgrp.ben.pts.extkey`)
" "
@blur="benBlur"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
...@@ -136,11 +131,9 @@ ...@@ -136,11 +131,9 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" v-if="model.gitp.swiftflg == 'N' && model.gidgrp.rec.hndtyp == 'OT'">
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
v-if="
model.gitp.swiftflg == 'N' && model.gidgrp.rec.hndtyp == 'OT'
"
label="开证行参考号" label="开证行参考号"
prop="gidgrp.iss.pts.ref" prop="gidgrp.iss.pts.ref"
> >
...@@ -153,9 +146,6 @@ ...@@ -153,9 +146,6 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
v-if="
model.gitp.swiftflg == 'N' && model.gidgrp.rec.hndtyp == 'OT'
"
label="开证行" label="开证行"
prop="gidgrp.iss.pts.extkey" prop="gidgrp.iss.pts.extkey"
> >
...@@ -185,9 +175,6 @@ ...@@ -185,9 +175,6 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
v-if="
model.gitp.swiftflg == 'N' && model.gidgrp.rec.hndtyp == 'OT'
"
label="地址名称" label="地址名称"
prop="gidgrp.iss.pts.adrblk" prop="gidgrp.iss.pts.adrblk"
> >
...@@ -201,6 +188,8 @@ ...@@ -201,6 +188,8 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptap <c-ptap
v-if="model.gitp.swiftflg == 'Y'" v-if="model.gitp.swiftflg == 'Y'"
...@@ -211,7 +200,6 @@ ...@@ -211,7 +200,6 @@
rol: 'atb', rol: 'atb',
}" }"
@onAplpDet="onConpDet" @onAplpDet="onConpDet"
@blur="benBlur"
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
...@@ -290,14 +278,35 @@ export default { ...@@ -290,14 +278,35 @@ export default {
...Event, ...Event,
addRow() {}, addRow() {},
removeRow() {}, removeRow() {},
async benBlur() { // async benBlur() {
let rtnmsg = await this.executeDefault("gidgrp.rec.sndto"); // let rtnmsg = await this.executeDefault("gidgrp.rec.sndto");
// if (rtnmsg.respCode == SUCCESS) {
// Utils.copyValueFromVO(this.model, rtnmsg.data);
// }
// },
// 角色改变手动触发default 500 GIDGRP\REC\DELTO
async roleChange(){
let rtnmsg = await this.executeDefault("gidgrp.rec.delto");
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data); Utils.copyValueFromVO(this.model, rtnmsg.data);
} }
}, },
}, },
created: function () {}, created: function () {},
watch: {
"model.gidgrp.apl.pts.adrblk": function() {
this.roleChange()
},
"model.gidgrp.ctr.pts.adrblk": function() {
this.roleChange()
},
"model.gidgrp.ben.pts.adrblk": function() {
this.roleChange()
},
"model.gidgrp.atb.pts.adrblk": function() {
this.roleChange()
},
},
}; };
</script> </script>
<style> <style>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment