| | |
| | | WebResponseContent UnPalletQuantity(string orderNo); |
| | | |
| | | WebResponseContent UndoPalletGroup(string palletCode , string barcode = ""); |
| | | |
| | | WebResponseContent UnPalletGroupBarcode(string orderNo); |
| | | } |
| | | } |
| | |
| | | // return new PageGridData<Dt_InboundOrder>(); |
| | | //} |
| | | |
| | | public WebResponseContent UnPalletGroupBarcode(string orderNo) |
| | | { |
| | | WebResponseContent content = new WebResponseContent(); |
| | | var inbound = _inboundOrderRepository.Db.Queryable<Dt_InboundOrder>().Where(x => x.InboundOrderNo == orderNo).First(); |
| | | if(inbound == null) |
| | | { |
| | | return content.Error(); |
| | | } |
| | | |
| | | var details = _inboundOrderDetailRepository.Db.Queryable<Dt_InboundOrderDetail>().Where(x => x.OrderId == inbound.Id && x.ReceiptQuantity == 0).ToList(); |
| | | |
| | | return content.OK(data:details); |
| | | } |
| | | } |
| | | } |
| | |
| | | |
| | | } |
| | | |
| | | [HttpPost, Route("UnPalletGroupBarcode"), AllowAnonymous, MethodParamsValidate] |
| | | public WebResponseContent UnPalletGroupBarcode(string orderNo) |
| | | { |
| | | return Service.UnPalletGroupBarcode(orderNo); |
| | | } |
| | | |
| | | [HttpPost, Route("UndoPalletGroup"), AllowAnonymous, MethodParamsValidate] |
| | | public WebResponseContent UndoPalletGroup(string palletCode,string barcode="") |
| | | { |