From a3820f3b925bc9053409b4ba4a176e2776f313c0 Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Fri, 31 May 2024 11:00:15 +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-=E9=87=87=E8=B4=AD=E5=8D=95(?= =?UTF-8?q?=E9=87=87=E8=B4=AD=E5=85=A5=E5=BA=93)=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2temporaryPurchaseDetail.html=20=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E8=AF=A6=E6=83=85=E6=8C=89=E9=92=AE=20=E5=90=8E?= =?UTF-8?q?=E7=AB=AF=E6=96=B0=E5=A2=9E=E8=AF=A6=E6=83=85=E6=8E=A5=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 | 11 + .../storageOrder/temporaryPurchaseDetail.html | 351 ++++++++++++++++++ 3 files changed, 386 insertions(+) create mode 100644 ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/temporaryPurchaseDetail.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 1ab6f34b..05410abe 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 @@ -178,6 +178,30 @@ public class WarehouseStorageOrderController extends BaseController } + /** + * 暂收-采购单(采购入库)详情 + */ + @GetMapping("/temporaryPurchaseDetail/{warehouseStorageId}") + public String temporaryPurchaseDetail(@PathVariable("warehouseStorageId") Long warehouseStorageId, ModelMap mmap) + { + WarehouseStorageOrder warehouseStorageOrder = warehouseStorageOrderService.selectWarehouseStorageOrderById(warehouseStorageId); + mmap.put("warehouseStorageOrder", warehouseStorageOrder); + return prefix + "/temporaryPurchaseDetail"; + } + + /** + * 修改保存暂收-采购单(采购入库)详情 + */ + @RequiresPermissions("warehouse:storageOrder:temporaryPurchaseDetail") + @Log(title = "仓库入库单", businessType = BusinessType.UPDATE) + @PostMapping("/temporaryPurchaseDetail") + @ResponseBody + public AjaxResult temporaryPurchaseDetailSave(@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 52966766..1c0c89e1 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 temporaryPurchaseDetailFlag = [[${@permission.hasPermi('warehouse:storageOrder:temporaryPurchaseDetail')}]]; var temporaryOutOrderDetailFlag = [[${@permission.hasPermi('warehouse:storageOrder:temporaryOutOrderDetail')}]]; var storagePurchaseDetailFlag = [[${@permission.hasPermi('warehouse:storageOrder:storagePurchaseDetail')}]]; @@ -250,6 +252,8 @@ /*暂收-采购单(采购入库)*/ if (row.warehouseDeptType == 0 && row.warehouseOrderType == 0 && row.warehouseStorageStatus == 0 ){ actions.push('暂收 '); + actions.push('详情 '); + } /*暂收-委外单*/ if ( row.warehouseStorageType == 4 && row.warehouseOrderType == 3 && row.warehouseStorageStatus == 0 ){ @@ -310,6 +314,13 @@ $.modal.open("暂收",url); }; + /*暂收-采购单(采购入库)详情*/ + function temporaryPurchaseDetail(warehouseStorageId){ + var url = ctx + 'warehouse/storageOrder/temporaryPurchaseDetail/' + warehouseStorageId; + $.modal.open("详情",url); + }; + + /*暂收-委外单*/ function temporaryOutOrder(warehouseStorageId){ var url = ctx + 'warehouse/storageOrder/temporaryOutOrder/' + warehouseStorageId; diff --git a/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/temporaryPurchaseDetail.html b/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/temporaryPurchaseDetail.html new file mode 100644 index 00000000..a89e8feb --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/warehouse/storageOrder/temporaryPurchaseDetail.html @@ -0,0 +1,351 @@ + + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+ +
+ +
+
+ +
+
+
+
+
+ + + + + + \ No newline at end of file