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