From 9201045a62b97c63e0cda7a63bc383b4074b2ee0 Mon Sep 17 00:00:00 2001 From: cuiqian2004 <cuiqian2004@163.com> Date: 星期三, 16 四月 2025 16:22:12 +0800 Subject: [PATCH] d --- pages/modal/5601.vue | 64 +++++++++++++++---------------- 1 files changed, 31 insertions(+), 33 deletions(-) diff --git a/pages/modal/5601.vue b/pages/modal/5601.vue index 8696077..5dbc622 100644 --- a/pages/modal/5601.vue +++ b/pages/modal/5601.vue @@ -365,21 +365,18 @@ Name: page.After_Delete?.Name }; } - - if (evt.ID) { - return [{ - Cls_Name: this.param?.master_cls?.name || "", - Cls_ID: this.param?.master_cls?.id || "", - FunCode: "Delete", - ShowName: this.$t("sys.delete"), - Style: "text", - Prompt: false, - NotTriggerSYSEvent: false, - DataStateVerify: false, - AttrVerify: false, - AfterProcess_Event: evt, - }]; - } + return [{ + Cls_Name: this.param?.master_cls?.name || "", + Cls_ID: this.param?.master_cls?.id || "", + FunCode: "Delete", + ShowName: this.$t("sys.delete"), + Style: "text", + Prompt: false, + NotTriggerSYSEvent: false, + DataStateVerify: false, + AttrVerify: false, + AfterProcess_Event: evt, + }]; } return []; } @@ -2349,7 +2346,8 @@ const style = pageData.DefList[index]; //鍒犻櫎鐮佺洏涓牱寮忛潰鏉� pageData.DefList.splice(index, 1); - this.del(pageData, style, btn.AfterProcess_Event); + if (btn.AfterProcess_Event.ID) + this.del(pageData, style, btn.AfterProcess_Event); this.$set(this.pageDetail, pageIndex, pageData) } } else if (btn.FunCode == "Modify") { @@ -2497,22 +2495,22 @@ }, sava(pageData, event) { var $this = this; - if (pageData.DefList.length == 0) { - uni.showModal({ - title: this.translateSys("tip"), - content: this.translate( - "tip_no_data_first") + - this.translateSys( - "quotation_mark_left") + pageData.Name + this - .translateSys( - "quotation_mark_right") + - this.translate( - "tip_no_data_last"), - showCancel: false, - confirmText: this.translateSys('close') - }); - return false; - } + // if (pageData.DefList.length == 0) { + // uni.showModal({ + // title: this.translateSys("tip"), + // content: this.translate( + // "tip_no_data_first") + + // this.translateSys( + // "quotation_mark_left") + pageData.Name + this + // .translateSys( + // "quotation_mark_right") + + // this.translate( + // "tip_no_data_last"), + // showCancel: false, + // confirmText: this.translateSys('close') + // }); + // return false; + // } //鑾峰彇琛ㄥご灞炴� var head_attr = {}; this.head_styledef.form.items.forEach(item => { @@ -2917,7 +2915,7 @@ flex-direction: column; } - + .view-content { display: flex; flex: 1; -- Gitblit v1.9.1