force-app/main/default/lwc/lexAddress/lexAddress.js
@@ -50,17 +50,17 @@ } }).catch(error => { console.log(error); }) }).finally(() => { }); } //直返收货地址 Address() { if (this.partArrangementCompleteC != undefined) { this.ShowToastEvent( '零件已齐备完毕,直返收货地址不能修改!',"error") // alert('零件已齐备完毕,直返收货地址不能修改!'); } else if (this.RepairShippedDateC != undefined) { this.ShowToastEvent('RC修理品已返送,直返收货地址不能修改!',"error") // alert('RC修理品已返送,直返收货地址不能修改!'); } else { window.open("/apex/StraightBackAddress?id=" + this.Id, '_self'); }