Commit 465ed879 by panziyi

litopn修改

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