服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
6 天以前 36746596927952a6b860129a62eec9059bf083a7
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();