Commit 78f1d930 by liaoxing

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'settle-test-20230110' of http://114.115.138.98:8900/fukai/vue-gjjs into settle-test-20230110
No related merge requests found
...@@ -269,7 +269,7 @@ ...@@ -269,7 +269,7 @@
<c-col :span="13"> <c-col :span="13">
<el-form-item label="提取附加金额" prop="brdgrp.cbs.opn2.cur"> <el-form-item label="提取附加金额" prop="brdgrp.cbs.opn2.cur">
<c-select <c-select
v-model="model.brdgrp.cbs.opn2.cur" v-model="opn2cur"
style="width: 100%" style="width: 100%"
placeholder="请选择币种" placeholder="请选择币种"
:code="codes.curtxt1" :code="codes.curtxt1"
...@@ -404,7 +404,8 @@ ...@@ -404,7 +404,8 @@
style="float: right; text-align: center" style="float: right; text-align: center"
v-model="model.brdgrp.rec.dscinsflg" v-model="model.brdgrp.rec.dscinsflg"
:disabled="model.brdgrp.blk.docdisflg!=''" :disabled="model.brdgrp.blk.docdisflg!=''"
>输入单据、不符点、指示和运输信息</c-checkbox >输入单据、不符点、指示和运输信息
</c-checkbox
> >
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -568,60 +569,64 @@ export default { ...@@ -568,60 +569,64 @@ export default {
mixins: [event], mixins: [event],
data() { data() {
return { return {
flag:true, flag: true,
flag2:true, flag2: true,
flag3:true, flag3: true,
flag4:true, flag4: true,
}; };
}, },
watch:{ watch: {
"model.brdgrp.rec.docprbrol":function(){ "model.brdgrp.rec.docprbrol": function () {
if(this.model.brdgrp.rec.docprbrol=='ADV'){ if (this.model.brdgrp.rec.docprbrol == 'ADV') {
this.flag=true; this.flag = true;
} } else if (this.model.brdgrp.rec.docprbrol == 'BEN') {
else if(this.model.brdgrp.rec.docprbrol=='BEN'){ this.flag = true;
this.flag=true; } else if (this.model.brdgrp.rec.docprbrol == 'PRB') {
} this.flag = false;
else if(this.model.brdgrp.rec.docprbrol=='PRB'){
this.flag=false;
} }
}, },
"model.brdgrp.prb.pts.extkey" :{ "model.brdgrp.prb.pts.extkey": {
immediate:true, immediate: true,
handler(val ,oldVal){ handler(val, oldVal) {
if(this.model.brdgrp.prb.pts.extkey!=''){ if (this.model.brdgrp.prb.pts.extkey != '') {
this.flag2=true; this.flag2 = true;
}else{ } else {
this.flag2=false; this.flag2 = false;
} }
} }
}, },
"model.brdgrp.rec.payrol":function(){ "model.brdgrp.rec.payrol": function () {
if(this.model.brdgrp.rec.payrol=='APL'){ if (this.model.brdgrp.rec.payrol == 'APL') {
this.flag4=true; this.flag4 = true;
} } else if (this.model.brdgrp.rec.payrol == 'OTH') {
else if(this.model.brdgrp.rec.payrol=='OTH'){ this.flag4 = false;
this.flag4=false;
} }
}, },
"model.brtp.oth.pts.extkey" :{ "model.brtp.oth.pts.extkey": {
immediate:true, immediate: true,
handler(val ,oldVal){ handler(val, oldVal) {
if(this.model.brtp.oth.pts.extkey!=''){ if (this.model.brtp.oth.pts.extkey != '') {
this.flag3=true; this.flag3 = true;
}else{ } else {
this.flag3=false; this.flag3 = false;
} }
} }
}, },
}, },
methods: { }, methods: {},
created: function () {}, created: function () {
},
computed: {
opn2cur() {
this.model.brdgrp.cbs.opn2.cur = this.model.brdgrp.cbs.max.cur
return this.model.brdgrp.cbs.opn2.cur
}
}
}; };
</script> </script>
......
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