From b07472f884708a6bfdf63d999004bbf0bb5f00a8 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期一, 17 十一月 2025 17:12:57 +0800
Subject: [PATCH] 新增分单功能、二维码打印及物料供应商管理页面
---
项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/StockInfoController.cs | 32 ++++++++++++++------------------
1 files changed, 14 insertions(+), 18 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/StockInfoController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/StockInfoController.cs"
index c35f50a..464fbd3 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/StockInfoController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/StockInfoController.cs"
@@ -12,43 +12,39 @@
{
}
+
/// <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>
- /// 缁勭洏
+ /// PDA鑾峰彇搴撳瓨瑙嗗浘
/// </summary>
/// <param name="groupPlate"></param>
/// <returns></returns>
- [HttpPost, HttpGet, Route("AddGroupPlateAsync"), AllowAnonymous]
- public Task<WebResponseContent> AddGroupPlateAsync([FromBody] GroupPlate groupPlate)
+ [HttpPost, HttpGet, Route("GetStockView"), AllowAnonymous]
+ public WebResponseContent GetStockView([FromBody] GetStockSelectViewDto viewDto)
{
- return Service.AddGroupPlateAsync(groupPlate);
+ return Service.GetStockView(viewDto);
}
- /// <summary>
- /// 瑙g洏
- /// </summary>
- /// <param name="groupPlate"></param>
- /// <returns></returns>
- [HttpPost, HttpGet, Route("DeleteGroupPlateAsync"), AllowAnonymous]
- public async Task<WebResponseContent> DeleteGroupPlateAsync([FromBody] GroupPlate groupPlate)
+ [HttpPost, HttpGet, Route("GetStockData"), AllowAnonymous]
+ public Task<WebResponseContent> GetStockData()
{
- return await Service.DeleteGroupPlateAsync(groupPlate);
+ return Service.GetStockData();
}
- [HttpPost, HttpGet, Route("GenerateOutboundTask"), AllowAnonymous]
- public async Task<WebResponseContent> GenerateOutboundTask([FromBody] GenerateOutTaskDto requestOut)
+ [HttpPost, HttpGet, Route("PrintOrder"), AllowAnonymous]
+ public Task<WebResponseContent> PrintOrder([FromBody]object[] key)
{
- return await Service.GenerateOutboundTask(requestOut);
+ return Service.PrintOrder(key);
}
-
}
\ No newline at end of file
--
Gitblit v1.9.3