Commit 09c631ab by huxi

letopn

parent 211b27a1
......@@ -103,11 +103,6 @@ export default {
buildDocpan (model, trnName) {
let params = {
...this.buildCommonData(model, trnName),
rec: {
objtyp: 'LED',
objinr: model.ledgrp.rec.objinr,
ownref: model.ledgrp.rec.ownref,
},
};
return params
},
......
......@@ -450,10 +450,10 @@ 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 !== ""){
if(res.cbs.nom1.cur !== "" || res.cbs.nom1.amt !== "" || res.apl.pts.adrblk !== "" || rec.stacty !== "" ){
this.model.ledgrp.cbs.max.cur=this.model.ledgrp.cbs.nom1.cur;
this.model.ledgrp.cbs.max.amt=this.model.ledgrp.cbs.nom1.amt;
this.model.ledgrp.rec.nam = `${res.cbs.nom1.cur} ${res.cbs.nom1.amt} .${res.apl.pts.adrblk.substring(0,29)}`
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