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