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