Commit 123e5f79 by WF1020

litopn修改

parent e53b665d
......@@ -28,7 +28,7 @@
style="margin: 0 0"
size="small"
type="primary"
:disabled="!this.flag1 && model.lidgrp.rec.ownref==''? false:true"
:disabled="(!this.flag1) && model.lidgrp.rec.ownref==''? false:true"
@click="onLitpButgetref"
>
获取
......@@ -645,25 +645,33 @@ export default {
}
},
},
"model.lidgrp.cbs.nom1.cur":{
"model.lidgrp":{
immediate: true,
handler(val,oldval){{
if(this.model.lidgrp.cbs.nom1.cur!= ""){
this.model.lidgrp.cbs.max.cur=this.model.lidgrp.cbs.nom1.cur;
this.model.lidgrp.rec.nam=".Brilliance Techn"+this.model.lidgrp.cbs.nom1.cur+this.model.lidgrp.cbs.nom1.amt;
}
}}
},
"model.lidgrp.cbs.nom1.amt":{
immediate: true,
handler(val,oldval){{
if(this.model.lidgrp.cbs.nom1.amt!= ""){
this.model.lidgrp.cbs.max.amt=this.model.lidgrp.cbs.nom1.amt;
this.model.lidgrp.rec.nam=".Brilliance Techn"+this.model.lidgrp.cbs.nom1.cur+this.model.lidgrp.cbs.nom1.amt;
}
}}
deep: true,
handler(val,oldval){
const res = this.model.lidgrp
if(res.cbs.nom1.cur !== "" && res.cbs.nom1.amt !== "" && res.apl.pts.adrblk !== ""){
this.model.lidgrp.rec.nam = `${res.apl.pts.adrblk.substring(0,15)}${res.cbs.nom1.cur}${res.cbs.nom1.amt}`
}okok
}
},
// "model.lidgrp.cbs.nom1.amt":{
// immediate: true,
// handler(val,oldval){{
// if(this.model.lidgrp.cbs.nom1.amt!= ""){
// this.model.lidgrp.rec.nam=this.model.lidgrp.apl.pts.adrblk.substring(0,15)+this.model.lidgrp.cbs.nom1.cur+this.model.lidgrp.cbs.nom1.amt;
// }
// }}
// },
// "model.lidgrp.apl.pts.adrblk":{
// immediate: true,
// handler(val,oldval){{
// console.log(val);
// if(this.model.lidgrp.apl.pts.adrblk!= ""){
// this.model.lidgrp.rec.nam=this.model.lidgrp.apl.pts.adrblk.substring(0,15)+this.model.lidgrp.cbs.nom1.cur+this.model.lidgrp.cbs.nom1.amt;
// }
// }}
// },
},
computed: {
flag1() {
......
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