소스 검색

关联取样判断修改

duy 1 개월 전
부모
커밋
816ab6a3c5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/tentative/detect/commission.vue

+ 1 - 1
src/views/tentative/detect/commission.vue

@@ -495,7 +495,7 @@ const creatingDelegate = async () => {
     //     return
     // }
     const { nodeType } = nodeDataInfo.value
-    if (nodeType !== 51) {
+    if (nodeType !== 51 && isNullES(form.sampleId)) {
         window.$message.warning('请先关联取样材料')
         return
     }