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);
+ };