소스 검색

fix: 允许拆批的时候不合格类型为未处置

xieyong 1 주 전
부모
커밋
b9ed568352
1개의 변경된 파일과 2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/produce/components/jobBooking/components/batchSemiProductJobBom.vue

+ 2 - 2
src/views/produce/components/jobBooking/components/batchSemiProductJobBom.vue

@@ -1855,8 +1855,8 @@
             this.$message.warning('拆批数不能大于或者等于数量');
             return;
           }
-
-          if (this.batchForm.isQualified == 2 && !this.batchForm.notType) {
+          
+          if (this.batchForm.isQualified == 2 && !this.batchForm.notType && typeof this.batchForm.notType !== 'number') {
             this.$message.warning('请选择不合格原因');
             return;
           }