From 36c285974eba0191ff2487d7885a2afb3693cb4a Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Fri, 31 May 2024 17:27:38 +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=8D=A2=E8=B4=A7=20=E6=96=B0=E5=A2=9E=E5=85=A5?= =?UTF-8?q?=E5=BA=93=E5=89=8D=E9=80=80=E6=8D=A2=E8=B4=A7=E7=A1=AE=E8=AE=A4?= =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86beforeHasConfirmSupplier.html=20?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=80=80=E6=8D=A2=E8=B4=A7=E7=A1=AE=E8=AE=A4?= =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E6=8C=89=E9=92=AE=20=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=90=8E=E7=AB=AF=E9=80=80=E6=8D=A2=E8=B4=A7=E7=A1=AE?= =?UTF-8?q?=E8=AE=A4=E4=BE=9B=E5=BA=94=E5=95=86=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../QualityRefundsExchangesController.java | 23 +++ .../beforeHasConfirmSupplier.html | 191 ++++++++++++++++++ .../refundsExchanges/refundsExchanges.html | 17 +- 3 files changed, 230 insertions(+), 1 deletion(-) create mode 100644 ruoyi-admin/src/main/resources/templates/quality/refundsExchanges/beforeHasConfirmSupplier.html diff --git a/ruoyi-admin/src/main/java/com/ruoyi/quality/controller/QualityRefundsExchangesController.java b/ruoyi-admin/src/main/java/com/ruoyi/quality/controller/QualityRefundsExchangesController.java index 6116a10e..f34df9e6 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/quality/controller/QualityRefundsExchangesController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/quality/controller/QualityRefundsExchangesController.java @@ -329,4 +329,27 @@ public class QualityRefundsExchangesController extends BaseController } + /** + * 入库前退换货单-确认供应商-已有退换货 + */ + @GetMapping("/beforeHasConfirmSupplier/{refundsExchangesId}") + public String beforeHasConfirmSupplier(@PathVariable("refundsExchangesId") Long refundsExchangesId, ModelMap mmap) + { + QualityRefundsExchanges qualityRefundsExchanges = qualityRefundsExchangesService.selectQualityRefundsExchangesById(refundsExchangesId); + mmap.put("qualityRefundsExchanges", qualityRefundsExchanges); + return prefix + "/beforeHasConfirmSupplier"; + } + + /** + * 保存入库前退换货单-确认供应商-已有退换货 + */ + @RequiresPermissions("quality:refundsExchanges:beforeHasConfirmSupplier") + @Log(title = "品质管理退换货单", businessType = BusinessType.UPDATE) + @PostMapping("/beforeHasConfirmSupplier") + @ResponseBody + public AjaxResult beforeHasConfirmSupplierSave(QualityRefundsExchanges qualityRefundsExchanges) + { + return toAjax(qualityRefundsExchangesService.returnBeforeStorageDetail(qualityRefundsExchanges)); + } + } diff --git a/ruoyi-admin/src/main/resources/templates/quality/refundsExchanges/beforeHasConfirmSupplier.html b/ruoyi-admin/src/main/resources/templates/quality/refundsExchanges/beforeHasConfirmSupplier.html new file mode 100644 index 00000000..cc46d8d5 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/quality/refundsExchanges/beforeHasConfirmSupplier.html @@ -0,0 +1,191 @@ + + +
+