664b70f4 by weimo934

fix(plzl):坐落条件互斥

1 parent 48f0cac3
......@@ -312,38 +312,11 @@
this.isVisible = val
},
plzlData: {
handler(val){
console.log(val,'批量坐落规则');
// 宗地坐落
if (+val.zd === 1) {
this.zrzgz[0].disabled = true;
this.zrzgz[1].disabled = false;
return
} else if (+val.zd === 2) {
this.zrzgz[0].disabled = false;
this.zrzgz[1].disabled = true;
return
}else {
this.zrzgz[0].disabled = false;
this.zrzgz[1].disabled = false;
return
}
// 自然幢坐落
if (+val.zrz === 1) {
this.zdgz[0].disabled = true;
this.zdgz[1].disabled = false;
return
} else if (+val.zrz === 2) {
this.zdgz[0].disabled = false;
this.zdgz[1].disabled = true;
return
}else {
this.zdgz[0].disabled = false;
this.zdgz[1].disabled = false;
return
}
handler(val) {
this.zrzgz[0].disabled = +val.zd === 1;
this.zdgz[0].disabled = +val.zrz === 1;
},
deep:true
deep: true
}
}
}
......
......@@ -29,7 +29,6 @@
methods: {
loadingStatus() {
debugger
console.log("是否禁用")
let bsm=this.$store.state.dzbsm;
queryStatus(bsm).then(res => {
if (res.success) {
......
......@@ -123,7 +123,6 @@
default:
break
}
this.isUpdate(this.fileData.glbsm);
getFileLis(this.fileData.glbsm).then(res => {
if (res.success) {
this.list = res.result;
......