From c01260d7ef685d55b2b9c03a0d62dd52728cf0fb Mon Sep 17 00:00:00 2001 From: zhangsiqi <2825463979@qq.com> Date: Thu, 23 May 2024 15:15:13 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=E5=B7=A5=E7=A8=8B=E7=AE=A1=E7=90=86:?= =?UTF-8?q?=E7=89=A9=E6=96=99=E4=BF=A1=E6=81=AF=EF=BC=9A=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E9=AA=8C=E8=AF=81=EF=BC=9A=E8=AE=BE=E7=BD=AE=E6=96=99=E5=8F=B7?= =?UTF-8?q?=E3=80=81=E5=93=81=E5=90=8D=E3=80=81=E6=8F=8F=E8=BF=B0=E3=80=81?= =?UTF-8?q?=E5=8D=95=E4=BD=8D=E4=B8=BA=E5=BF=85=E5=A1=AB=E9=A1=B9=E3=80=82?= =?UTF-8?q?=20=E7=89=A9=E6=96=99=E7=B1=BB=E5=9E=8B=EF=BC=9A=E8=BE=85?= =?UTF-8?q?=E6=96=99-=E4=BD=8E=E5=80=BC=E6=98=93=E8=80=97=E5=93=81?= =?UTF-8?q?=EF=BC=8C=E5=85=B6=E4=BB=96-=E5=85=AC=E5=8F=B8=E6=97=A5?= =?UTF-8?q?=E5=B8=B8=E9=9C=80=E6=B1=82=20=E9=80=89=E6=8B=A9=E6=96=87?= =?UTF-8?q?=E6=9C=AC=EF=BC=8C=E6=94=B9=E4=B8=BA=20=E8=BE=85=E6=96=99-?= =?UTF-8?q?=E9=9D=9E=E7=94=9F=E4=BA=A7=E7=94=A8=EF=BC=8C=E5=85=B6=E4=BB=96?= =?UTF-8?q?-=E7=A0=94=E5=8F=91=E4=B8=B4=E6=97=B6=E7=89=A9=E6=96=99?= =?UTF-8?q?=EF=BC=8C=E6=96=B0=E5=A2=9E=E4=B8=80=E4=B8=AA=E7=89=A9=E6=96=99?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E6=96=87=E6=9C=AC=E9=80=89=E9=A1=B9:=20?= =?UTF-8?q?=E5=85=B6=E4=BB=96-=E5=85=B6=E4=BB=96.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/templates/erp/material/add.html | 20 +++---- .../templates/erp/material/detail.html | 52 +++++++++---------- .../templates/erp/material/edit.html | 39 +++++++------- .../templates/erp/material/material.html | 3 ++ .../erp/material/taskGcjlVerify.html | 25 ++++----- .../erp/material/taskGczgVerify.html | 17 +++--- .../erp/material/taskModifyApply.html | 33 ++++++------ .../erp/material/taskYfzjVerify.html | 31 +++++------ 8 files changed, 112 insertions(+), 108 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/erp/material/add.html b/ruoyi-admin/src/main/resources/templates/erp/material/add.html index 8bf4808b..6770a290 100644 --- a/ruoyi-admin/src/main/resources/templates/erp/material/add.html +++ b/ruoyi-admin/src/main/resources/templates/erp/material/add.html @@ -9,15 +9,15 @@
- +
- +
- +
@@ -38,7 +38,7 @@
- +
-
- +
- +
- +
- +
diff --git a/ruoyi-admin/src/main/resources/templates/erp/material/detail.html b/ruoyi-admin/src/main/resources/templates/erp/material/detail.html index ef845d50..8d9d9cde 100644 --- a/ruoyi-admin/src/main/resources/templates/erp/material/detail.html +++ b/ruoyi-admin/src/main/resources/templates/erp/material/detail.html @@ -10,9 +10,9 @@
- +
- +
@@ -97,35 +97,31 @@
-
-
-
技术团队人员信息
-
-
- + +
+
+
技术团队人员信息
+
-
-
-
销售价历史
-
-
- +
+
+
+
销售价历史
+
-
-
-
采购价历史
-
-
+
+
+
+
采购价历史
+
-
-
-
操作历史
-
-
- +
+
+
+
操作历史
+
- - +
@@ -255,6 +251,8 @@ }) var prefix = ctx + "erp/material"; $(function(){ + var materialType = $("#materialType").val(); + $("#selectMaterialType").val(materialType).trigger("change"); var id = $("#id").val(); var materialNo = $("#materialNo").val(); // 技术团队人员信息 diff --git a/ruoyi-admin/src/main/resources/templates/erp/material/edit.html b/ruoyi-admin/src/main/resources/templates/erp/material/edit.html index 64899522..1788a063 100644 --- a/ruoyi-admin/src/main/resources/templates/erp/material/edit.html +++ b/ruoyi-admin/src/main/resources/templates/erp/material/edit.html @@ -10,21 +10,21 @@
- +
- +
- +
- @@ -39,7 +39,7 @@
@@ -62,22 +62,22 @@
- +
- +
- +
- +
@@ -86,7 +86,7 @@
@@ -106,9 +106,9 @@
只能上传jpg/png文件,第一张图片为主图
- - - + + +
@@ -131,11 +131,7 @@ } }, mounted() { - // 控制下拉框选中 - var materialType = $("#materialType").val(); - $("#selectMaterialType").val(materialType).trigger("change"); - var that = this; // 页面渲染完成,可以执行需要的操作 console.log('页面已渲染完成'); @@ -220,7 +216,7 @@ } }, } - }) + }); var prefix = ctx + "erp/material"; $("#form-material-edit").validate({ onkeyup: false, @@ -255,6 +251,8 @@ focusCleanup: true }); $(function(){ + var materialType = $("#materialType").val(); + $("#selectMaterialType").val(materialType).trigger("change"); $.ajax({ url: ctx + 'erp/material/getEngineerList', type: 'get', @@ -271,7 +269,8 @@ } }); }) - + var materialType = $("#materialType").val(); + $("#selectMaterialType").val(materialType).trigger("change"); function submitHandler() { if ($.validate.form()) { var materialType = $('#selectMaterialType').select2('val'); diff --git a/ruoyi-admin/src/main/resources/templates/erp/material/material.html b/ruoyi-admin/src/main/resources/templates/erp/material/material.html index 9b42b7d7..cc5928c8 100644 --- a/ruoyi-admin/src/main/resources/templates/erp/material/material.html +++ b/ruoyi-admin/src/main/resources/templates/erp/material/material.html @@ -167,9 +167,12 @@ cancelUrl: prefix + "/cancel/{id}", restoreUrl: prefix + "/restore/{id}", detailUrl: prefix + "/detail/{id}", + pageList: [5, 10, 25, 50], + pageSize: 5, modalName: "物料信息", fixedColumns: true, // 启用冻结列 fixedRightNumber: 1, // 冻结右列个数 + height: $(window).height() - 100, columns: [ {checkbox: true}, {title: '主键ID',field: 'id',visible: false}, diff --git a/ruoyi-admin/src/main/resources/templates/erp/material/taskGcjlVerify.html b/ruoyi-admin/src/main/resources/templates/erp/material/taskGcjlVerify.html index 8d9b635c..f6836703 100644 --- a/ruoyi-admin/src/main/resources/templates/erp/material/taskGcjlVerify.html +++ b/ruoyi-admin/src/main/resources/templates/erp/material/taskGcjlVerify.html @@ -36,9 +36,9 @@
- +
- +
@@ -47,7 +47,7 @@
-
+
@@ -88,31 +88,32 @@
- +
- +
- +
-
- +
- +
- +
- +
diff --git a/ruoyi-admin/src/main/resources/templates/erp/material/taskGczgVerify.html b/ruoyi-admin/src/main/resources/templates/erp/material/taskGczgVerify.html index 625e56c6..ace21645 100644 --- a/ruoyi-admin/src/main/resources/templates/erp/material/taskGczgVerify.html +++ b/ruoyi-admin/src/main/resources/templates/erp/material/taskGczgVerify.html @@ -36,9 +36,9 @@
- +
- +
@@ -47,7 +47,7 @@
-
+
@@ -88,9 +88,10 @@
- +
- +
@@ -104,9 +105,9 @@
- +
- +
diff --git a/ruoyi-admin/src/main/resources/templates/erp/material/taskModifyApply.html b/ruoyi-admin/src/main/resources/templates/erp/material/taskModifyApply.html index 2ef0054a..aacd677a 100644 --- a/ruoyi-admin/src/main/resources/templates/erp/material/taskModifyApply.html +++ b/ruoyi-admin/src/main/resources/templates/erp/material/taskModifyApply.html @@ -37,18 +37,18 @@
- +
- +
- +
- +
-
+
- +
- @@ -89,31 +89,32 @@
- +
- +
- +
-
- +
- +
- +
- +
diff --git a/ruoyi-admin/src/main/resources/templates/erp/material/taskYfzjVerify.html b/ruoyi-admin/src/main/resources/templates/erp/material/taskYfzjVerify.html index 7765c6cd..e5ef26af 100644 --- a/ruoyi-admin/src/main/resources/templates/erp/material/taskYfzjVerify.html +++ b/ruoyi-admin/src/main/resources/templates/erp/material/taskYfzjVerify.html @@ -36,18 +36,18 @@
- +
- +
- +
-
+
- +
- @@ -88,31 +88,32 @@
- +
- +
- +
-
- +
- +
- +
- +