| | |
| | | return WebResponseContent.Instance.Error($"æç{palletCode}䏿ªæ¾å°æ¡ç {barcode}çæç»è®°å½"); |
| | | } |
| | | |
| | | ResetInboundOrderStatus(new List<string> { targetDetail.OrderNo},new List<string> { targetDetail.Barcode}); |
| | | // å é¤æå®æç» |
| | | _stockDetailRepository.DeleteData(targetDetail); |
| | | |
| | | |
| | | // éæ°æ¥è¯¢å©ä½æç»ï¼ä¿è¯æ°æ®åç¡®æ§ï¼ |
| | | var remainingDetails = _stockDetailRepository.Db.Queryable<Dt_StockInfoDetail>() |
| | |
| | | |
| | | if (inboundOrder == null) continue; |
| | | |
| | | inboundOrder.OrderStatus = 0; |
| | | _inboundOrderRepository.UpdateData(inboundOrder); |
| | | bool isSingleBarcode = barcodes != null && barcodes.Count == 1; |
| | | if (!isSingleBarcode) |
| | | { |
| | | // éå个æ¡ç ï¼æ´å/å¤ä¸ªæ¡ç ï¼ï¼éç½®ä¸»è¡¨ç¶æä¸º0 |
| | | inboundOrder.OrderStatus = 0; |
| | | _inboundOrderRepository.UpdateData(inboundOrder); |
| | | } |
| | | |
| | | // éç½®å
¥åºåæç»ç¶æ |
| | | if (inboundOrder.Details == null || !inboundOrder.Details.Any()) continue; |