Преглед на файлове

新增委托单提示修改

duy преди 3 месеца
родител
ревизия
4453bdad35
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  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)