Commit aa661ba7 by huangxin

botset的bug修改

parent 5bad1c64
......@@ -115,6 +115,7 @@ let checkObj = {
"cnybop.cnyinc.cpayeraccttyp" :null,
"mtabut.clsflg" :null,
"cnybop.vouflg" :null,
"lendoc.actflg" :null,
}
for (const key in checkObj) {
......
......@@ -80,5 +80,7 @@ export default {
"cnybop.outflg" :Utils.defaultFunction,
"bodgrp.rec.docsta" :Utils.defaultFunction,
"bopmod.outchargeamt" :Utils.defaultFunction,
"bopmod.dbap.baspp.acp" :Utils.defaultFunction,
"bopmod.dbdp.baspp.acp" :Utils.defaultFunction,
}
//你可以添加自动default处理
......@@ -217,7 +217,9 @@
<c-col :span="24">
<c-checkbox style=" margin: 0px 0 10px 150px;" disabled v-model="model.bopmod.dbap.baspp.acp">确认</c-checkbox>
<el-form-item label="" prop="bopmod.dbap.baspp.acp">
<c-checkbox style=" margin: 0px 0 10px 150px;" disabled v-model="model.bopmod.dbap.baspp.acp">确认</c-checkbox>
</el-form-item>
</c-col>
......@@ -295,16 +297,27 @@ export default {
}
},
computed: {
acp: {
get() {
return this.model.bopmod.dbap.baspp.acp === "X";
},
set(val) {
this.model.bopmod.dbap.baspp.acp = val ? "X" : "";
},
},
},
// computed: {
// acp: {
// get() {
// return this.model.bopmod.dbap.baspp.acp === "X";
// },
// set(val) {
// this.model.bopmod.dbap.baspp.acp = val ? "X" : "";
// },
// },
// },
// watch:{
// "model.bopmod.dbap.baspp.acp" :{
// immediate: true,
// handler(val,oldval){
// if(this.model.bopmod.dbap.baspp.acp==""){
// this.model.bopmod.dbap.baspp.acp="X"
// }
// }
// },
// },
methods:{
// async change() {
// if(this.model.bopmod.szflg=="1"){
......
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