123
chenjingwu
2024-04-11 5a640e612b5de439b9933d4880a3c85a453152bc
force-app/main/default/lwc/lexCancelSelect/lexCancelSelect.js
@@ -5,7 +5,7 @@
import { ShowToastEvent } from 'lightning/platformShowToastEvent';
export default class lexCancelSelect extends LightningElement {
   @api recordId;
    IsLoading=true;
    IsLoading=true;
    id;
    RentalApplyId;
    Status;
@@ -37,7 +37,7 @@
            this.cancelSubmit().then(res=>{
               this.IsLoading=false;
               this.dispatchEvent(new CloseActionScreenEvent());
            });
            });
         }
      }).catch(err=>{
         console.log("error:");
@@ -50,4 +50,4 @@
    async cancelSubmit(){
       window.open("/apex/EquipmentRentalCancel?raid="+this.RentalApplyId,'cancelSelect','width=500,height=250');
    }
}
}