فهرست منبع

修改首件两检自检喝专检的时候没有点击保存或提交的时候去校验必填项

695593266@qq.com 5 ماه پیش
والد
کامیت
30a5b3f55f
1فایلهای تغییر یافته به همراه5 افزوده شده و 1 حذف شده
  1. 5 1
      src/views/produce/components/qualityInspection/components/selfInspectionReporting.vue

+ 5 - 1
src/views/produce/components/qualityInspection/components/selfInspectionReporting.vue

@@ -538,7 +538,11 @@
         }
 
         this.visible = true;
-        this.getData();
+        // this.getData();
+        this.$nextTick(async () => {
+          await this.getData();
+          this.$refs.form && this.$refs.form.clearValidate();
+        });
       },
 
       saveSelf(actionType) {