From 1543e640a8867fa7c8a99fae43402b81876a95a8 Mon Sep 17 00:00:00 2001 From: Demo <Demo@DESKTOP-CPA90BF> Date: 星期六, 24 二月 2024 11:09:42 +0800 Subject: [PATCH] Merge branch 'csc' --- Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs b/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs index 714766d..e863a79 100644 --- a/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs +++ b/Wms/WMS.BLL/BllSoServer/ExportNoticeServer.cs @@ -2256,11 +2256,11 @@ } #endregion //鍙栧悎閫傚簱瀛樺晢鍝� - Dictionary<int, int> stockQtyDic = new Dictionary<int, int>();//鎵樺嚭搴撶墿鍝佹暟 + Dictionary<int, decimal> stockQtyDic = new Dictionary<int, decimal>();//鎵樺嚭搴撶墿鍝佹暟 Dictionary<string, int> zxQtyDic = new Dictionary<string, int>();//鎵樺嚭鏁寸鏁� //鍒嗛厤璐х墿 //assign.AllocatePallets(stocks, pNum, bNum, needQty, stockQtyDic, zxQtyDic); - int qty = assign.AllotPallets(stockDetail, int.Parse(needQty.ToString()), pNum, bNum, stockQtyDic); + var qty = assign.AllotPallets(stockDetail, decimal.Parse(needQty.ToString()), pNum, bNum, stockQtyDic); foreach (var sc in stockQtyDic) { @@ -2678,8 +2678,8 @@ //淇敼鍑哄簱鍗曠姸鎬� if (notice.Status == "0" || notice.Status == "1") { - int totalQty = 0; - int totalAllotQty = 0; + decimal totalQty = 0; + decimal totalAllotQty = 0; foreach (var item in detailList) { totalQty += item.Qty; -- Gitblit v1.8.0