소스 검색

修改检测bug

695593266@qq.com 10 달 전
부모
커밋
fd9cab4103
1개의 변경된 파일29개의 추가작업 그리고 2개의 파일을 삭제
  1. 29 2
      src/views/produce/components/jobBooking/index.vue

+ 29 - 2
src/views/produce/components/jobBooking/index.vue

@@ -180,7 +180,26 @@
           v-if="
             item.semiProductList &&
             item.semiProductList.length != 0 &&
-            item.singleReport == 1
+            item.singleReport == 1 &&
+            clientEnvironmentId != 3
+          "
+          :item="item"
+          :list="item.semiProductList"
+          :equipmentList="item.equipmentList"
+          :isChoose="isChoose"
+          @chooseData="chooseData"
+          :isEngrave="isEngrave"
+          :isDisposal="isDisposal"
+        ></semiProductJobBom>
+
+        <semiProductJobBom
+          :singleReport="item.singleReport"
+          v-if="
+            item.semiProductList &&
+            item.semiProductList.length != 0 &&
+            item.singleReport == 1 &&
+            clientEnvironmentId == 3 &&
+            taskObj.type != 4
           "
           :item="item"
           :list="item.semiProductList"
@@ -1236,7 +1255,15 @@
 
         console.log(this.item, '9999999999');
         if (this.taskObj.type == 4) {
-          this.checkPack();
+          if (this.clientEnvironmentId == 3) {
+            this.List.forEach((it) => {
+              if (it.singleReport == 0) {
+                this.checkPack();
+              }
+            });
+          } else {
+            this.checkPack();
+          }
 
           // if (!isPack) {
           // 	return false