From 1b27b85e8f9a8d009cb2315fe86380a668207da0 Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Fri, 31 May 2024 10:15:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=93=E5=BA=93=E5=85=A5=E5=BA=93=E5=8D=95?= =?UTF-8?q?=20=E6=96=B0=E5=A2=9E=20=E5=85=A5=E5=BA=93-=E9=87=87=E8=B4=AD?= =?UTF-8?q?=E5=8D=95(=E4=BB=93=E5=BA=93=E5=85=A5=E5=BA=93)=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=A1=B5=E9=9D=A2storagePurchaseWarehouseDetail.html?= =?UTF-8?q?=20=E6=96=B0=E5=A2=9E=E8=AF=A6=E6=83=85=E6=8C=89=E9=92=AE=20?= =?UTF-8?q?=E5=90=8E=E7=AB=AF=E6=96=B0=E5=A2=9E=E8=AF=A6=E6=83=85=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WarehouseStorageOrderController.java | 24 ++ .../warehouse/storageOrder/storageOrder.html | 9 + .../storagePurchaseWarehouseDetail.html | 367 ++++++++++++++++++ 3 files changed, 400 insertions(+) create mode 100644 ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storagePurchaseWarehouseDetail.html diff --git a/ruoyi-admin/src/main/java/com/ruoyi/warehouse/controller/WarehouseStorageOrderController.java b/ruoyi-admin/src/main/java/com/ruoyi/warehouse/controller/WarehouseStorageOrderController.java index 1f58271f..120c675d 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/warehouse/controller/WarehouseStorageOrderController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/warehouse/controller/WarehouseStorageOrderController.java @@ -313,6 +313,30 @@ public class WarehouseStorageOrderController extends BaseController } + /** + * 入库-采购单(仓库入库)详情 + */ + @GetMapping("/storagePurchaseWarehouseDetail/{warehouseStorageId}") + public String storagePurchaseWarehouseDetail(@PathVariable("warehouseStorageId") Long warehouseStorageId, ModelMap mmap) + { + WarehouseStorageOrder warehouseStorageOrder = warehouseStorageOrderService.selectWarehouseStorageOrderById(warehouseStorageId); + mmap.put("warehouseStorageOrder", warehouseStorageOrder); + return prefix + "/storagePurchaseWarehouseDetail"; + } + + /** + * 修改保存入库-采购单(仓库入库)详情 + */ + @RequiresPermissions("warehouse:storageOrder:storagePurchaseWarehouseDetail") + @Log(title = "仓库入库单", businessType = BusinessType.UPDATE) + @PostMapping("/storagePurchaseWarehouseDetail") + @ResponseBody + public AjaxResult storagePurchaseWarehouseDetailSave(@RequestBody WarehouseStorageOrder warehouseStorageOrder) + { + return toAjax(warehouseStorageOrderService.updateWarehouseStorageOrder(warehouseStorageOrder)); + } + + /** * 入库-采购单(仓库入库) 供应商物料详情列表 */ diff --git a/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageOrder.html b/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageOrder.html index 96e53255..8c4fc105 100644 --- a/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageOrder.html +++ b/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageOrder.html @@ -86,6 +86,7 @@ var storageRefundsExchangesFlag = [[${@permission.hasPermi('warehouse:storageOrder:storageRefundsExchanges')}]]; var storagePurchaseDetailFlag = [[${@permission.hasPermi('warehouse:storageOrder:storagePurchaseDetail')}]]; + var storagePurchaseWarehouseDetailFlag = [[${@permission.hasPermi('warehouse:storageOrder:storagePurchaseWarehouseDetail')}]]; var storageMakeDetailFlag = [[${@permission.hasPermi('warehouse:storageOrder:storageMakeDetail')}]]; var storageMakeInDetailFlag = [[${@permission.hasPermi('warehouse:storageOrder:storageMakeInDetail')}]]; var storageOutOrderDetailFlag = [[${@permission.hasPermi('warehouse:storageOrder:storageOutOrderDetail')}]]; @@ -261,6 +262,8 @@ /*入库-采购单(仓库入库)*/ if ( row.warehouseDeptType == 1 && row.warehouseOrderType == 0 && (row.warehouseStorageStatus == 2 || row.warehouseStorageStatus == 3) ){ actions.push('入库 '); + actions.push('详情 '); + } /*入库-委外单*/ if ( row.warehouseStorageType == 4 && row.warehouseOrderType == 3 && (row.warehouseStorageStatus == 2 || row.warehouseStorageStatus == 3) ){ @@ -326,6 +329,12 @@ $.modal.open("入库",url); }; + /*入库-采购单(仓库入库)详情*/ + function storagePurchaseWarehouseDetail(warehouseStorageId){ + var url = ctx + 'warehouse/storageOrder/storagePurchaseWarehouseDetail/' + warehouseStorageId; + $.modal.open("详情",url); + }; + /*入库-生产订单(生产入库)*/ function storageMake(warehouseStorageId){ var url = ctx + 'warehouse/storageOrder/storageMake/' + warehouseStorageId; diff --git a/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storagePurchaseWarehouseDetail.html b/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storagePurchaseWarehouseDetail.html new file mode 100644 index 00000000..a04d814e --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storagePurchaseWarehouseDetail.html @@ -0,0 +1,367 @@ + + +
+