From 40df5d91f800bb8b7be2638c13b4f9292d461221 Mon Sep 17 00:00:00 2001 From: Rodney Chen <rodney.chen@hotmail.com> Date: 星期一, 10 三月 2025 18:13:50 +0800 Subject: [PATCH] 增加送货单清点事务 --- Tiger.Business.WMS/Transaction/Old/InProductionReturn.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Tiger.Business.WMS/Transaction/Old/InProductionReturn.cs b/Tiger.Business.WMS/Transaction/Old/InProductionReturn.cs index 024841b..425ba4a 100644 --- a/Tiger.Business.WMS/Transaction/Old/InProductionReturn.cs +++ b/Tiger.Business.WMS/Transaction/Old/InProductionReturn.cs @@ -162,7 +162,7 @@ // return action; // } - // if (barcodeScanned.SCANQTY != inv.Barcode.Qty.ToDecimal()) + // if (barcodeScanned.SCANQTY != inv.Barcode.Qty.ToDouble()) // { // action.IsSuccessed = false; // action.LocaleMsg = Biz.L("WMS.CustSupChk.ScanItem.DiffQty", inv.SN); //$"姝ょ墿鏂欐潯鐮佸叆搴撴暟閲忎笌娓呯偣鏁伴噺涓嶅悓锛屼笉鑳藉叆搴�"; @@ -187,11 +187,11 @@ { foreach (var item in inv.Items) { - item.QTY = inv.Barcode.Qty.ToDecimal(); + item.QTY = inv.Barcode.Qty.ToDouble(); } foreach (var item in inv.Packages) { - item.QTY = inv.Barcode.Qty.ToDecimal(); + item.QTY = inv.Barcode.Qty.ToDouble(); } } //CustomerSupplyPuton.LocationCode = nLocation.LOCATION_CODE; @@ -295,7 +295,7 @@ dtl.INVENTORYQTY = total; } //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_PROD_RETURN>().Where(t => t.BILLCODE.ToUpper() == billCode).First(); @@ -341,7 +341,7 @@ } } //billDetail.DELIVERYDATE = DateTime.Now.Date; - //billDetail.QTY = total; //inv.Barcode.Qty.ToDecimal(); + //billDetail.QTY = total; //inv.Barcode.Qty.ToDouble(); var isCompletedT = false; // 鏇存柊鍗曟嵁HEADER鐘舵�� var billHeaderT = Biz.Db.Queryable<BIZ_WMS_TRANSFER>().Where(t => t.BILLCODE.ToUpper() == billCodeT).First(); -- Gitblit v1.9.3