From 598ba81de7ee41a1f62fd818bf9c29e910ec3306 Mon Sep 17 00:00:00 2001
From: yuyou_x <2336760928@qq.com>
Date: 星期五, 29 三月 2024 11:28:39 +0800
Subject: [PATCH] 修改数据类型

---
 Wms/WMS.BLL/BllPdaServer/PdaAsnServer.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Wms/WMS.BLL/BllPdaServer/PdaAsnServer.cs b/Wms/WMS.BLL/BllPdaServer/PdaAsnServer.cs
index 2344c3b..2a58636 100644
--- a/Wms/WMS.BLL/BllPdaServer/PdaAsnServer.cs
+++ b/Wms/WMS.BLL/BllPdaServer/PdaAsnServer.cs
@@ -324,7 +324,7 @@
                     PalletNo3 = model.PalletNo3,
                     Status = "1",
                     CompleteTime = DateTime.Now,
-                    Qty = (int)model.Qty,
+                    Qty = (decimal)model.Qty,
                     FullQty = null,
                     SkuNo = "100099",
                     SkuName = "鎵樼洏",
@@ -415,7 +415,7 @@
                     UpbindPalletNo = upBindPalletNo,
                     PalletNo2 = bindVms[0].PalletNo2,
                     PalletNo3 = bindVms[0].PalletNo3,
-                    Qty = (int)bindVms[0].Qty,
+                    Qty = bindVms[0].Qty,
                     LotNo = bindVms[0].LotNo,
                     LotText = bindVms[0].LotText,
                     SupplierLot = bindVms[0].SupplierLot,
@@ -801,7 +801,7 @@
                             return strMsg;
                         }
                         #endregion
-                        var pallQty = 0;//鎵樼洏涓婃暟閲�
+                        decimal pallQty = 0;//鎵樼洏涓婃暟閲�
                         var boxinfo2 = boxinfo.Where(w => w.SkuNo == noticeItem.SkuNo && w.LotNo == noticeItem.LotNo && w.PalletNo == model.PalletNo).ToList();
                         if (boxinfo2.Count <= 0)
                         {
@@ -1402,7 +1402,7 @@
                 {
                     throw new Exception("-1:绠辩爜淇℃伅涓嶅瓨鍦紝璇锋牳鏌�!");
                 }
-                var bNum = 0;//鏁伴噺
+                decimal bNum = 0;//鏁伴噺
                 //楠岃瘉绠辩爜鏄惁宸茬粦瀹氭墭鐩�
                 foreach (var item in boxinfo)
                 {
@@ -2090,7 +2090,7 @@
                     var boxGroup = boxInfoList.GroupBy(m => m.BoxNo).ToList();
                     foreach (var g in boxGroup)
                     {
-                        var boxFullQty = 0;//绠卞唴鎬绘暟閲�
+                        decimal boxFullQty = 0;//绠卞唴鎬绘暟閲�
                         foreach (var box in g)
                         {
                             if (box.BindNo != null && box.BindNo != 0)

--
Gitblit v1.8.0