From 1959aeacbce859a3d99b641c6078292cd20b7934 Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Fri, 31 May 2024 10:24:24 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=E4=BB=93=E5=BA=93=E7=AE=A1=E7=90=86:=20?= =?UTF-8?q?=E4=BB=93=E5=BA=93=E5=85=A5=E5=BA=93=E5=8D=95=20=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=20=E5=85=A5=E5=BA=93-=E9=80=80=E6=8D=A2=E8=B4=A7?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E8=AF=A6=E6=83=85storageRefundsExchangesDeta?= =?UTF-8?q?il.html=20=E6=96=B0=E5=A2=9E=E8=AF=A6=E6=83=85=E6=8C=89?= =?UTF-8?q?=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WarehouseStorageOrderController.java | 23 ++ .../warehouse/storageOrder/storageOrder.html | 8 +- .../storageRefundsExchangesDetail.html | 321 ++++++++++++++++++ 3 files changed, 351 insertions(+), 1 deletion(-) create mode 100644 ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageRefundsExchangesDetail.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 120c675d..1890ca39 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 @@ -550,6 +550,29 @@ public class WarehouseStorageOrderController extends BaseController } + /** + * 入库-退换货单详情 + */ + @GetMapping("/storageRefundsExchangesDetail/{warehouseStorageId}") + public String storageRefundsExchangesDetail(@PathVariable("warehouseStorageId") Long warehouseStorageId, ModelMap mmap) + { + WarehouseStorageOrder warehouseStorageOrder = warehouseStorageOrderService.selectWarehouseStorageOrderById(warehouseStorageId); + mmap.put("warehouseStorageOrder", warehouseStorageOrder); + return prefix + "/storageRefundsExchangesDetail"; + } + + /** + * 修改保存入库-退换货单详情 + */ + @RequiresPermissions("warehouse:storageOrder:storageRefundsExchangesDetail") + @Log(title = "仓库入库单", businessType = BusinessType.UPDATE) + @PostMapping("/storageRefundsExchangesDetail") + @ResponseBody + public AjaxResult storageRefundsExchangesDetailSave(@RequestBody WarehouseStorageOrder warehouseStorageOrder) + { + return toAjax(warehouseStorageOrderService.updateStorageMake(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 8c4fc105..94a47863 100644 --- a/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageOrder.html +++ b/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageOrder.html @@ -90,7 +90,7 @@ var storageMakeDetailFlag = [[${@permission.hasPermi('warehouse:storageOrder:storageMakeDetail')}]]; var storageMakeInDetailFlag = [[${@permission.hasPermi('warehouse:storageOrder:storageMakeInDetail')}]]; var storageOutOrderDetailFlag = [[${@permission.hasPermi('warehouse:storageOrder:storageOutOrderDetail')}]]; - + var storageRefundsExchangesDetailFlag = [[${@permission.hasPermi('warehouse:storageOrder:storageRefundsExchangesDetail')}]]; var warehouseStorageStatusDatas = [[${@dict.getType('warehouse_storage_status')}]]; var warehouseQualityStatusDatas = [[${@dict.getType('warehouse_quality_status')}]]; @@ -285,6 +285,7 @@ /*入库-退换货单*/ if ( row.warehouseStorageType == 3 && row.warehouseOrderType == 2 && (row.warehouseStorageStatus == 2 || row.warehouseStorageStatus == 3) ){ actions.push('入库 '); + actions.push('详情 '); } return actions.join(''); } @@ -377,6 +378,11 @@ $.modal.open("入库",url); }; + /*入库-退换货单详情*/ + function storageRefundsExchangesDetail(warehouseStorageId){ + var url = ctx + 'warehouse/storageOrder/storageRefundsExchangesDetail/' + warehouseStorageId; + $.modal.open("详情",url); + }; \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageRefundsExchangesDetail.html b/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageRefundsExchangesDetail.html new file mode 100644 index 00000000..2c6020d5 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageRefundsExchangesDetail.html @@ -0,0 +1,321 @@ + + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+ +
+ +
+
+ +
+
+
+
+
+ + + + + + \ No newline at end of file