From b532ba8806996246ab7a0896bf34b884c47dee7e Mon Sep 17 00:00:00 2001
From: xiaojiao <xiaojiao@kaokeziliao.com>
Date: 星期二, 14 四月 2026 14:06:25 +0800
Subject: [PATCH] 试生产版本

---
 项目代码/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/ToAPP/InboundBoxingAction.cs |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/ToAPP/InboundBoxingAction.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/ToAPP/InboundBoxingAction.cs"
index 68c881f..d030bab 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/ToAPP/InboundBoxingAction.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA.Services/Services/ToAPP/InboundBoxingAction.cs"
@@ -54,6 +54,9 @@
                 //鐢熶骇鏃ユ湡
                 string ProductDate = saveModel.MainData["ProductDate"].ToString();
 
+                // 鏍囧噯鍊�
+                string Standard_value = saveModel.MainData["Standard_value"].ToString();
+
                 if (string.IsNullOrEmpty(madeUnit) || string.IsNullOrEmpty(materielId) || string.IsNullOrEmpty(materielType) || string.IsNullOrEmpty(NewOrOld))
                     throw new Exception($"鍘傚/杞/鍨嬪彿/妫�淇被鍨嬮兘涓嶈兘涓虹┖");
 
@@ -94,7 +97,7 @@
                     throw new Exception($"鎵樼洏鐮�:銆恵rfid}銆戝凡缁忓瓨鍦ㄤ簬绌烘墭鐩樺簱瀛樹腑,璐т綅鍙�:{conInfoEmpty.location_id}");
 
                 //鏌ユ壘璇ユ墭鐩樻槸鍚︿箣鍓嶅叆杩囧簱锛岀粍鐩樿繘搴撶殑鎵樼洏涔嬪墠蹇呴』宸茬粡鍏ヨ繃搴撶殑
-                Dt_EmptyPallet dt_EmptyPallet = Dt_EmptyPalletRepository.Instance.Find(x => x.EmptyPallet_name == rfid).First();
+                Dt_EmptyPallet dt_EmptyPallet = Dt_EmptyPalletRepository.Instance.Find(x => x.EmptyPallet_name == rfid).FirstOrDefault();
                 if (dt_EmptyPallet == null)
                     throw new Exception($"鎵樼洏鐮�:銆恵rfid}銆�,鍦ㄦ墭鐩樼鐞嗕腑锛屾棤璇ユ墭鐩橈紝璇峰厛娣诲姞鎵樼洏淇℃伅");
 
@@ -153,9 +156,13 @@
                     info.mesInfo_createType = "mes";
                     info.mesInfo_qrCode = qrCode;
                     info.mesInfo_createDate = DateTime.Now;
+                    info.mesInfo_bak_3 = Standard_value; // 浠ュ悗鏍囧噯鍊间粠杩欓噷鑾峰彇 鑲栦郊鏂板
 
                     Dt_mes_goods_infoRepository.Instance.Add(info, true);
 
+
+
+
                     //鑾峰彇绌鸿揣浣�
                     Dt_locationinfo emptyLocation = CommonFunction.GetEmptyLocationAction();
                     //鑾峰彇浠诲姟

--
Gitblit v1.9.3