huangxiaoqiang
2025-10-27 387731cab892804912e68cb91e6fb804411c4756
ÏîÄ¿´úÂë/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/StockInfoController.cs
@@ -12,15 +12,16 @@
    {
    }
    /// <summary>
    /// æ ¹æ®ç‰©æ–™ç¼–码获取库存可用量视图
    /// </summary>
    /// <param name="materielCode"></param>
    /// <returns></returns>
    [HttpPost, HttpGet, Route("GetStockSelectViews"), AllowAnonymous]
    public List<StockSelectViewDTO> GetStockSelectViews(string materielCode)
    public List<StockSelectViewDTO> GetStockSelectViews([FromBody] GetStockSelectViewDto viewDto)
    {
        return Service.GetStockSelectViews(materielCode);
        return Service.GetStockSelectViews(viewDto);
    }
    /// <summary>
@@ -40,15 +41,19 @@
    /// <param name="groupPlate"></param>
    /// <returns></returns>
    [HttpPost, HttpGet, Route("DeleteGroupPlateAsync"), AllowAnonymous]
    public Task<WebResponseContent> DeleteGroupPlateAsync([FromBody] GroupPlate groupPlate)
    public async Task<WebResponseContent> DeleteGroupPlateAsync([FromBody] GroupPlate groupPlate)
    {
        return Service.DeleteGroupPlateAsync(groupPlate);
        return await Service.DeleteGroupPlateAsync(groupPlate);
    }
    [HttpPost, HttpGet, Route("GenerateOutboundTask"), AllowAnonymous]
    public WebResponseContent GenerateOutboundTask([FromBody] GenerateOutTaskDto requestOut)
    /// <summary>
    /// PDA获取库存视图
    /// </summary>
    /// <param name="groupPlate"></param>
    /// <returns></returns>
    [HttpPost, HttpGet, Route("GetStockView"), AllowAnonymous]
    public WebResponseContent GetStockView([FromBody] GetStockSelectViewDto viewDto)
    {
        return Service.GenerateOutboundTask(requestOut);
        return Service.GetStockView(viewDto);
    }
}