From 99cb93841b48aa418aeb8c90270b9dbb82d21895 Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Wed, 15 May 2024 16:20:46 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=E5=93=81=E8=B4=A8=E7=AE=A1=E7=90=86:=20?= =?UTF-8?q?=E9=80=80=E6=A3=80=E7=AE=A1=E7=90=86=20=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E9=80=80=E6=A3=80=E7=AE=A1=E7=90=86=E8=AF=A6=E6=83=85=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=20detail.html=20=E6=96=B0=E5=A2=9E=E9=80=80=E6=A3=80?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E6=9F=A5=E7=9C=8B=E8=AF=A6=E6=83=85=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=20returnInspection.html=20=E9=80=80=E6=A3=80=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=88=97=E8=A1=A8=E6=96=B0=E5=A2=9E=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../QualityReturnInspectionController.java | 23 ++ .../IQualityReturnInspectionService.java | 11 +- .../QualityReturnInspectionServiceImpl.java | 8 + .../quality/returnInspection/detail.html | 332 ++++++++++++++++++ .../returnInspection/returnInspection.html | 24 +- 5 files changed, 384 insertions(+), 14 deletions(-) create mode 100644 ruoyi-admin/src/main/resources/templates/quality/returnInspection/detail.html diff --git a/ruoyi-admin/src/main/java/com/ruoyi/quality/controller/QualityReturnInspectionController.java b/ruoyi-admin/src/main/java/com/ruoyi/quality/controller/QualityReturnInspectionController.java index 68d60143..f3d4c61a 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/quality/controller/QualityReturnInspectionController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/quality/controller/QualityReturnInspectionController.java @@ -114,6 +114,29 @@ public class QualityReturnInspectionController extends BaseController return toAjax(qualityReturnInspectionService.updateQualityReturnInspection(erpMaterialReturnInspection)); } + /** + * 退检管理列表详情 + */ + @GetMapping("/detail/{id}") + public String detail(@PathVariable("id") Long id, ModelMap mmap) + { + ErpMaterialReturnInspection erpMaterialReturnInspection = qualityReturnInspectionService.selectQualityReturnInspectionById(id); + mmap.put("erpMaterialReturnInspection", erpMaterialReturnInspection); + return prefix + "/detail"; + } + + /** + * 修改保存退检管理单 + */ + @RequiresPermissions("quality:returnInspection:detail") + @Log(title = "物料退检单", businessType = BusinessType.UPDATE) + @PostMapping("/detail") + @ResponseBody + public AjaxResult detailSave(ErpMaterialReturnInspection erpMaterialReturnInspection) + { + return toAjax(qualityReturnInspectionService.detailQualityReturnInspection(erpMaterialReturnInspection)); + } + } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/quality/service/IQualityReturnInspectionService.java b/ruoyi-admin/src/main/java/com/ruoyi/quality/service/IQualityReturnInspectionService.java index 425f5790..83c50ce1 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/quality/service/IQualityReturnInspectionService.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/quality/service/IQualityReturnInspectionService.java @@ -24,7 +24,7 @@ public interface IQualityReturnInspectionService /** * 查询物料退检单列表 * - * @param qualityReturnInspection 物料退检单 + * @param erpMaterialReturnInspection 物料退检单 * @return 物料退检单集合 */ public List selectQualityReturnInspectionList(ErpMaterialReturnInspection erpMaterialReturnInspection); @@ -32,7 +32,7 @@ public interface IQualityReturnInspectionService /** * 新增物料退检单 * - * @param qualityReturnInspection 物料退检单 + * @param erpMaterialReturnInspection 物料退检单 * @return 结果 */ public int insertQualityReturnInspection(ErpMaterialReturnInspection erpMaterialReturnInspection); @@ -40,7 +40,7 @@ public interface IQualityReturnInspectionService /** * 修改物料退检单 * - * @param qualityReturnInspection 物料退检单 + * @param erpMaterialReturnInspection 物料退检单 * @return 结果 */ public int updateQualityReturnInspection(ErpMaterialReturnInspection erpMaterialReturnInspection); @@ -50,4 +50,9 @@ public interface IQualityReturnInspectionService * 导出列表查询 * */ List selectExportList(ErpMaterialReturnInspection erpMaterialReturnInspection); + + /* + * 退检管理详情 + * */ + int detailQualityReturnInspection(ErpMaterialReturnInspection erpMaterialReturnInspection); } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/quality/service/impl/QualityReturnInspectionServiceImpl.java b/ruoyi-admin/src/main/java/com/ruoyi/quality/service/impl/QualityReturnInspectionServiceImpl.java index 0330ccfe..f7c77a47 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/quality/service/impl/QualityReturnInspectionServiceImpl.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/quality/service/impl/QualityReturnInspectionServiceImpl.java @@ -137,4 +137,12 @@ public class QualityReturnInspectionServiceImpl implements IQualityReturnInspect public List selectExportList(ErpMaterialReturnInspection erpMaterialReturnInspection) { return erpMaterialReturnInspectionMapper.selectExportList(erpMaterialReturnInspection); } + + /* + * 退检管理详情 + * */ + @Override + public int detailQualityReturnInspection(ErpMaterialReturnInspection erpMaterialReturnInspection) { + return 1; + } } diff --git a/ruoyi-admin/src/main/resources/templates/quality/returnInspection/detail.html b/ruoyi-admin/src/main/resources/templates/quality/returnInspection/detail.html new file mode 100644 index 00000000..783b2be5 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/quality/returnInspection/detail.html @@ -0,0 +1,332 @@ + + + + + + + +
+
+
+
+ +
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+
+
+ +
+
+ + +
+
+
+
+
+
+ +
+ + +
+
+
+
+
+
+
+ +
+
+ + +
+
+
+
+
+
+
+ + + + + + +
+
+
+
+
+
+
+ + + + + + + + + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/quality/returnInspection/returnInspection.html b/ruoyi-admin/src/main/resources/templates/quality/returnInspection/returnInspection.html index 6ff6df55..8b1c95a8 100644 --- a/ruoyi-admin/src/main/resources/templates/quality/returnInspection/returnInspection.html +++ b/ruoyi-admin/src/main/resources/templates/quality/returnInspection/returnInspection.html @@ -1,7 +1,7 @@ - +
@@ -53,10 +53,7 @@
@@ -68,20 +65,17 @@ \ No newline at end of file