| | |
| | | //} |
| | | |
| | | /// <summary> |
| | | /// 单据取消 |
| | | /// 出库单据取消 |
| | | /// </summary> |
| | | /// <returns></returns> |
| | | public WebResponseContent CancelOut(HouseCancelOut houseCancelOut) |
| | |
| | | _outboundOrderDetailService.DeleteData(item); |
| | | } |
| | | BaseDal.DeleteData(oldOutboundOrder); |
| | | |
| | | //#region 验证数据 |
| | | //(bool, string, object?) result = CheckOutboundOrderAddData(orderAddDTO1); |
| | | //if (!result.Item1) return content = WebResponseContent.Instance.Error(result.Item2); |
| | | //#endregion |
| | | |
| | | //Dt_OutboundOrder inboundOrder = _mapper.Map<Dt_OutboundOrder>(orderAddDTO1); |
| | | //inboundOrder.OrderStatus = InboundStatusEnum.未开始.ObjToInt(); |
| | | //inboundOrder.OrderType = OutOrderTypeEnum.OutInventory.ObjToInt(); |
| | | //inboundOrder.Creater = "WMS"; |
| | | //inboundOrder.CreateDate = DateTime.Now; |
| | | //bool a = BaseDal.Db.InsertNav(inboundOrder).Include(x => x.Details).ExecuteCommand(); |
| | | content = WebResponseContent.Instance.OK(); |
| | | } |
| | | catch (Exception ex) |