Browse Source

合同材料

ZaiZai 10 months ago
parent
commit
1c71eb77b5
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/views/debit-pay/material/components/material/dataModal.vue

+ 4 - 0
src/views/debit-pay/material/components/material/dataModal.vue

@@ -574,6 +574,10 @@ const saveLoaing = ref(false)
 const modalSave = async () => {
     const isForm = await formValidate(formRef.value)
     if (!isForm) return
+    if (tableData1.value.length <= 0) {
+        window.$message.warning('请先获取材料明细')
+        return
+    }
     //处理表单
     const form = formModel.value
     form.details = tableData1.value