From 2be1922b035c182c3c516427aa68be54badd6938 Mon Sep 17 00:00:00 2001
From: IPC-610 <IPC-610@DESKTOP-6LEOOS3>
Date: 星期四, 26 九月 2024 15:15:52 +0800
Subject: [PATCH] 登录页修改

---
 Wms/WMS.BLL/BllAsnServer/BllBoxInfoServer.cs |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/Wms/WMS.BLL/BllAsnServer/BllBoxInfoServer.cs b/Wms/WMS.BLL/BllAsnServer/BllBoxInfoServer.cs
index a78bdc4..d1d0140 100644
--- a/Wms/WMS.BLL/BllAsnServer/BllBoxInfoServer.cs
+++ b/Wms/WMS.BLL/BllAsnServer/BllBoxInfoServer.cs
@@ -529,7 +529,7 @@
         }
 
         //鑾峰彇鏍囩淇℃伅(鐢熸垚鏍囩)
-        public List<BllBoxInfo> AddLabelBox(int imId, string isReset, decimal arriveQty, string productionTime, string expirationTime, string storeTime, int userId)
+        public List<BllBoxInfo> AddLabelBox(int imId, string isReset, decimal arriveQty, string productionTime, string expirationTime, string storeTime,string supplierLot, int userId)
         {
             try
             { 
@@ -757,7 +757,7 @@
                             ASNNo = asnList.ASNNo,
                             ASNDetailNo = asnList.Id,
                             BoxNo = maxBoxCode, 
-                            Qty = int.Parse(boxQty.ToString()),
+                            Qty = boxQty,
                             FullQty = bNum,
                             Status = "0",
                             SkuNo = asnList.SkuNo,
@@ -765,10 +765,10 @@
                             LotNo = maxLotNoStr,
                             Standard = asnList.Standard,
                             PackageStandard = packStr,
-                            SupplierLot = asnList.SupplierLot,
+                            SupplierLot = supplierLot,
                             InspectMark = "0",
                             BitBoxMark = bNum > boxQty ? "1":"0",
-                            InspectStatus = "",
+                            InspectStatus = "0",
 
                             ProductionTime = DateTime.Parse(productionTime),
                             StoreTime = DateTime.Parse(storeTime),
@@ -962,8 +962,8 @@
                                 maxboxcode3 = maxboxcode3.Substring(0, 11) + (int.Parse(maxboxcode3.Substring(11, 4)) + 1).ToString().PadLeft(4, '0'); 
                             }
 
-                            var ssss = d.ToString("0");
-                            var sss = int.Parse(ssss);
+                            //var ssss = d.ToString("0");
+                            //var sss = int.Parse(ssss);
 
                             // 灏嗘潯鐮佷繚瀛樺埌鍘熸枡鏉$爜琛�
                             var labelModel = new BllBoxInfo()
@@ -972,7 +972,7 @@
                                 ASNDetailNo = asnList.Id,
                                 BoxNo = maxboxcode2,
                                 BoxNo3 = maxboxcode3,
-                                Qty = sss,
+                                Qty = d,
                                 FullQty = bNum,
                                 Status = "0",
                                 SkuNo = asnList.SkuNo,
@@ -980,7 +980,7 @@
                                 LotNo = maxCodestr2,
                                 Standard = asnList.Standard,
                                 PackageStandard = packStr,
-                                SupplierLot = asnList.SupplierLot,
+                                SupplierLot = supplierLot,
                                 InspectMark = "0",
                                 BitBoxMark = bNum > boxQty ? "1" : "0",
                                 InspectStatus = "0",

--
Gitblit v1.8.0