From 74f4d54e15111db46e15680cb47ba7bec847fc3b Mon Sep 17 00:00:00 2001
From: Rodney Chen <rodney.chen@hotmail.com>
Date: 星期五, 14 三月 2025 15:47:45 +0800
Subject: [PATCH] 增加送货单(U9)清点和收货单(U9)上架的Controller

---
 Tiger.Business.WMS/Transaction/Old/InFinished.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Tiger.Business.WMS/Transaction/Old/InFinished.cs b/Tiger.Business.WMS/Transaction/Old/InFinished.cs
index c329fec..88701cb 100644
--- a/Tiger.Business.WMS/Transaction/Old/InFinished.cs
+++ b/Tiger.Business.WMS/Transaction/Old/InFinished.cs
@@ -185,7 +185,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); //$"姝ょ墿鏂欐潯鐮佸叆搴撴暟閲忎笌娓呯偣鏁伴噺涓嶅悓锛屼笉鑳藉叆搴�";
@@ -287,8 +287,8 @@
                 var total = Biz.Db.Queryable<BIZ_ERP_PROD_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.UPDATE_TIME = DateTime.Now.Date;
-                billDetail.INSTOCKQTY = total; //inv.Barcode.Qty.ToDecimal();
-                billDetail.INVENTORYQTY = total; //inv.Barcode.Qty.ToDecimal();
+                billDetail.INSTOCKQTY = total; //inv.Barcode.Qty.ToDouble();
+                billDetail.INVENTORYQTY = total; //inv.Barcode.Qty.ToDouble();
                 var isCompleted = false;
                 // 鏇存柊鍗曟嵁HEADER鐘舵��
                 var billHeader = Biz.Db.Queryable<BIZ_ERP_PROD_IN>().Where(t => t.BILLCODE.ToUpper() == billCode).First();

--
Gitblit v1.9.3