فهرست منبع

修改报工的bug

695593266@qq.com 5 ماه پیش
والد
کامیت
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();
         const result = await this.checkQualityResult();
         if (!result?.firstArticleDualInspectionResult) {
         if (!result?.firstArticleDualInspectionResult) {
+          this.isFinalCheckProduction = false;
           return this.$message.warning('请完成首件两检再报工!');
           return this.$message.warning('请完成首件两检再报工!');
         }
         }
 
 
+        this.isFinalCheckProduction = true;
+
         if ([2, 3, 6].includes(this.taskObj.type)) {
         if ([2, 3, 6].includes(this.taskObj.type)) {
           this.getCodeData({
           this.getCodeData({
             taskId: this.taskObj.id,
             taskId: this.taskObj.id,