Sfoglia il codice sorgente

修改勾选后检斤不能编辑重量

mxx 3 anni fa
parent
commit
afc584717d
1 ha cambiato i file con 9 aggiunte e 0 eliminazioni
  1. 9 0
      src/views/houseSelfCollect/acquisitionManagement.vue

+ 9 - 0
src/views/houseSelfCollect/acquisitionManagement.vue

@@ -282,6 +282,15 @@ export default {
       })
         .toPromise()
         .then(response => {
+           let _data = sessionStorage.getItem('houseSelfCollect_house')
+           _data = JSON.parse(sessionStorage.getItem('houseSelfCollect_house'))
+           if(_data.allowEdit==0){
+             _data.allowEdit = 1
+           }else{
+             _data.allowEdit = 0
+           } 
+            sessionStorage.setItem('houseSelfCollect_house',JSON.stringify(_data))
+           
           // this.tableData = response.records
         })
     },