664b70f4 by weimo934

fix(plzl):坐落条件互斥

1 parent 48f0cac3
...@@ -312,38 +312,11 @@ ...@@ -312,38 +312,11 @@
312 this.isVisible = val 312 this.isVisible = val
313 }, 313 },
314 plzlData: { 314 plzlData: {
315 handler(val){ 315 handler(val) {
316 console.log(val,'批量坐落规则'); 316 this.zrzgz[0].disabled = +val.zd === 1;
317 // 宗地坐落 317 this.zdgz[0].disabled = +val.zrz === 1;
318 if (+val.zd === 1) {
319 this.zrzgz[0].disabled = true;
320 this.zrzgz[1].disabled = false;
321 return
322 } else if (+val.zd === 2) {
323 this.zrzgz[0].disabled = false;
324 this.zrzgz[1].disabled = true;
325 return
326 }else {
327 this.zrzgz[0].disabled = false;
328 this.zrzgz[1].disabled = false;
329 return
330 }
331 // 自然幢坐落
332 if (+val.zrz === 1) {
333 this.zdgz[0].disabled = true;
334 this.zdgz[1].disabled = false;
335 return
336 } else if (+val.zrz === 2) {
337 this.zdgz[0].disabled = false;
338 this.zdgz[1].disabled = true;
339 return
340 }else {
341 this.zdgz[0].disabled = false;
342 this.zdgz[1].disabled = false;
343 return
344 }
345 }, 318 },
346 deep:true 319 deep: true
347 } 320 }
348 } 321 }
349 } 322 }
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
29 methods: { 29 methods: {
30 loadingStatus() { 30 loadingStatus() {
31 debugger 31 debugger
32 console.log("是否禁用")
33 let bsm=this.$store.state.dzbsm; 32 let bsm=this.$store.state.dzbsm;
34 queryStatus(bsm).then(res => { 33 queryStatus(bsm).then(res => {
35 if (res.success) { 34 if (res.success) {
......
...@@ -123,7 +123,6 @@ ...@@ -123,7 +123,6 @@
123 default: 123 default:
124 break 124 break
125 } 125 }
126 this.isUpdate(this.fileData.glbsm);
127 getFileLis(this.fileData.glbsm).then(res => { 126 getFileLis(this.fileData.glbsm).then(res => {
128 if (res.success) { 127 if (res.success) {
129 this.list = res.result; 128 this.list = res.result;
......