客户功能修改

This commit is contained in:
xd 2024-05-27 20:37:54 +08:00
parent 7e6e964b9b
commit 8307e7726e
1 changed files with 4 additions and 4 deletions

View File

@ -1266,16 +1266,16 @@ export default {
this.form = response.data; this.form = response.data;
// - // -
this.buttonShowSalesman = this.form.cusApprovalStatus == '0'?true:false; this.buttonShowSalesman = this.form.cusApprovalStatus == '0'?true:false;
// //
this.isDisSalesman = this.form.cusApprovalStatus == '0' ? false : (checkRole(['ITZX_SJZ'])&&this.form.cusApprovalStatus == '1') ? false : true; 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.buttonShowSjz = (this.form.cusApprovalStatus != '2' && this.form.cusApprovalStatus != '3') ?true:false;
// - // -
this.isDisSjz = this.form.cusApprovalStatus == '1'?false:true; 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.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.isDisCustomer = (checkRole(['CUSTOMER_RETURN_UPDATE'])&&this.form.cusApprovalStatus == '1') ? false:(checkRole(['ITZX_SJZ'])&&this.form.cusApprovalStatus != '2')?false:true;
this.bankList = response.data.bankList; this.bankList = response.data.bankList;