Commit dd152244 by huxi

letopn

parent 83758c83
......@@ -163,6 +163,7 @@ export default {
this.model.ledgrp.avb.pts.adrblk=res.data.avbwth.pts.adrblk;
}
},
//最大金额
async cbsmax() {
let params = {
nom1cur: this.model.ledgrp.cbs.nom1.cur,
......@@ -174,6 +175,13 @@ export default {
this.model.ledgrp.cbs.max.cur = res.data.maxcur;
this.model.ledgrp.cbs.max.amt = res.data.maxamt;
}
},
//国家地区
async stacty(params) {
let res = await Api.post('/service/letopn/stacty', params);
if (res.respCode == SUCCESS) {
this.model.ledgrp.rec.stacty = res.data;
}
}
},
};
......@@ -41,7 +41,7 @@ export default class Letopn {
prepertxts18: '',
redclsflg: '',
cnfins: '',
nomspc: '',
nomspc: 'X',
shptrss18: '',
spcrcbflg: '',
collflg: '',
......
......@@ -450,7 +450,7 @@ export default {
deep: true,
handler(val,oldval){
const res = this.model.ledgrp
if(res.cbs.nom1.cur !== "" || res.cbs.nom1.amt !== "" || res.apl.pts.adrblk !== "" || rec.stacty !== "" ){
if(res.cbs.nom1.cur !== "" || res.cbs.nom1.amt !== "" || res.apl.pts.adrblk !== "" || res.rec.stacty !== "" ){
this.model.ledgrp.rec.nam = (res.cbs.nom1.cur.concat(" ").concat(res.cbs.nom1.amt).concat(" ").concat(res.rec.stacty).concat(".").concat(res.apl.pts.adrblk)).substring(0,40);
}
}
......
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