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/form/index.vue |   24 +++++++++++++++++++++---
 1 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/pages/modal/form/index.vue b/pages/modal/form/index.vue
index bc51570..aee1e43 100644
--- a/pages/modal/form/index.vue
+++ b/pages/modal/form/index.vue
@@ -43,7 +43,7 @@
 <script>
 	import {
 		Base64
-	} from  '@/js/Base64.js';
+	} from '@/js/Base64.js';
 	import {
 		dictGetInfo
 	} from "@/api/mobox.js"
@@ -292,6 +292,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
 						}
 
 					}
@@ -900,7 +919,6 @@
 
 					//鍒ゆ柇琛ㄥ崟閲屾槸鍚︽湁杩斿洖瀛楁锛屾病鏈夊氨瑁呰浇鍒癿odel閲岋紝鐐瑰嚮纭畾鎻愪氦鐨勬椂鍊欏甫涓婅繖浜涙暟鎹� 				})
-				console.log(head_styledef)
 				this.setData({
 					head_styledef: head_styledef
 				})
@@ -1838,7 +1856,7 @@
 			flex-direction: column;
 		}
 
-	
+
 		.view-content {
 			display: flex;
 			flex: 1;

--
Gitblit v1.9.1