From c6dc50ab53302e0f0ac7026095c6ed6d828125af Mon Sep 17 00:00:00 2001 From: YangYuGang <1378265336@qq.com> Date: 星期一, 17 三月 2025 10:45:28 +0800 Subject: [PATCH] 同步获取杂发、杂收单据信息 --- 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