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: '里程碑日期',