Pārlūkot izejas kodu

1.商用工程订单引用后点检查库存会刷新表头业务员改不能刷新

FengChaoYu 3 gadi atpakaļ
vecāks
revīzija
18bd84a78a
1 mainītis faili ar 15 papildinājumiem un 15 dzēšanām
  1. 15 15
      src/views/supply/engin/components/commerce_form.vue

+ 15 - 15
src/views/supply/engin/components/commerce_form.vue

@@ -504,21 +504,21 @@ export default {
   },
 
   watch: {
-    goodsList: {
-      handler(newValue, oldValue) {
-        if(this.goodsList && this.goodsList.length) {
-          if(this.isFirst) {
-            this.isFirst = false;
-          }else {
-            this.mainForm.salesMan = this.goodsList[0].serviceId;
-          }
-        }else {
-          this.mainForm.salesMan = '';
-        }
-      },
-      immediate: true,
-      deep: true
-    }
+    // goodsList: {
+    //   handler(newValue, oldValue) {
+    //     if(this.goodsList && this.goodsList.length) {
+    //       if(this.isFirst) {
+    //         this.isFirst = false;
+    //       }else {
+    //         this.mainForm.salesMan = this.goodsList[0].serviceId;
+    //       }
+    //     }else {
+    //       this.mainForm.salesMan = '';
+    //     }
+    //   },
+    //   immediate: true,
+    //   deep: true
+    // }
   },
 
   beforeCreate() {