Commit d935730b by liuxin

汇出汇款调整

parent 4bca847e
......@@ -15,6 +15,7 @@
v-model="model.bopmod.szflg"
style="width: 100%"
placeholder="请选择申报类型"
@change="szflgChange"
>
<el-option
v-for="item in codes.szflg"
......@@ -58,7 +59,7 @@
:disabled="model.bopmod.szflg==='3'"
>
<el-option
v-for="item in codes.ownextkey"
v-for="item in codesOwnextkey"
:key="item.value"
:label="item.label"
:value="item.value"
......@@ -205,11 +206,43 @@ export default {
label: "不申报",
},
],
codesOwnextkey:[
{
value: "",
label: "",
}
],
};
},
methods: { ...Event ,
async szflgChange(){
let rtnmsg = await this.executeRule("bopmod.szflg")
if(rtnmsg.respCode == SUCCESS){
this.model.bopmod.ownextkey = rtnmsg.data.bopmod_ownextkey
}
if(this.model.bopmod.szflg==='2'){
this.model.bopmod.acttyp = '';
}
if(this.model.bopmod.szflg==='3'){
this.model.bopmod.ownextkey = '';
this.model.bopmod.acttyp = '';
}
}
},
created: function () {
},
watch: {
"model.bopmod.ownextkey": function(){
if(this.model.bopmod.ownextkey != ''){
var instName = window.sessionStorage.instName || "北京分行";
this.codesOwnextkey[0].value = this.model.bopmod.ownextkey;
this.codesOwnextkey[0].label = this.model.bopmod.ownextkey + instName;
}else{
this.codesOwnextkey[0].value = '';
this.codesOwnextkey[0].label = '';
}
}
},
created: function () {},
};
</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