From ba765e8f667e4daa4969d1c762f2cc2cc0e0ade6 Mon Sep 17 00:00:00 2001 From: Administrator <Administrator@DESKTOP-5BIMHQ3> Date: 星期日, 04 二月 2024 09:26:13 +0800 Subject: [PATCH] 修改bug --- Wms/WMS.BLL/BllAsnServer/ArrivalNoticeServer.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Wms/WMS.BLL/BllAsnServer/ArrivalNoticeServer.cs b/Wms/WMS.BLL/BllAsnServer/ArrivalNoticeServer.cs index bf8b36e..3cde474 100644 --- a/Wms/WMS.BLL/BllAsnServer/ArrivalNoticeServer.cs +++ b/Wms/WMS.BLL/BllAsnServer/ArrivalNoticeServer.cs @@ -103,7 +103,7 @@ rowCount = count; } - sqlString += "SELECT DISTINCT tb1.*,tb2.Status as AsnStatus,tb3.RealName as CreateUserName, "; + sqlString += "SELECT DISTINCT tb1.*,tb2.Type as AsnType,tb2.Status as AsnStatus,tb3.RealName as CreateUserName, "; sqlString += "tb4.RealName as UpdateUserName,isnull(tb6.UnitName,tb5.UnitNo) as UnitName,tb7.PackagName "; sqlString += "FROM BllArrivalNoticeDetail AS tb1 "; sqlString += "LEFT JOIN BllArrivalNotice AS tb2 ON tb1.ASNNo = tb2.ASNNo "; @@ -830,7 +830,7 @@ Standard = skuModel.Standard, LotNo = asnDetailModel.LotNo, LotText = "", - Qty = asnDetailModel.Qty, + Qty = (decimal)asnDetailModel.Qty, PackagNo = asnDetailModel.PackagNo, SupplierLot = asnDetailModel.SupplierLot, Status = "0", @@ -885,7 +885,7 @@ { SkuNo = d.SkuNo, LotNo = d.LotNo, - Qty = int.Parse(d.CompleteQty.ToString()), + Qty = d.CompleteQty, PackagNo = d.PackagNo, SupplierLot = d.SupplierLot }; -- Gitblit v1.8.0