From 941f8344498a569b71813936e67e0765bfa7babd Mon Sep 17 00:00:00 2001 From: zhangsiqi <2825463979@qq.com> Date: Fri, 12 Apr 2024 18:50:07 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=E5=B7=A5=E7=A8=8B=E6=A8=A1=E5=9D=97?= =?UTF-8?q?=EF=BC=8CBOM=E4=BF=A1=E6=81=AF=E8=AF=A6=E6=83=85=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E6=B7=BB=E5=8A=A0=E6=97=A0=E6=B3=95=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=EF=BC=8Cbom=E4=BF=A1=E6=81=AF=E7=9A=84?= =?UTF-8?q?=E7=89=A9=E6=96=99=E7=B1=BB=E5=9E=8B=E4=B8=8B=E6=8B=89=E6=A1=86?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/resources/templates/erp/bom/bom.html | 4 +- .../resources/templates/erp/bom/detail.html | 89 ++---------------- .../resources/templates/erp/bom/edit.html | 90 ++----------------- 3 files changed, 17 insertions(+), 166 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/erp/bom/bom.html b/ruoyi-admin/src/main/resources/templates/erp/bom/bom.html index e40168c6..4cbe77a4 100644 --- a/ruoyi-admin/src/main/resources/templates/erp/bom/bom.html +++ b/ruoyi-admin/src/main/resources/templates/erp/bom/bom.html @@ -375,6 +375,8 @@ actions.push(' 作废'); // 编辑 actions.push(' 编辑 '); + }else{ + actions.push(' 编辑 '); } // 已作废 if(row.useStatus=="2" && !row.restoreInstanceId){ @@ -386,7 +388,7 @@ // 有待办人展示审批按钮, if (row.todoUserId) { var todoUserIdList = row.todoUserId.split(","); - if(todoUserIdList.includes(loginName) || loginName == 'admin'){ + if(todoUserIdList.includes(loginName)){ var nodeName = row.taskName=='驳回调整'?' 调整申请':' 审批'; actions.push(' '+nodeName+' '); } diff --git a/ruoyi-admin/src/main/resources/templates/erp/bom/detail.html b/ruoyi-admin/src/main/resources/templates/erp/bom/detail.html index a9436796..ecda63aa 100644 --- a/ruoyi-admin/src/main/resources/templates/erp/bom/detail.html +++ b/ruoyi-admin/src/main/resources/templates/erp/bom/detail.html @@ -25,10 +25,8 @@
- @@ -86,33 +84,13 @@