浏览代码

修改报工的bug

695593266@qq.com 7 月之前
父节点
当前提交
685f7133c3
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/views/produce/index.vue

+ 3 - 0
src/views/produce/index.vue

@@ -1824,9 +1824,12 @@
 
         const result = await this.checkQualityResult();
         if (!result?.firstArticleDualInspectionResult) {
+          this.isFinalCheckProduction = false;
           return this.$message.warning('请完成首件两检再报工!');
         }
 
+        this.isFinalCheckProduction = true;
+
         if ([2, 3, 6].includes(this.taskObj.type)) {
           this.getCodeData({
             taskId: this.taskObj.id,