From f54b7815d8451f362554e3d2d09b4991ce13d4ff Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期三, 12 十一月 2025 09:01:16 +0800
Subject: [PATCH] 前端优化,PDA更新,分配库存优化

---
 项目代码/WMS/WMSServices/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs |   19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)

diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs"
index 00d98e3..43844a5 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs"
@@ -1,7 +1,10 @@
 锘縰sing Microsoft.AspNetCore.Authorization;
 using Microsoft.AspNetCore.Http;
 using Microsoft.AspNetCore.Mvc;
+using System.Diagnostics.CodeAnalysis;
 using WIDESEA_Common.CommonEnum;
+using WIDESEA_Common.MaterielEnum;
+using WIDESEA_Common.OrderEnum;
 using WIDESEA_Core;
 using WIDESEA_Core.BaseController;
 using WIDESEA_DTO.Outbound;
@@ -59,7 +62,7 @@
         }
 
         /// <summary>
-        /// 鎴愬搧绌烘鍥炲簱
+        /// 鎴愬搧绌烘墭鍥炲簱
         /// </summary>
         /// <param name="barCode"></param>
         /// <param name="startPoint"></param>
@@ -79,6 +82,16 @@
         {
             return Service.InboundFLOrCPTask(barCode, startPoint, matCode, matCount,oneCount);
         }
+        /// <summary>
+        /// 杈呮枡(鎴愬搧)閲囪喘/鏈熷垵鍏ュ簱
+        /// </summary>
+        /// <returns></returns>
+        [HttpPost, HttpGet, Route("InboundOrderInTask"), AllowAnonymous]
+        public WebResponseContent InboundOrderInTask([NotNull] string bindCode, [NotNull] string barCode, [NotNull] string startPoint, int orderType = 0)
+        {
+            return Service.InboundOrderInTask(bindCode, barCode, startPoint, orderType);
+        }
+
 
         /// <summary>
         /// 鍒ゆ柇鏄惁闇�瑕佺Щ搴�
@@ -165,9 +178,9 @@
         /// <param name="palletCode">绾稿嵎鏉$爜</param>
         /// <returns></returns>
         [HttpPost, HttpGet, Route("PurchaseBoxing"), AllowAnonymous]
-        public WebResponseContent PurchaseBoxing(string palletCode)
+        public WebResponseContent PurchaseBoxing(string palletCode, int orderType=0)
         {
-            return Service.PurchaseBoxing(palletCode);
+            return Service.PurchaseBoxing(palletCode, orderType);
         }
 
         /// <summary>

--
Gitblit v1.9.3