From d117611cf53edf6ba8025f2d65a0c52fb3ec7296 Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期三, 19 三月 2025 11:44:48 +0800 Subject: [PATCH] Merge branch 'master' of http://47.115.28.255:8110/r/TigerClouds-Tech/Server/TigerApi6_2024 --- 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