Commit 56a1d2f9 by liaoxing

litame 详情信息中可用银行的动态显示 修改

parent 822d817a
...@@ -172,6 +172,25 @@ export default { ...@@ -172,6 +172,25 @@ export default {
return return
} }
}, },
async avbwthChange() {
let ptsList = []
ptsList.push(this.model.lidgrp.cmb)
ptsList.push(this.model.lidgrp.rmb)
ptsList.push(this.model.lidgrp.adv)
let params = {
avbwth: this.model.lidgrp.rec.avbwth,
ptsList
};
let res = await Api.post('/service/litame/avbwth', params);
if (res.respCode == SUCCESS) {
this.model.lidgrp.avb.pts.extkey=res.data.pts.extkey;
this.model.lidgrp.avb.pts.adrblk=res.data.pts.adrblk;
// this.model.lidgrp.avb.pts.nam=res.data.avbwth.pts.nam;
// this.model.lidgrp.avb.pts.ptainr =res.data.avbwth.pts.ptainr;
// this.model.lidgrp.avb.pts.ptyinr=res.data.avbwth.pts.ptyinr;
// this.model.lidgrp.avb.pts.rol="AVB";
}
},
onSeainf() {}, onSeainf() {},
}, },
}; };
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
style="width: 100%" style="width: 100%"
placeholder="请选择可用银行" placeholder="请选择可用银行"
:code="codes.avbwth" :code="codes.avbwth"
@change="avbwthChange"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -19,11 +20,11 @@ ...@@ -19,11 +20,11 @@
<c-fullbox> <c-fullbox>
<c-input <c-input
:disabled="this.flag5" :disabled="this.flag5"
v-model="avbptsextkey" v-model="model.lidgrp.avb.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入地址编码" placeholder="请输入地址编码"
@keyup.enter.native=" @keyup.enter.native="
showGridPromptDialog('lidgrp.avb.pts.extkey') queryGridEtyPromptDialogData('AVB','B')
" "
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
...@@ -52,7 +53,7 @@ ...@@ -52,7 +53,7 @@
<c-input <c-input
:disabled="this.flag6" :disabled="this.flag6"
type="textarea" type="textarea"
v-model="avbptsadrblk" v-model="model.lidgrp.avb.pts.adrblk"
maxlength="135" maxlength="135"
:rows="4" :rows="4"
show-word-limit show-word-limit
...@@ -429,36 +430,6 @@ export default { ...@@ -429,36 +430,6 @@ export default {
}, },
}, },
}, },
computed: {
avbptsextkey(){
if(this.model.lidgrp.rec.avbwth == 'A'){
return this.model.lidgrp.avb.pts.extkey
}
if(this.model.lidgrp.rec.avbwth == 'I'){
return this.model.lidgrp.avb.pts.extkey
}
if(this.model.lidgrp.rec.avbwth == 'C'){
return this.model.lidgrp.cmb.pts.extkey
}
if(this.model.lidgrp.rec.avbwth == 'R'){
return this.model.lidgrp.rmb.pts.extkey
}
},
avbptsadrblk(){
if(this.model.lidgrp.rec.avbwth == 'A'){
return this.model.lidgrp.avb.pts.adrblk
}
if(this.model.lidgrp.rec.avbwth == 'I'){
return this.model.lidgrp.avb.pts.adrblk
}
if(this.model.lidgrp.rec.avbwth == 'C'){
return this.model.lidgrp.cmb.pts.adrblk
}
if(this.model.lidgrp.rec.avbwth == 'R'){
return this.model.lidgrp.rmb.pts.adrblk
}
}
},
}; };
</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