From 28ca3d9f9e6e7eeeb7a7f2a7f50012350f3934c3 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期三, 13 十一月 2024 18:07:11 +0800 Subject: [PATCH] 优化业务数据的查询接口;修改业务数据保存和编辑接口没有保存基础默认属性问题。 --- Source/plt-web/plt-web-ui/src/components/PLT-basic-component/basicForm.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/basicForm.vue b/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/basicForm.vue index 7d15766..f1650ee 100644 --- a/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/basicForm.vue +++ b/Source/plt-web/plt-web-ui/src/components/PLT-basic-component/basicForm.vue @@ -186,7 +186,8 @@ initItem(item){ const type=this.columnType[item.type] || item.type; item.text=item.text || item.label; - const col= { + let col= { + ...item, label: item.text, prop: item.field, showProp:item.showField, @@ -222,8 +223,7 @@ required: item.required|| false, message: `璇疯緭鍏�${item.text}!`, trigger: "submit" - }]):[], - ...item + }]):[] }; if(!this.isEdit){ col.placeholder=col.label; -- Gitblit v1.9.3