From d61b10bd2057dbf13a8f8bacd66610d0fc2a8bfc Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Fri, 31 May 2024 10:50:38 +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=E6=9A=82=E6=94=B6-=E5=A7=94=E5=A4=96=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E9=A1=B5=E9=9D=A2=E8=AF=A6=E6=83=85temporaryOutOrderD?= =?UTF-8?q?etail.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 | 24 ++ .../warehouse/storageOrder/storageOrder.html | 10 + .../storageOrder/temporaryOutOrderDetail.html | 356 ++++++++++++++++++ 3 files changed, 390 insertions(+) create mode 100644 ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/temporaryOutOrderDetail.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 1890ca39..1ab6f34b 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 @@ -214,6 +214,30 @@ public class WarehouseStorageOrderController extends BaseController } + + /** + * 暂收-委外单详情 + */ + @GetMapping("/temporaryOutOrderDetail/{warehouseStorageId}") + public String temporaryOutOrderDetail(@PathVariable("warehouseStorageId") Long warehouseStorageId, ModelMap mmap) + { + WarehouseStorageOrder warehouseStorageOrder = warehouseStorageOrderService.selectWarehouseStorageOrderById(warehouseStorageId); + mmap.put("warehouseStorageOrder", warehouseStorageOrder); + return prefix + "/temporaryOutOrderDetail"; + } + + /** + * 修改保存暂收-委外订单详情 + */ + @RequiresPermissions("warehouse:storageOrder:temporaryOutOrderDetail") + @Log(title = "仓库入库单", businessType = BusinessType.UPDATE) + @PostMapping("/temporaryOutOrderDetail") + @ResponseBody + public AjaxResult temporaryOutOrderDetailSave(@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 94a47863..52966766 100644 --- a/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageOrder.html +++ b/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/storageOrder.html @@ -85,6 +85,8 @@ var storageMakeInFlag = [[${@permission.hasPermi('warehouse:storageOrder:storageMakeIn')}]]; var storageRefundsExchangesFlag = [[${@permission.hasPermi('warehouse:storageOrder:storageRefundsExchanges')}]]; + var temporaryOutOrderDetailFlag = [[${@permission.hasPermi('warehouse:storageOrder:temporaryOutOrderDetail')}]]; + var storagePurchaseDetailFlag = [[${@permission.hasPermi('warehouse:storageOrder:storagePurchaseDetail')}]]; var storagePurchaseWarehouseDetailFlag = [[${@permission.hasPermi('warehouse:storageOrder:storagePurchaseWarehouseDetail')}]]; var storageMakeDetailFlag = [[${@permission.hasPermi('warehouse:storageOrder:storageMakeDetail')}]]; @@ -252,6 +254,8 @@ /*暂收-委外单*/ if ( row.warehouseStorageType == 4 && row.warehouseOrderType == 3 && row.warehouseStorageStatus == 0 ){ actions.push('暂收 '); + actions.push('详情 '); + } /*入库-采购单(采购入库)*/ if ( row.warehouseDeptType == 0 && row.warehouseOrderType == 0 && (row.warehouseStorageStatus == 2 || row.warehouseStorageStatus == 3) ){ @@ -312,6 +316,12 @@ $.modal.open("暂收",url); }; + /*暂收-委外单详情*/ + function temporaryOutOrderDetail(warehouseStorageId){ + var url = ctx + 'warehouse/storageOrder/temporaryOutOrderDetail/' + warehouseStorageId; + $.modal.open("详情",url); + }; + /*入库-采购单(采购入库)*/ function storagePurchase(warehouseStorageId){ var url = ctx + 'warehouse/storageOrder/storagePurchase/' + warehouseStorageId; diff --git a/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/temporaryOutOrderDetail.html b/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/temporaryOutOrderDetail.html new file mode 100644 index 00000000..2b6d7d82 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/temporaryOutOrderDetail.html @@ -0,0 +1,356 @@ + + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+ +
+ +
+
+ +
+
+
+
+
+ + + + + + \ No newline at end of file