diff --git a/src/views/eam/mold/moldinspectionjob/index.vue b/src/views/eam/mold/moldinspectionjob/index.vue index b2f9694..14dbb0e 100644 --- a/src/views/eam/mold/moldinspectionjob/index.vue +++ b/src/views/eam/mold/moldinspectionjob/index.vue @@ -397,7 +397,7 @@ const detailValidate = (data) => { return tag } // 子表提交 -const detailSubmitForm = async (formType, data, getList1, formRef, tableList) => { +const detailSubmitForm = async (formType, data, formRef, tableList) => { console.log('data', data) try { let data1 = { @@ -442,8 +442,9 @@ const detailSubmitForm = async (formType, data, getList1, formRef, tableList) => } }) + await detailRef.value.getList() } finally { - detailRef.value.formLoading = false + formRef.formLoading = false } } diff --git a/src/views/eam/mold/moldinspectionjob/moldInspectionMain.data.ts b/src/views/eam/mold/moldinspectionjob/moldInspectionMain.data.ts index 42bd205..443fc7b 100644 --- a/src/views/eam/mold/moldinspectionjob/moldInspectionMain.data.ts +++ b/src/views/eam/mold/moldinspectionjob/moldInspectionMain.data.ts @@ -277,7 +277,7 @@ export const MoldInspectionMain = useCrudSchemas(reactive([ // }, { label: '描述', - field: 'describe', + field: 'describes', sort: 'custom', isSearch: false, table: {