From 387731cab892804912e68cb91e6fb804411c4756 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期一, 27 十月 2025 23:32:16 +0800
Subject: [PATCH] 优化与ERP出库单逻辑,增加打印程序
---
项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/StockInfoController.cs | 48 +++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 47 insertions(+), 1 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 101e060..fcd0c9c 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"
@@ -1,4 +1,6 @@
-锘縰sing WIDESEA_IStorageBasicService;
+锘縰sing WIDESEA_DTO.Basic;
+using WIDESEA_DTO.Stock;
+using WIDESEA_IStorageBasicService;
namespace WIDESEA_WMSServer.Controllers;
@@ -8,6 +10,50 @@
{
public StockInfoController(IStockInfoService service) : base(service)
{
+
}
+ /// <summary>
+ /// 鏍规嵁鐗╂枡缂栫爜鑾峰彇搴撳瓨鍙敤閲忚鍥�
+ /// </summary>
+ /// <param name="materielCode"></param>
+ /// <returns></returns>
+ [HttpPost, HttpGet, Route("GetStockSelectViews"), AllowAnonymous]
+ public List<StockSelectViewDTO> GetStockSelectViews([FromBody] GetStockSelectViewDto viewDto)
+ {
+ return Service.GetStockSelectViews(viewDto);
+ }
+
+ /// <summary>
+ /// 缁勭洏
+ /// </summary>
+ /// <param name="groupPlate"></param>
+ /// <returns></returns>
+ [HttpPost, HttpGet, Route("AddGroupPlateAsync"), AllowAnonymous]
+ public Task<WebResponseContent> AddGroupPlateAsync([FromBody] GroupPlate groupPlate)
+ {
+ return Service.AddGroupPlateAsync(groupPlate);
+ }
+
+ /// <summary>
+ /// 瑙g洏
+ /// </summary>
+ /// <param name="groupPlate"></param>
+ /// <returns></returns>
+ [HttpPost, HttpGet, Route("DeleteGroupPlateAsync"), AllowAnonymous]
+ public async Task<WebResponseContent> DeleteGroupPlateAsync([FromBody] GroupPlate groupPlate)
+ {
+ return await Service.DeleteGroupPlateAsync(groupPlate);
+ }
+
+ /// <summary>
+ /// PDA鑾峰彇搴撳瓨瑙嗗浘
+ /// </summary>
+ /// <param name="groupPlate"></param>
+ /// <returns></returns>
+ [HttpPost, HttpGet, Route("GetStockView"), AllowAnonymous]
+ public WebResponseContent GetStockView([FromBody] GetStockSelectViewDto viewDto)
+ {
+ return Service.GetStockView(viewDto);
+ }
}
\ No newline at end of file
--
Gitblit v1.9.3