wengyuwen 4 лет назад
Родитель
Сommit
4c09e6b7fb
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      src/views/basicdata/warehouse/index.vue

+ 3 - 2
src/views/basicdata/warehouse/index.vue

@@ -459,10 +459,11 @@ export default {
       const fId = row.fId || this.ids
       getWarehouse(fId).then(response => {
         this.form = response.data['tWarehouse'];
-        this.contactList= response.data['tWarehouseArea'];
+        this.contactList = response.data['tWarehouseArea'];
         this.open = true;
         this.title = "修改仓库";
-      });
+        this.form.fCharg = this.form.fCharg == '1' ? '是' : '否'
+      })
     },
     /** 提交按钮 */
     submitForm() {