Commit 56a1d2f9 by liaoxing

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

parent 822d817a
......@@ -172,6 +172,25 @@ export default {
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() {},
},
};
......@@ -9,6 +9,7 @@
style="width: 100%"
placeholder="请选择可用银行"
:code="codes.avbwth"
@change="avbwthChange"
>
</c-select>
</el-form-item>
......@@ -19,11 +20,11 @@
<c-fullbox>
<c-input
:disabled="this.flag5"
v-model="avbptsextkey"
v-model="model.lidgrp.avb.pts.extkey"
maxlength="16"
placeholder="请输入地址编码"
@keyup.enter.native="
showGridPromptDialog('lidgrp.avb.pts.extkey')
queryGridEtyPromptDialogData('AVB','B')
"
></c-input>
<template slot="footer">
......@@ -52,7 +53,7 @@
<c-input
:disabled="this.flag6"
type="textarea"
v-model="avbptsadrblk"
v-model="model.lidgrp.avb.pts.adrblk"
maxlength="135"
:rows="4"
show-word-limit
......@@ -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>
<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