huangxiaoqiang
12 小时以前 f1cad31b8247a57699c34067cfc0cd31cf0a91c8
CodeManagement/WMS/WIDESEA_WMSServer/WIDESEA_StorageBasicServices/Location/LocationInfoService.cs
@@ -3,7 +3,9 @@
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;
@@ -124,6 +126,8 @@
        return base.UpdateData(saveModel);
    }
    public WebResponseContent HandOutTask(int locationID)
    {
        LogFactory.GetLog("手动出库任务").InfoFormat(true, "手动出库任务", JsonConvert.SerializeObject(locationID), App.User.UserName);
@@ -137,12 +141,12 @@
            {
                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,