From 3e49746d9627231dce257a2bd6e0a81f1769f94e Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Fri, 7 Jun 2024 17:50:48 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=E4=BB=93=E5=BA=93=E7=AE=A1=E7=90=86:=20?= =?UTF-8?q?=E5=BA=93=E5=AD=98=E7=9B=98=E7=82=B9=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=BA=93=E5=AD=98=E7=9B=98=E7=82=B9=E8=AF=A6=E6=83=85=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2detail.html=20=E6=96=B0=E5=A2=9E=E5=BA=93=E5=AD=98?= =?UTF-8?q?=E7=9B=98=E7=82=B9=E8=AF=A6=E6=83=85=E5=90=8E=E7=AB=AF=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=20=E6=96=B0=E5=A2=9E=E5=BA=93=E5=AD=98=E7=9B=98?= =?UTF-8?q?=E7=82=B9=E8=AF=A6=E6=83=85=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WarehouseInventoryCheckController.java | 25 ++ .../IWarehouseInventoryCheckService.java | 5 + .../WarehouseInventoryCheckServiceImpl.java | 9 + .../warehouse/inventoryCheck/detail.html | 242 ++++++++++++++++++ .../inventoryCheck/inventoryCheck.html | 13 + 5 files changed, 294 insertions(+) create mode 100644 ruoyi-admin/src/main/resources/templates/warehouse/inventoryCheck/detail.html 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