buli
2023-05-23 07390e2fcb4adf27c928335bf27ae7939c5a80ad
force-app/main/default/lwc/lexContractAuthorize/lexContractAuthorize.js
@@ -14,6 +14,7 @@
import oppCheck from '@salesforce/apex/LexContractAuthorizeController.oppCheck';
import updReg from '@salesforce/apex/LexContractAuthorizeController.updReg';
import updateOppotunity from '@salesforce/apex/LexContractAuthorizeController.updateOppotunity';
import queryProfileId from '@salesforce/apex/LexContractAuthorizeController.updateOppotunity';
export default class lexContractAuthorize extends LightningElement {
@@ -76,11 +77,8 @@
      //2022-03-22 yjk SWAG-CCL6R7
      let Closing_Bid_Date = this.data.Closing_Bid_Date__c;//13.中标日
      let Closing_Bid_Date_Bid = this.data.Closing_Bid_Date_Bid__c;
      if (profileId != '00e10000000Y3o5' && profileId != '00e10000000Nab7' &&
      profileId != '00e10000000xnpR' && profileId != '00e10000000xyK6' && profileId != '00e10000000xnpW' && profileId != '00e10000000NbCE' && profileId != '00e10000000Nb7i'
      && profileId != '00e10000000xyK6') {
      let res=await queryProfileId();
      if (!res) {
         const event = new ShowToastEvent({
               title: '提示信息',
               message:"您没有合同申请的权限。请联系系统管理员。"
@@ -105,6 +103,7 @@
           this.dispatchEvent(event);
         return;
      }
      //SWAG-CG88AG【委托】提出价格申请是在协议有效期内,允许WIN fy start
      if (DecidedQuoteNo !="") {
         let judg=await judgeIsAssistantAppliedOutTime({Quoteid:DecidedQuoteNo});