Commit 1b8e8180 by lianyang

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

parent 2fec8362
......@@ -70,14 +70,8 @@
v-model="model.gidgrp.rec.delto"
style="width: 100%"
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>
</el-form-item>
</c-col>
......
<template>
<div class="eibs">
<!-- ============左边================= -->
<!-- =============================左边====================================== -->
<c-col :span="12" style="padding-right: 20px;">
<c-col :span="24">
<el-form-item label="申请人参考号" prop="gidgrp.apl.pts.ref">
......@@ -21,7 +21,6 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.apl.pts.extkey`)
"
@blur="benBlur"
></c-input>
<template slot="footer">
<c-button
......@@ -51,8 +50,6 @@
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
v-if="model.gitp.swiftflg == 'Y'"
......@@ -63,7 +60,6 @@
rol: 'ctr',
}"
@onAplpDet="onConpDet"
@blur="benBlur"
>
</c-ptap>
</c-col>
......@@ -85,7 +81,7 @@
</c-ptap>
</c-col>
</c-col>
<!-- ============右边================= -->
<!-- =========================================右边========================================== -->
<c-col :span="12" style="padding-left: 20px;">
<c-col :span="24">
<el-form-item label="受益人参考号" prop="gidgrp.ben.pts.ref">
......@@ -106,7 +102,6 @@
@keyup.enter.native="
showGridPromptDialog(`gidgrp.ben.pts.extkey`)
"
@blur="benBlur"
></c-input>
<template slot="footer">
<c-button
......@@ -136,11 +131,9 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'N' && model.gidgrp.rec.hndtyp == 'OT'
"
<c-col :span="24" v-if="model.gitp.swiftflg == 'N' && model.gidgrp.rec.hndtyp == 'OT'">
<c-col :span="24">
<el-form-item
label="开证行参考号"
prop="gidgrp.iss.pts.ref"
>
......@@ -150,57 +143,53 @@
placeholder="请输入开证行参考号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'N' && model.gidgrp.rec.hndtyp == 'OT'
"
label="开证行"
prop="gidgrp.iss.pts.extkey"
>
<c-fullbox>
</c-col>
<c-col :span="24">
<el-form-item
label="开证行"
prop="gidgrp.iss.pts.extkey"
>
<c-fullbox>
<c-input
v-model="model.gidgrp.iss.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.iss.pts.extkey`)
"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<i class="el-icon-info"></i>
</c-button>
<c-button size="small" type="primary" @click="onIsspDet">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
label="地址名称"
prop="gidgrp.iss.pts.adrblk"
>
<c-input
v-model="model.gidgrp.iss.pts.extkey"
maxlength="16"
placeholder="请输入"
@keyup.enter.native="
showGridPromptDialog(`gidgrp.iss.pts.extkey`)
"
type="textarea"
:rows="4"
v-model="model.gidgrp.iss.pts.adrblk"
maxlength="140"
show-word-limit
placeholder="请输入地址名称"
></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<i class="el-icon-info"></i>
</c-button>
<c-button size="small" type="primary" @click="onIsspDet">
详情
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
v-if="
model.gitp.swiftflg == 'N' && model.gidgrp.rec.hndtyp == 'OT'
"
label="地址名称"
prop="gidgrp.iss.pts.adrblk"
>
<c-input
type="textarea"
:rows="4"
v-model="model.gidgrp.iss.pts.adrblk"
maxlength="140"
show-word-limit
placeholder="请输入地址名称"
></c-input>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-ptap
v-if="model.gitp.swiftflg == 'Y'"
......@@ -211,7 +200,6 @@
rol: 'atb',
}"
@onAplpDet="onConpDet"
@blur="benBlur"
>
</c-ptap>
</c-col>
......@@ -290,14 +278,35 @@ export default {
...Event,
addRow() {},
removeRow() {},
async benBlur() {
let rtnmsg = await this.executeDefault("gidgrp.rec.sndto");
// async benBlur() {
// 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) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
},
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>
<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