From a94f1b73dce878f7102081aae0d796c233a4699f Mon Sep 17 00:00:00 2001 From: cuiqian2004 <cuiqian2004@163.com> Date: 星期二, 20 五月 2025 16:04:49 +0800 Subject: [PATCH] 绑定班次 --- pages/modal/5601.vue | 20 +++++++++++++++++++- 1 files changed, 19 insertions(+), 1 deletions(-) diff --git a/pages/modal/5601.vue b/pages/modal/5601.vue index 1dca303..50bea59 100644 --- a/pages/modal/5601.vue +++ b/pages/modal/5601.vue @@ -490,7 +490,25 @@ } } } - + const app = getApp() + if (app.globalData.bindClasses) { + styledefHead.form.items.push({ + name: "Input", + label: this.translate("classes"), + labelWidth: 100, + disabled: true, + value: app.globalData.classes, + setting: { + width: 100, + height: 50, + }, + bind: { + attr: "", + }, + fieldId: "S_CLASSES", + }) + styledefHead.form.model["S_CLASSES"] = app.globalData.classes + } } this.setData({ head_styledef: styledefHead -- Gitblit v1.9.1