소스 검색

fix: 切换工艺路线不清空型号

xieyong 5 일 전
부모
커밋
2679aca9f2
2개의 변경된 파일과 2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/views/productionPlan/components/factoryAdd/index.vue
  2. 1 1
      src/views/saleOrder/components/create-order.vue

+ 1 - 1
src/views/productionPlan/components/factoryAdd/index.vue

@@ -956,7 +956,7 @@
         let data = this.form.productInfoList[this.selectIndex];
         this.$set(data, 'bomVersionList', []);
         this.$set(data, 'bomCategoryId', '');
-        this.$set(data, 'model', '');
+        // this.$set(data, 'model', '');
         this.$set(data, 'routingList', []);
         this.$set(data, 'productType', '');
         this.$set(data, 'produceRoutingName', item.name);

+ 1 - 1
src/views/saleOrder/components/create-order.vue

@@ -1568,7 +1568,7 @@
         let data = this.form.productInfoList[this.selectIndex];
         this.$set(data, 'bomVersionList', []);
         this.$set(data, 'bomCategoryId', '');
-        this.$set(data, 'model', '');
+        // this.$set(data, 'model', '');
         this.$set(data, 'routingList', []);
         this.$set(data, 'productType', '');
         this.$set(data, 'produceRoutingName', item.name);