From 8307e7726eaec78a82279e60c722b4745cf1d5a0 Mon Sep 17 00:00:00 2001 From: xd Date: Mon, 27 May 2024 20:37:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E5=8A=9F=E8=83=BD=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/customer/customer/index.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ruoyi-ui/src/views/customer/customer/index.vue b/ruoyi-ui/src/views/customer/customer/index.vue index bb7eef2..6e81669 100644 --- a/ruoyi-ui/src/views/customer/customer/index.vue +++ b/ruoyi-ui/src/views/customer/customer/index.vue @@ -1266,16 +1266,16 @@ export default { this.form = response.data; // 业务员角色-如果是保存状态则显示 反之不显示 this.buttonShowSalesman = this.form.cusApprovalStatus == '0'?true:false; - // 业务员提交的数据数据组审核可编辑 + // 业务员待提交的数据 或者 数据组审核业务员提交的数据时可编辑 this.isDisSalesman = this.form.cusApprovalStatus == '0' ? false : (checkRole(['ITZX_SJZ'])&&this.form.cusApprovalStatus == '1') ? false : true; - // 数据组角色-如果不是完成状态, 驳回、提交OA 按钮显示 + // 数据组角色-如果不是完成且驳回状态、提交SAP、驳回 按钮显示 this.buttonShowSjz = (this.form.cusApprovalStatus != '2' && this.form.cusApprovalStatus != '3') ?true:false; // 数据组角色-如果是审批中状态, 则可编辑 this.isDisSjz = this.form.cusApprovalStatus == '1'?false:true; - // 审批中状态,数据则可编辑 + // 业务员待审核的数据 或者 数据组审核业务员提交的数据时显示 this.bankButtonShow = this.form.cusApprovalStatus == '0'?true:(checkRole(['ITZX_SJZ'])&&this.form.cusApprovalStatus == '1') ? true : false; - // 有客户错误修订角色则可编辑客户名称 + // (有客户错误修订角色 且 审核中状态)或者 数据组创建或者审核时 客户名称可编辑 this.isDisCustomer = (checkRole(['CUSTOMER_RETURN_UPDATE'])&&this.form.cusApprovalStatus == '1') ? false:(checkRole(['ITZX_SJZ'])&&this.form.cusApprovalStatus != '2')?false:true; this.bankList = response.data.bankList;