From a5453cb3440e4536b5d5dc5e74e48df482836065 Mon Sep 17 00:00:00 2001 From: ludc Date: 星期五, 08 十二月 2023 12:08:33 +0800 Subject: [PATCH] 码段新增和修改时限制层级类型为最小层级时,层级的值不可输入,并且校验只能输入数字 --- Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue b/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue index 0f83ebf..e874bdf 100644 --- a/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue +++ b/Source/UBCS-WEB/src/components/Theme/ThemeAttrCrud.vue @@ -1718,7 +1718,10 @@ attrTableWidth: 120, ts: "" }) - this.ProData.push(JSON.parse(JSON.stringify(this.busineAddList))) + // 灏嗚嫳鏂囩紪鍙疯浆鎹负灏忓啓 + let { id, ...res } = this.busineAddList; + this.busineAddList = { id: id.toLowerCase(), ...res }; + this.ProData.push(JSON.parse(JSON.stringify(this.busineAddList))); } }) this.addVisible = false; -- Gitblit v1.9.3