소스 검색

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

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) {