force-app/main/default/lwc/lexNewOPDButtonOpportunity/lexNewOPDButtonOpportunity.js
@@ -7,7 +7,7 @@ const event1 = new ShowToastEvent({ message: "询价状态为:失单、取消、注残、发货、完毕,不允许创建OPD计划", variant : "warning" variant : "error" }); import init from '@salesforce/apex/LexOPDSupplementaryController.initNewOPDButton2'; export default class lexNewOPDButtonOpportunity extends NavigationMixin(LightningElement) { @@ -30,7 +30,6 @@ connectedCallback(){ init({recordId:this.recordId}).then(res=>{ if (res!=null) { console.log(res); this.Opportunity=res; this.newOPDButtonOpportunity().then(res=>{ this.IsLoading=false;