From 45051ebff630119f88d76d7d2b8280839636ea77 Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Mon, 23 Dec 2024 19:27:19 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E7=94=9F=E4=BA=A7=E7=AE=A1=E7=90=86=20?= =?UTF-8?q?=E5=88=B6=E7=A8=8B=E7=B1=BB=E5=88=AB=E6=98=8E=E7=BB=86=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E9=A1=B5=E9=9D=A2=E3=80=81=E5=B7=A5=E5=BA=8F=E6=98=8E?= =?UTF-8?q?=E7=BB=86=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2=E3=80=81=E6=88=90?= =?UTF-8?q?=E5=93=81SOP=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2=E3=80=81?= =?UTF-8?q?=E7=94=9F=E4=BA=A7=E8=AE=A2=E5=8D=95=E5=88=97=E8=A1=A8=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E3=80=81=E7=94=9F=E4=BA=A7=E5=85=A5=E5=BA=93=E5=8D=95?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2=E3=80=81=E7=89=A9=E6=96=99?= =?UTF-8?q?=E9=80=80=E6=A3=80=E5=8D=95=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=EF=BC=8C=E6=93=8D=E4=BD=9C=E6=A0=8F=E7=9B=AE=E6=8C=89=E7=85=A7?= =?UTF-8?q?=E5=85=A8=E5=B1=80=E7=BB=9F=E4=B8=80=E6=A0=B7=E5=BC=8F=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/erp/inboundOrder/inboundOrder.html | 5 +++-- .../materialReturnInspection.html | 9 +++++---- .../templates/system/makeorder/makeorder.html | 16 ++++++++-------- .../templates/system/procedure/procedure.html | 15 +++++---------- .../system/processCategory/processCategory.html | 16 +++++----------- .../main/resources/templates/system/sop/sop.html | 9 +++++---- 6 files changed, 31 insertions(+), 39 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/erp/inboundOrder/inboundOrder.html b/ruoyi-admin/src/main/resources/templates/erp/inboundOrder/inboundOrder.html index 9958c74d..7d40b791 100644 --- a/ruoyi-admin/src/main/resources/templates/erp/inboundOrder/inboundOrder.html +++ b/ruoyi-admin/src/main/resources/templates/erp/inboundOrder/inboundOrder.html @@ -45,7 +45,7 @@
- + 导出
@@ -167,7 +167,8 @@ title: '操作', align: 'center',formatter: function(value, row, index) { var actions = []; actions.push('详情 '); - return actions.join(''); + var actionLinks = actions.join(''); + return $.table.dropdownToggle(actionLinks); } } ] diff --git a/ruoyi-admin/src/main/resources/templates/erp/materialReturnInspection/materialReturnInspection.html b/ruoyi-admin/src/main/resources/templates/erp/materialReturnInspection/materialReturnInspection.html index 175b546d..1c11c481 100644 --- a/ruoyi-admin/src/main/resources/templates/erp/materialReturnInspection/materialReturnInspection.html +++ b/ruoyi-admin/src/main/resources/templates/erp/materialReturnInspection/materialReturnInspection.html @@ -56,7 +56,7 @@ 添加 - + 导出 @@ -127,10 +127,11 @@ align: 'center', formatter: function(value, row, index) { var actions = []; - actions.push('编辑 '); - actions.push('详情 '); + actions.push('编辑 '); + actions.push('详情 '); - return actions.join(''); + var actionLinks = actions.join(''); + return $.table.dropdownToggle(actionLinks); } }] }; diff --git a/ruoyi-admin/src/main/resources/templates/system/makeorder/makeorder.html b/ruoyi-admin/src/main/resources/templates/system/makeorder/makeorder.html index 9045e958..5c99baa7 100644 --- a/ruoyi-admin/src/main/resources/templates/system/makeorder/makeorder.html +++ b/ruoyi-admin/src/main/resources/templates/system/makeorder/makeorder.html @@ -261,38 +261,38 @@ // actions.push('删除 '); //详情页面 工程审核为详情页面 // actions.push('详情 '); - actions.push('详情 '); + actions.push('详情 '); // 评审 if(row.makeStatus == '0'){ - actions.push('评审 '); + actions.push('评审 '); } // 部门主管确认 if(row.deptLeaderConfirmStatus == '0'){ - actions.push('确认时间 '); + actions.push('确认时间 '); } // 工程审核 if(row.makeStatus == '2'){ - actions.push('工程审核 '); + actions.push('工程审核 '); } // 采购审核:生产状态-待采购审核,采购上级确认状态-已确认 if(row.makeStatus == '7'&&row.purchaseStatus == '1'){ - actions.push('采购审核 '); + actions.push('采购审核 '); } // 领料 if((row.makeStatus == '3' || row.makeStatus == '4' || row.makeStatus == '5') && (row.eceiptStatus == '7' || row.eceiptStatus == '8')){ - actions.push('领料 '); + actions.push('领料 '); } // 委外计划 if((row.makeStatus == '3' || row.makeStatus == '4' || row.makeStatus == '5') && (row.eceiptStatus == '3' || row.eceiptStatus == '4'|| row.eceiptStatus == '5'|| row.eceiptStatus == '6'|| row.eceiptStatus == '7' || row.eceiptStatus == '8')){ - actions.push('委外计划 '); + actions.push('委外计划 '); } // 委内入库 对应生产中 if(row.makeStatus == '4' || row.makeStatus == '5'){ // actions.push('委内入库 '); - actions.push('生产入库 '); + actions.push('生产入库 '); } diff --git a/ruoyi-admin/src/main/resources/templates/system/procedure/procedure.html b/ruoyi-admin/src/main/resources/templates/system/procedure/procedure.html index 99e41d68..6087ef72 100644 --- a/ruoyi-admin/src/main/resources/templates/system/procedure/procedure.html +++ b/ruoyi-admin/src/main/resources/templates/system/procedure/procedure.html @@ -52,12 +52,6 @@ 添加 - - - - - - @@ -104,10 +98,11 @@ {field: 'updateTime', title: '上次更新时间'}, {title: '操作',align: 'center',formatter: function(value, row, index) { var actions = []; - actions.push('编辑 '); - actions.push('详情 '); - actions.push('删除'); - return actions.join(''); + actions.push('编辑 '); + actions.push('详情 '); + actions.push('删除'); + var actionLinks = actions.join(''); + return $.table.dropdownToggle(actionLinks); } } ] diff --git a/ruoyi-admin/src/main/resources/templates/system/processCategory/processCategory.html b/ruoyi-admin/src/main/resources/templates/system/processCategory/processCategory.html index 334de092..7eb2051e 100644 --- a/ruoyi-admin/src/main/resources/templates/system/processCategory/processCategory.html +++ b/ruoyi-admin/src/main/resources/templates/system/processCategory/processCategory.html @@ -31,12 +31,6 @@ 添加 - - 修改 - - - 删除 - @@ -63,7 +57,6 @@ showColumns: false, fixedColumns: true, // 启用冻结列 fixedRightNumber: 1, // 冻结右列个数 - height: $(window).height() - 100, modalName: "制程类别明细", columns: [ {checkbox: true}, @@ -79,10 +72,11 @@ {field: 'updateTime',title: '上次更新时间'}, {title: '操作',align: 'center',formatter: function(value, row, index) { var actions = []; - actions.push('编辑 '); - actions.push('删除'); - actions.push('详情 '); - return actions.join(''); + actions.push('编辑 '); + actions.push('删除'); + actions.push('详情 '); + var actionLinks = actions.join(''); + return $.table.dropdownToggle(actionLinks); } } ] diff --git a/ruoyi-admin/src/main/resources/templates/system/sop/sop.html b/ruoyi-admin/src/main/resources/templates/system/sop/sop.html index 6c1cb0a2..aa8dd0e4 100644 --- a/ruoyi-admin/src/main/resources/templates/system/sop/sop.html +++ b/ruoyi-admin/src/main/resources/templates/system/sop/sop.html @@ -213,11 +213,12 @@ }, {title: '操作',align: 'center',formatter: function(value, row, index) { var actions = []; - actions.push('编辑 '); - actions.push('详情'); - actions.push('删除'); + actions.push('编辑 '); + actions.push('详情'); + actions.push('删除'); - return actions.join(''); + var actionLinks = actions.join(''); + return $.table.dropdownToggle(actionLinks); } } ]