Browse Source

检验

hella_online_20240829
wangyufei 4 months ago
parent
commit
f072712276
  1. 4
      src/components/BasicForm/src/BasicForm.vue

4
src/components/BasicForm/src/BasicForm.vue

@ -615,12 +615,14 @@ const submitForm = async () => {
formLoading.value = true
if (formType.value == 'create') {
const validateForm = await tableFormRef.value.validateForm()
if (props.tableFormDataLength) {
if (!validateForm && props.tableFormDataLength) {
if (props.tableData.length == 0) {
message.warning('请填写明细信息!')
formLoading.value = false
return
}
formLoading.value = false
return
}
//
try {

Loading…
Cancel
Save