From e26f91635aa0343f6f5c201c95d20141dc465ed3 Mon Sep 17 00:00:00 2001
From: YangYuGang <1378265336@qq.com>
Date: 星期一, 28 四月 2025 09:49:40 +0800
Subject: [PATCH] 收货单新增行库位修改

---
 Tiger.Business.WMS/Transaction/Old/CustomerSupplyInNew.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Tiger.Business.WMS/Transaction/Old/CustomerSupplyInNew.cs b/Tiger.Business.WMS/Transaction/Old/CustomerSupplyInNew.cs
index 541d0f3..2fc6f05 100644
--- a/Tiger.Business.WMS/Transaction/Old/CustomerSupplyInNew.cs
+++ b/Tiger.Business.WMS/Transaction/Old/CustomerSupplyInNew.cs
@@ -199,7 +199,7 @@
                         return action;
                     }
 
-                    if (barcodeScanned.QTY != inv.Barcode.Qty.ToDecimal())
+                    if (barcodeScanned.QTY != inv.Barcode.Qty.ToDouble())
                     {
                         action.IsSuccessed = false;
                         action.LocaleMsg = Biz.L("WMS.CustSupChk.ScanItem.DiffQty", inv.SN); //$"姝ょ墿鏂欐潯鐮佸叆搴撴暟閲忎笌娓呯偣鏁伴噺涓嶅悓锛屼笉鑳藉叆搴�";
@@ -294,7 +294,7 @@
                 var total = Biz.Db.Queryable<BIZ_ERP_OTH_IN_SN>().Where(t => t.BUSINESSCODE.ToUpper() == billCode.ToUpper() && t.BUSINESSLINE == billLine)
                     .Where(x=>x.STATUS == WMS_ITEM.STATUSs.InStore.GetValue() || x.SN == inv.SN).Sum(x => x.QTY);
                 billDetail.DELIVERYDATE = DateTime.Now.Date;
-                billDetail.QTY = total; //inv.Barcode.Qty.ToDecimal();
+                billDetail.QTY = total; //inv.Barcode.Qty.ToDouble();
                 var isCompleted = false;
                 // 鏇存柊鍗曟嵁HEADER鐘舵��
                 var billHeader = Biz.Db.Queryable<BIZ_ERP_OTH_IN>().Where(t => t.BILLCODE.ToUpper() == billCode).First();

--
Gitblit v1.9.3