Przeglądaj źródła

930
【产品管理】新建的时候填写了备注信息,再点击修改界面未记录此已有的信息

chenping 11 miesięcy temu
rodzic
commit
f38204ab77
1 zmienionych plików z 5 dodań i 3 usunięć
  1. 5 3
      src/views/material/product/detail.vue

+ 5 - 3
src/views/material/product/detail.vue

@@ -514,7 +514,8 @@
           }
         ],
         remarkform: {
-          remarkAttach: []
+          remarkAttach: [],
+          remark:''
         },
         categorySales: {},
         categoryPurchase: { purchaseMultiplier: 1, measuringUnit: '' },
@@ -634,7 +635,8 @@
             this.categorySales = {};
             this.purchaseInfo = {};
             this.remarkform = {
-              remarkAttach: []
+              remarkAttach: [],
+              remark:''
             };
             this.categoryAps = {};
             this.categoryMes = {
@@ -831,7 +833,7 @@
         this.form = {
           ...info.category
         };
-
+        this.remarkform.remark=info.category.remark;
         // if (this.form.measuringUnit && this.form.packingUnit) {
         //   this.$refs.warehouseRefs.defaultBuild(this.form.packingUnit);
         // }