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