wangxinhui
2025-11-12 f54b7815d8451f362554e3d2d09b4991ce13d4ff
ÏîÄ¿´úÂë/WMS/WMSServices/WIDESEA_WMSServer/Controllers/TaskInfo/TaskController.cs
@@ -1,7 +1,10 @@
using 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>