heshaofeng
23 小时以前 673b5a596f611099eaacc310f6e7def0e022daca
ÏîÄ¿´úÂë/WMSÎÞ²Ö´¢°æ/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
@@ -1,4 +1,5 @@
using MailKit.Search;
using Magicodes.ExporterAndImporter.Excel.Utility;
using MailKit.Search;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
@@ -57,11 +58,21 @@
        }
        [HttpPost, Route("PalletOutboundTask"), AllowAnonymous, MethodParamsValidate]
        public async Task<WebResponseContent> PalletOutboundTask(int num, int locationType)
        public async Task<WebResponseContent> PalletOutboundTask(int num, int locationType, string? supplierCode = null)
        {
            return  await Service.PalletOutboundTask(num, locationType);
            return  await Service.PalletOutboundTask(num, locationType, supplierCode);
        }
        /// <summary>
        /// ä¾›åº”商实时搜索
        /// </summary>
        /// <param name="keyword"></param>
        /// <returns></returns>
        [HttpGet("SearchSupplierCode")]
        public async Task<WebResponseContent> SearchSupplierCode(string keyword)
        {
            return await Service.SearchSupplierCode(keyword);
        }
        /// <summary>
        /// ç”Ÿæˆå‡ºåº“任务
@@ -151,5 +162,11 @@
        {
            return await Service.CrossAreaOutbound(stockViews,targetLocationType);
        }
        [HttpPost("BatchOutboundByExcel")]
        public async Task<WebResponseContent> BatchOutboundByExcel(IFormFile file, string outStation)
        {
            return await Service.BatchOutboundByExcel(file, outStation);
        }
    }
}