| | |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Common; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.Const; |
| | | using WIDESEA_DTO; |
| | | using WIDESEA_DTO.WMS; |
| | | using WIDESEA_IServices; |
| | | using WIDESEA_Model.Models; |
| | | |
| | |
| | | |
| | | return base.UpdateData(saveModel); |
| | | } |
| | | |
| | | |
| | | public WebResponseContent HandOutTask(int locationID) |
| | | { |
| | | LogFactory.GetLog("手动出库任务").InfoFormat(true, "手动出库任务", JsonConvert.SerializeObject(locationID), App.User.UserName); |
| | |
| | | { |
| | | Dt_Task task = new Dt_Task |
| | | { |
| | | Grade = 1, |
| | | Grade = 3, |
| | | Roadway = location.RoadwayNo, |
| | | TargetAddress = "001-035-001", |
| | | TargetAddress = "001-048-001", |
| | | Dispatchertime = DateTime.Now, |
| | | MaterialNo = "", |
| | | NextAddress = "001-035-001", |
| | | NextAddress = "001-048-001", |
| | | OrderNo = null, |
| | | PalletCode = stock == null ? "M" + DateTime.Now.ToString("MMddHHmmss") + "-" + new Random().Next(100, 1000) : stock.PalletCode, |
| | | SourceAddress = location.LocationCode, |