From 9f96f56558de6f82e4b90b4c5f7834401b9909f4 Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Tue, 21 May 2024 19:41:57 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=E5=93=81=E8=B4=A8=E7=AE=A1=E7=90=86:=20?= =?UTF-8?q?=E5=93=81=E8=B4=A8=E5=8D=95=20=E6=96=B0=E5=A2=9E=E5=93=81?= =?UTF-8?q?=E8=B4=A8=E5=8D=95=E8=AF=A6=E6=83=85=E9=A1=B5=E9=9D=A2=20?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=93=81=E8=B4=A8=E5=8D=95=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controller/QualityOrderController.java | 30 ++- .../quality/qualityOrder/qualityOrder.html | 10 +- .../qualityOrder/startingQualityDetail.html | 243 ++++++++++++++++++ 3 files changed, 280 insertions(+), 3 deletions(-) create mode 100644 ruoyi-admin/src/main/resources/templates/quality/qualityOrder/startingQualityDetail.html diff --git a/ruoyi-admin/src/main/java/com/ruoyi/quality/controller/QualityOrderController.java b/ruoyi-admin/src/main/java/com/ruoyi/quality/controller/QualityOrderController.java index 0e998168..57a1aa72 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/quality/controller/QualityOrderController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/quality/controller/QualityOrderController.java @@ -144,8 +144,36 @@ public class QualityOrderController extends BaseController return toAjax(qualityOrderService.updateQualityOrder(qualityOrder)); } + + + /** + * 品质单列表详情接口 + */ + @GetMapping("/startingQualityDetail/{qualityOrderId}") + public String startingQualityDetail(@PathVariable("qualityOrderId") Long qualityOrderId, ModelMap mmap) + { + QualityOrder qualityOrder = qualityOrderService.selectQualityOrderById(qualityOrderId); + mmap.put("qualityOrder", qualityOrder); + return prefix + "/startingQualityDetail"; + } + + /** + * 修改保存品质单开始品质详情 + */ + @RequiresPermissions("quality:qualityOrder:startingQualityDetail") + @Log(title = "品质管理品质单", businessType = BusinessType.UPDATE) + @PostMapping("/startingQualityDetail") + @ResponseBody + public AjaxResult startingQualityDetailSave(QualityOrder qualityOrder) + { + return toAjax(qualityOrderService.updateQualityOrder(qualityOrder)); + } + + + + /** - * 品质单详情列表 + * 开始品质显示品质单详情列表 */ @ResponseBody @RequestMapping("/detailListGroupedBySupplier") diff --git a/ruoyi-admin/src/main/resources/templates/quality/qualityOrder/qualityOrder.html b/ruoyi-admin/src/main/resources/templates/quality/qualityOrder/qualityOrder.html index bd25032c..17ef70a5 100644 --- a/ruoyi-admin/src/main/resources/templates/quality/qualityOrder/qualityOrder.html +++ b/ruoyi-admin/src/main/resources/templates/quality/qualityOrder/qualityOrder.html @@ -60,7 +60,7 @@ \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/quality/qualityOrder/startingQualityDetail.html b/ruoyi-admin/src/main/resources/templates/quality/qualityOrder/startingQualityDetail.html new file mode 100644 index 00000000..a2fc0ccc --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/quality/qualityOrder/startingQualityDetail.html @@ -0,0 +1,243 @@ + + + + + + + + +
+
+ +
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ + +
+
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+
+ +
+
+
+
+
+ + + + + + \ No newline at end of file