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