From 200e517eceb23cae168cbe41af158a42e59c45d9 Mon Sep 17 00:00:00 2001 From: ljlong_2630 Date: Tue, 26 Mar 2024 08:34:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Detail/src/DetailDeviceLedger.vue | 14 ++++++++++++-- .../eam/mold/moldAccounts/moldAccounts.data.ts | 8 +++++++- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/src/components/Detail/src/DetailDeviceLedger.vue b/src/components/Detail/src/DetailDeviceLedger.vue index e47f397..1a031f8 100644 --- a/src/components/Detail/src/DetailDeviceLedger.vue +++ b/src/components/Detail/src/DetailDeviceLedger.vue @@ -196,11 +196,11 @@ :style="{height:'600px'}" > - + - 点击修改 + 提交 { } const submitDialogForm = async (type, row) => { + const { tableObject, tableMethods } = useTable({ + getListApi: props.apiPage, // 分页接口 + defaultParams : props.defaultParams + }) + detailAllSchemasRef.value = props.detailAllSchemas + tableObjectRef.value = tableObject + tableMethodsRef.value = tableMethods + tableObjectRef.value.tableList = [] + const { getList } = tableMethods await props.diaLogApiUpdate(row) dialogFormRef.value.dialogVisible = false await getList() @@ -936,6 +945,7 @@ function dialogUploadFile() { props.uploadImage(data).then((res) => { message.success('修改成功') getImage() + dialogUploadVisible.value = false }) } diff --git a/src/views/eam/mold/moldAccounts/moldAccounts.data.ts b/src/views/eam/mold/moldAccounts/moldAccounts.data.ts index 85e5318..5463836 100644 --- a/src/views/eam/mold/moldAccounts/moldAccounts.data.ts +++ b/src/views/eam/mold/moldAccounts/moldAccounts.data.ts @@ -253,7 +253,13 @@ export const MoldMilestone = useCrudSchemas(reactive([ field: 'milestoneStage', sort: 'custom', isSearch: true, - isForm: true + isForm: true, + form: { + component: 'Select', + componentProps: { + disabled: true + } + }, }, { label: '里程碑日期',