From df97e66f99cf081abf212a8d97fc32afe9c6e7a7 Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期五, 17 一月 2025 13:46:32 +0800 Subject: [PATCH] 更新配置文件PDA版本 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/PurchaseOrderDetailController.cs | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/PurchaseOrderDetailController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/PurchaseOrderDetailController.cs" index 7c1a91f..2a4cb19 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/PurchaseOrderDetailController.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Inbound/PurchaseOrderDetailController.cs" @@ -1,5 +1,7 @@ -锘縰sing Microsoft.AspNetCore.Http; +锘縰sing Microsoft.AspNetCore.Authorization; +using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; +using WIDESEA_Core; using WIDESEA_Core.BaseController; using WIDESEA_IInboundService; using WIDESEA_Model.Models; @@ -16,5 +18,15 @@ public PurchaseOrderDetailController(IPurchaseOrderDetailService service) : base(service) { } + [HttpPost, HttpGet, Route("GetPurchaseOrderDetailMaterielCode"), AllowAnonymous] + public WebResponseContent GetPurchaseOrderDetailMaterielCode(int warehouseId) + { + return Service.GetPurchaseOrderDetailMaterielCode(warehouseId); + } + [HttpPost, HttpGet, Route("GetPurchaseOrderNos"), AllowAnonymous] + public WebResponseContent GetPurchaseOrderNos(string materielCode) + { + return Service.GetPurchaseOrderNos(materielCode); + } } } -- Gitblit v1.9.3