From d21444dac4c6f839a9eab4ed86dd2b084a73331c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E6=99=93=E8=BF=AA?= <2596750866@qq.com> Date: Fri, 23 Aug 2024 16:07:17 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=20=E5=93=81=E8=B4=A8=E7=AE=A1=E7=90=86?= =?UTF-8?q?=20=E9=80=80=E6=8D=A2=E8=B4=A7=E5=8D=95=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E9=80=80=E6=8D=A2=E8=B4=A7=E5=8D=95=E5=88=97=E8=A1=A8=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=EF=BC=8C=E8=B0=83=E6=95=B4=E8=A1=A8=E6=A0=BC=E5=88=97?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=EF=BC=8C=E6=96=B0=E5=A2=9E=E5=85=A5=E5=BA=93?= =?UTF-8?q?=E5=8D=95=E5=8F=B7=E5=88=97=EF=BC=8C=E5=8E=BB=E9=99=A4=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E6=8C=89=E9=92=AE=EF=BC=9B=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=80=80=E8=BF=98=E8=B4=A7=E5=8D=95=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E8=B7=B3=E8=BD=AC=E6=96=B9=E6=B3=95=EF=BC=9B=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=80=80=E6=8D=A2=E8=B4=A7=E7=89=A9=E6=96=99?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E9=A1=B5=E9=9D=A2=EF=BC=8C=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E5=88=97=E5=90=8D=E5=AD=97=E6=AE=B5=EF=BC=8C=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=AD=97=E5=85=B8=E7=B1=BB=E5=9E=8B=E6=95=B0=E6=8D=AE=E6=B7=BB?= =?UTF-8?q?=E5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=?UTF-8?q?=E5=8C=96=E9=A1=B5=E9=9D=A2=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../quality/refundsExchanges/add.html | 125 ++++++++++++++++-- .../refundsExchanges/materialSelect.html | 24 +++- .../refundsExchanges/qualityOrderReport.html | 60 ++++++--- .../refundsExchanges/refundsExchanges.html | 51 +++---- .../returnAfterStorageDetail.html | 44 +++++- 5 files changed, 239 insertions(+), 65 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/quality/refundsExchanges/add.html b/ruoyi-admin/src/main/resources/templates/quality/refundsExchanges/add.html index 5cceb476..329cebf5 100644 --- a/ruoyi-admin/src/main/resources/templates/quality/refundsExchanges/add.html +++ b/ruoyi-admin/src/main/resources/templates/quality/refundsExchanges/add.html @@ -46,8 +46,9 @@ diff --git a/ruoyi-admin/src/main/resources/templates/quality/refundsExchanges/materialSelect.html b/ruoyi-admin/src/main/resources/templates/quality/refundsExchanges/materialSelect.html index f6fa0d67..b752dc7a 100644 --- a/ruoyi-admin/src/main/resources/templates/quality/refundsExchanges/materialSelect.html +++ b/ruoyi-admin/src/main/resources/templates/quality/refundsExchanges/materialSelect.html @@ -16,6 +16,11 @@ var prefix = ctx + "quality/refundsExchanges"; // 从后端拿到传入的makeNo var makeNo = /*[[${makeNo}]]*/ ''; + var processMethodDatas = [[${@dict.getType('processMethod')}]]; + var sysUnitClassDatas = [[${@dict.getType('sysUnitClassDatas')}]]; + var warehouseDeptDatas = [[${@dict.getType('warehouseDept')}]]; + var materialTypeDatas = [[${@category.getChildByCode('materialType')}]]; + $(function() { var options = { id: 'bootstrap-materialSelect-table', @@ -38,6 +43,10 @@ { title: '图片', field: 'materialPhotourl', + formatter: function(value, row, index) { + return $.table.imageView(value); + } + }, { title: '物料名称', @@ -46,18 +55,27 @@ { title: '类型', field: 'materialType', + formatter: function(value, row, index) { + return $.table.selectCategoryLabel(materialTypeDatas, value); + } }, { title: '描述', - field: 'materialDescribe', + field: 'describe', }, { title: '品牌', - field: 'materialBrand', + field: 'brand', }, { title: '单位', - field: 'materialUnit', + field: 'unit', + }, + { title: '加工方式', + field: 'processMethod', + formatter: function(value, row, index) { + return $.table.selectDictLabel(processMethodDatas, value); + } }, ] }; diff --git a/ruoyi-admin/src/main/resources/templates/quality/refundsExchanges/qualityOrderReport.html b/ruoyi-admin/src/main/resources/templates/quality/refundsExchanges/qualityOrderReport.html index b789d32e..1bb31d97 100644 --- a/ruoyi-admin/src/main/resources/templates/quality/refundsExchanges/qualityOrderReport.html +++ b/ruoyi-admin/src/main/resources/templates/quality/refundsExchanges/qualityOrderReport.html @@ -7,7 +7,7 @@
- +
@@ -41,7 +41,7 @@
- +
@@ -52,7 +52,7 @@