Commit 7f43c4de by 闫泽浩

letrsv 简略信息更新

parent f1ed7f9b
......@@ -446,6 +446,28 @@ export default {
data() {
return {};
},
watch:{
"model.ledgrp":{
immediate: true,
deep: true,
handler(val,oldval){
const res = this.model.ledgrp
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.ben.pts.nam)).substring(0,40);
}
}
},
"model.ledgrp.iss":{
immediate: true,
deep: true,
handler(val,oldval){
if(this.model.ledgrp.iss.pts !==""){
this.getstacty()
}
}
}
},
computed: {
flag() {
return this.model.mtabut.coninf.usr.extkey == "";
......@@ -502,6 +524,15 @@ export default {
},
created: function () {
},
async getstacty() {
let params = {
ptainr: this.model.ledgrp.iss.pts.ptainr
}
let res = await Api.post('/service/letopn/stacty', params);
if (res.respCode == SUCCESS) {
this.model.ledgrp.rec.stacty = res.data;
}
}
};
</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