ZaiZai il y a 10 mois
Parent
commit
1c71eb77b5

+ 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