From 4f9a33d7524fb52888715c9f0183c95cd424f156 Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Wed, 6 Nov 2024 16:54:04 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=20=E5=94=AE=E5=90=8E=E7=AE=A1=E7=90=86?= =?UTF-8?q?=20=E6=8C=89=E7=85=A7=E6=96=B0=E7=89=88prd=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=EF=BC=9A=E6=96=B0=E5=A2=9E=E5=94=AE=E5=90=8E=E7=AC=AC=E4=B8=80?= =?UTF-8?q?=E6=AC=A1=E7=BB=B4=E6=8A=A4=E8=AE=BE=E5=A4=87=20=E6=88=90?= =?UTF-8?q?=E5=93=81=E6=B7=BB=E5=8A=A0=E5=87=BA=E8=B4=A7=E8=AE=BE=E5=A4=87?= =?UTF-8?q?=E5=89=8D=E7=AB=AF=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2=20?= =?UTF-8?q?=E5=94=AE=E5=90=8E=E5=87=BA=E8=B4=A7=E8=AE=BE=E5=A4=87=E5=90=8E?= =?UTF-8?q?=E7=AB=AF=E6=8E=A5=E5=8F=A3=EF=BC=9A=E6=96=B0=E5=A2=9E=20?= =?UTF-8?q?=E5=94=AE=E5=90=8E=E7=AC=AC=E4=B8=80=E6=AC=A1=E7=BB=B4=E6=8A=A4?= =?UTF-8?q?=E8=AE=BE=E5=A4=87=20=E6=88=90=E5=93=81=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=87=BA=E8=B4=A7=E8=AE=BE=E5=A4=87=E4=BF=A1=E6=81=AF=E5=90=8E?= =?UTF-8?q?=E7=AB=AF=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../AftersalesOutOrderController.java | 34 +- .../addShippingDevicesOne.html | 375 ++++++++++++++++++ 2 files changed, 394 insertions(+), 15 deletions(-) create mode 100644 ruoyi-admin/src/main/resources/templates/aftersales/aftersalesOutOrder/addShippingDevicesOne.html diff --git a/ruoyi-admin/src/main/java/com/ruoyi/aftersales/controller/AftersalesOutOrderController.java b/ruoyi-admin/src/main/java/com/ruoyi/aftersales/controller/AftersalesOutOrderController.java index 9e06c07c..7a990d22 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/aftersales/controller/AftersalesOutOrderController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/aftersales/controller/AftersalesOutOrderController.java @@ -3,6 +3,7 @@ package com.ruoyi.aftersales.controller; import java.util.List; import com.ruoyi.aftersales.domain.AftersalesOutOrderDetail; +import com.ruoyi.aftersales.service.IAftersalesOutOrderDetailService; import org.apache.shiro.authz.annotation.RequiresPermissions; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; @@ -32,6 +33,9 @@ public class AftersalesOutOrderController extends BaseController @Autowired private IAftersalesOutOrderService aftersalesOutOrderService; + @Autowired + private IAftersalesOutOrderDetailService aftersalesOutOrderDetailService; + @RequiresPermissions("aftersales:aftersalesOutOrder:view") @GetMapping() public String aftersalesOutOrder() @@ -216,21 +220,21 @@ public class AftersalesOutOrderController extends BaseController // // // -// /** -// * 售后第一次维护设备 添加出货设备信息 -// */ -// @GetMapping("/addShippingDevicesOne") -// public String addShippingDevicesOne(@RequestParam("outOrderDetailId") Long outOrderDetailId, -// @RequestParam("salesOrderCode") String salesOrderCode, -// @RequestParam("makeNo") String makeNo, -// ModelMap mmap) -// { -// WarehouseOutOrderDetail warehouseOutOrderDetail = outOrderDetailService.selectWarehouseOutOrderDetailById(outOrderDetailId); -// mmap.put("salesOrderCode",salesOrderCode); -// mmap.put("makeNo",makeNo); -// mmap.put("warehouseOutOrderDetail", warehouseOutOrderDetail); -// return prefix + "/addShippingDevicesOne"; -// } + /** + * 售后第一次维护设备 成品添加出货设备信息 + */ + @GetMapping("/addShippingDevicesOne") + public String addShippingDevicesOne(@RequestParam("outOrderDetailId") Long outOrderDetailId, + @RequestParam("salesOrderCode") String salesOrderCode, + @RequestParam("makeNo") String makeNo, + ModelMap mmap) + { + AftersalesOutOrderDetail aftersalesOutOrderDetail = aftersalesOutOrderDetailService.selectAftersalesOutOrderDetailById(outOrderDetailId); + mmap.put("salesOrderCode",salesOrderCode); + mmap.put("makeNo",makeNo); + mmap.put("aftersalesOutOrderDetail", aftersalesOutOrderDetail); + return prefix + "/addShippingDevicesOne"; + } // // /** // * 修改保存售后第一次维护设备 添加出货设备信息 diff --git a/ruoyi-admin/src/main/resources/templates/aftersales/aftersalesOutOrder/addShippingDevicesOne.html b/ruoyi-admin/src/main/resources/templates/aftersales/aftersalesOutOrder/addShippingDevicesOne.html new file mode 100644 index 00000000..6f32290d --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/aftersales/aftersalesOutOrder/addShippingDevicesOne.html @@ -0,0 +1,375 @@ + + +
+