服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
2025-03-10 40df5d91f800bb8b7be2638c13b4f9292d461221
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();