|
|
@ -696,7 +696,7 @@ const submitForm = async () => { |
|
|
|
if (!valid) return |
|
|
|
// 针对主子表 明细校验 |
|
|
|
if (props.isBusiness) { |
|
|
|
formLoading.value = true |
|
|
|
// formLoading.value = true |
|
|
|
if (formType.value == 'create') { |
|
|
|
const validateForm = await tableFormRef.value.validateForm() |
|
|
|
if (!validateForm && props.tableFormDataLength) { |
|
|
@ -726,7 +726,7 @@ const submitForm = async () => { |
|
|
|
} |
|
|
|
} else { |
|
|
|
// 基础数据单表——提交请求 |
|
|
|
formLoading.value = true |
|
|
|
// formLoading.value = true |
|
|
|
try { |
|
|
|
const data = unref(formRef)?.formModel |
|
|
|
emit('success', formType.value, data) |
|
|
|