Commit 465ed879 by panziyi

litopn修改

parent 6181926e
......@@ -169,7 +169,8 @@ export default {
async nomtopChange() {
let params = {
nomtop: this.model.lidgrp.rec.nomtop,
cur:this.model.lidgrp.cbs.max.cur
nom1amt:this.model.lidgrp.cbs.nom1.amt,
maxcur:this.model.lidgrp.cbs.max.cur
};
let res = await Api.post('/service/litopn/maxamt', params);
if (res.respCode == SUCCESS) {
......
......@@ -385,39 +385,35 @@ export default {
this.flag1 = false;
this.flag2 = true;
this.flag3 = true;
this.model.lidgrp.blk.defdet="days after B/L date"
}
if (val == "N") {
this.flag1 = false;
this.flag2 = false;
this.flag3 = true;
this.model.lidgrp.blk.defdet="days after B/L date"
}
if (val == "P") {
this.flag1 = true;
this.flag2 = false;
this.flag3 = true;
this.model.lidgrp.rec.tenmaxday == 0
this.model.lidgrp.blk.defdet=""
}
if (val == "M") {
this.flag1 = true;
this.flag2 = true;
this.flag3 = false;
this.model.lidgrp.blk.defdet=""
}
if (val == "A") {
this.flag1 = true;
this.flag2 = false;
this.flag3 = true;
this.model.lidgrp.blk.defdet=""
}
},
},
// "model.lidgrp.rec.tenmaxday":{
// immediate: true,
// handler(val,oldval){
// console.log(val);
// if(this.model.lidgrp.rec.avbby !== 'P'){}
// // this.model.lidgrp.rec.tenmaxday='0';
// }
// }
},
};
</script>
......
......@@ -581,15 +581,15 @@ export default {
};
},
methods: {
nomtopChange(){
this.executeDefault("lidgrp.cbs.max.amt").then((res) => {
if ((res.respCode == SUCCESS)) {
// this.updateModel(res.data);
Utils.copyValueFromVO(this.model, res.data);
}
});
},
// nomtopChange(){
// this.executeDefault("lidgrp.cbs.max.amt").then((res) => {
// if ((res.respCode == SUCCESS)) {
// // this.updateModel(res.data);
// Utils.copyValueFromVO(this.model, res.data);
// }
// });
// },
open(val) {
if (
val === "" &&
......
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