From 673b5a596f611099eaacc310f6e7def0e022daca Mon Sep 17 00:00:00 2001
From: heshaofeng <heshaofeng@hnkhzn.com>
Date: 星期三, 29 四月 2026 11:00:55 +0800
Subject: [PATCH] 添加盘点模板和胶箱台账功能
---
项目代码/WMS无仓储版/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs | 30 +++++++++++++++++++++++++++---
1 files changed, 27 insertions(+), 3 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs"
index 22cc2ac..70f0e54 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS\346\227\240\344\273\223\345\202\250\347\211\210/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs"
@@ -1,4 +1,5 @@
-锘縰sing MailKit.Search;
+锘縰sing 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>
/// 鐢熸垚鍑哄簱浠诲姟
@@ -144,5 +155,18 @@
{
return await Service.AreaOutbound(stockViews);
}
+
+
+ [HttpPost, HttpGet, Route("CrossAreaOutbound"), AllowAnonymous]
+ public async Task<WebResponseContent> CrossAreaOutbound([FromBody] List<StockViewDTO> stockViews,int targetLocationType)
+ {
+ return await Service.CrossAreaOutbound(stockViews,targetLocationType);
+ }
+
+ [HttpPost("BatchOutboundByExcel")]
+ public async Task<WebResponseContent> BatchOutboundByExcel(IFormFile file, string outStation)
+ {
+ return await Service.BatchOutboundByExcel(file, outStation);
+ }
}
}
--
Gitblit v1.9.3