From 3d62b2b3adbcebef3e52f4ede71b42a61a77d1dd Mon Sep 17 00:00:00 2001
From: wtt <1985833171@qq.com>
Date: 星期二, 12 八月 2025 12:50:33 +0800
Subject: [PATCH] 报工提示无权限问题处理(去除物料的;号)

---
 pages/gongxuOut/form.vue |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/pages/gongxuOut/form.vue b/pages/gongxuOut/form.vue
index 49fd832..4e284de 100644
--- a/pages/gongxuOut/form.vue
+++ b/pages/gongxuOut/form.vue
@@ -1448,7 +1448,7 @@
 							}else{
 								// 浠庡璞℃暟缁勪腑鎻愬彇鎵�鏈夋棩鏈熷瓧娈靛苟鎵惧埌鏈�澶у��
 								const maxDate = listData.reduce((max, obj) => {
-									const date = new Date(obj[鍑虹珯鏃堕棿]);
+									const date = new Date(obj.鍑虹珯鏃堕棿);
 									return date > max ? date : max;
 								}, new Date(0)); // 鍒濆鍊间负鏈�灏忔棩鏈�
 								// 姣旇緝鏈�澶ф棩鏈熷拰浠婂ぉ鐨勬棩鏈熼儴鍒嗭紙涓嶆瘮杈冩椂闂达級
@@ -1514,6 +1514,9 @@
                 })
             },
             submit() {
+				//鍘婚櫎鍒嗗彿浠ュ厤鍚庣鍒嗚В鎶ラ敊
+				this.hform.HMaterName= this.hform.HMaterName.replace(/;/g, '');
+				this.hform.HMaterModel = this.hform.HMaterModel.replace(/;/g, '');
                 if (!this.hform.HBarCode) {
                     uni.showToast({
                         title: '璇锋壂鎻忚澶囨潯褰㈢爜',

--
Gitblit v1.9.1