| | |
| | | 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); //$"此物料条码入库数量与清点数量不同,不能入库"; |
| | |
| | | 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(); |