Procházet zdrojové kódy

关联取样判断修改

duy před 1 měsícem
rodič
revize
816ab6a3c5
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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
     }