Explorar o código

新增委托单提示修改

duy hai 3 meses
pai
achega
4453bdad35
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/views/tentative/detect/commission.vue

+ 4 - 0
src/views/tentative/detect/commission.vue

@@ -344,6 +344,10 @@ const delegateContractId = ref(null)
 //新增
 const delegateModal = ref(false)
 const addFormData = () => {
+    if ( !searchForm.value.nodeId) {
+        window.$message.warning('请先选择节点')
+        return
+    }
     delegateModal.value = true
     editHtmlId.value = ''
     const { contractId } = deepClone(searchForm.value)