From 4279cb4384f7f960d87af8b8ad9db73c2dececa3 Mon Sep 17 00:00:00 2001
From: xiaojiao <xiaojiao@kaokeziliao.com>
Date: 星期五, 26 十二月 2025 16:53:29 +0800
Subject: [PATCH] xj添加pda两个新页面
---
项目代码/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/BasicInfo/Partial/Dt_EmptyPalletService.cs | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/BasicInfo/Partial/Dt_EmptyPalletService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/BasicInfo/Partial/Dt_EmptyPalletService.cs"
index a4bef02..2071302 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/BasicInfo/Partial/Dt_EmptyPalletService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/BasicInfo/Partial/Dt_EmptyPalletService.cs"
@@ -58,6 +58,10 @@
saveDataModel.MainData["EmptyPallet_modifier"] = UserContext.Current.UserTrueName;
saveDataModel.MainData["EmptyPallet_modifiertime"] = DateTime.Now;
string materiel_pallet_code = saveDataModel.MainData["EmptyPallet_name"].ToString();
+ if (materiel_pallet_code.Length != 6)
+ {
+ return content.Error("鎵樼洏鏉$爜鍙兘鏄叚浣嶆暟");
+ }
if (repository.Exists(x => x.EmptyPallet_name == materiel_pallet_code))
return content.Error("褰撳墠鎵樼洏鏉$爜宸插瓨鍦�,璇峰嬁閲嶅娣诲姞.");
--
Gitblit v1.9.3