force-app/main/default/lwc/lexReturnDeliverySlipConsumApply/lexReturnDeliverySlipConsumApply.js
@@ -22,12 +22,16 @@ init({ recordId: this.recordId }).then(res=>{ if(res){ if(!res.flag){ this.showToast('未完成到货确认或备品中心未确认不能上传试用表','warning'); return; } if(res.size > 0){ this.dispatchEvent(new CloseActionScreenEvent()); window.open("/apex/consumTrialConfirm?id=" + this.recordId); return; } } }) }