diff --git a/ruoyi-admin/src/main/java/com/ruoyi/warehouse/controller/WarehouseInventoryCheckController.java b/ruoyi-admin/src/main/java/com/ruoyi/warehouse/controller/WarehouseInventoryCheckController.java index 965f30d3..da975f4d 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/warehouse/controller/WarehouseInventoryCheckController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/warehouse/controller/WarehouseInventoryCheckController.java @@ -124,6 +124,31 @@ public class WarehouseInventoryCheckController extends BaseController } + + /** + * 仓库库存盘点详情页面 + */ + @GetMapping("/detail/{inventoryCheckId}") + public String detail(@PathVariable("inventoryCheckId") Long inventoryCheckId, ModelMap mmap) + { + WarehouseInventoryCheck warehouseInventoryCheck = warehouseInventoryCheckService.selectWarehouseInventoryCheckById(inventoryCheckId); + mmap.put("warehouseInventoryCheck", warehouseInventoryCheck); + return prefix + "/detail"; + } + + /** + * 仓库库存盘点详情 + */ + @RequiresPermissions("warehouse:inventoryCheck:edit") + @Log(title = "仓库库存盘点", businessType = BusinessType.UPDATE) + @PostMapping("/detail") + @ResponseBody + public AjaxResult detailSave(@RequestBody WarehouseInventoryCheck warehouseInventoryCheck) + { + return toAjax(warehouseInventoryCheckService.detailWarehouseInventoryCheck(warehouseInventoryCheck)); + } + + /** * 物料信息弹出页面 */ diff --git a/ruoyi-admin/src/main/java/com/ruoyi/warehouse/service/IWarehouseInventoryCheckService.java b/ruoyi-admin/src/main/java/com/ruoyi/warehouse/service/IWarehouseInventoryCheckService.java index 967779cb..ff8ebf1b 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/warehouse/service/IWarehouseInventoryCheckService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/warehouse/service/IWarehouseInventoryCheckService.java @@ -55,4 +55,9 @@ public interface IWarehouseInventoryCheckService * 根据盘点单号查找盘点详情信息 * */ List selectInventoryCheckDetailListByCode(String inventoryCheckCode); + + /* + * 库存盘点详情 + * */ + int detailWarehouseInventoryCheck(WarehouseInventoryCheck warehouseInventoryCheck); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/warehouse/service/impl/WarehouseInventoryCheckServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/warehouse/service/impl/WarehouseInventoryCheckServiceImpl.java index 77f504a0..53c08b73 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/warehouse/service/impl/WarehouseInventoryCheckServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/warehouse/service/impl/WarehouseInventoryCheckServiceImpl.java @@ -170,6 +170,15 @@ public class WarehouseInventoryCheckServiceImpl implements IWarehouseInventoryCh return inventoryCheckDetailMapper.selectInventoryCheckDetailListByCode(inventoryCheckCode); } + /* + * 库存盘点详情 + * */ + @Override + public int detailWarehouseInventoryCheck(WarehouseInventoryCheck warehouseInventoryCheck) { + + return 1; + } + /** *库存盘点单号生成规则 diff --git a/ruoyi-admin/src/main/resources/templates/warehouse/inventoryCheck/detail.html b/ruoyi-admin/src/main/resources/templates/warehouse/inventoryCheck/detail.html new file mode 100644 index 00000000..87c0fd13 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/warehouse/inventoryCheck/detail.html @@ -0,0 +1,242 @@ + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ + +
+
+
+
+
+
+
+
+ + + + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/warehouse/inventoryCheck/inventoryCheck.html b/ruoyi-admin/src/main/resources/templates/warehouse/inventoryCheck/inventoryCheck.html index 81a5be0e..8b2fe1b2 100644 --- a/ruoyi-admin/src/main/resources/templates/warehouse/inventoryCheck/inventoryCheck.html +++ b/ruoyi-admin/src/main/resources/templates/warehouse/inventoryCheck/inventoryCheck.html @@ -61,6 +61,9 @@ \ No newline at end of file