| | |
| | | /* |
| | | * @Author: zhangchunxu |
| | | * @Date: 2023-06-27 16:51:18 |
| | | * @LastEditors: zhangchunxu |
| | | * @LastEditTime: 2023-08-04 13:17:42 |
| | | * |
| | | */ |
| | | import { LightningElement,wire,track,api} from 'lwc'; |
| | | import { CurrentPageReference } from "lightning/navigation"; |
| | | import { CloseActionScreenEvent } from 'lightning/actions'; |
| | |
| | | this.TwoS1_Sales_Hospital = result.TwoS1_Sales_Hospital; |
| | | this.TwoS4_Sales_Manager = result.TwoS4_Sales_Manager; |
| | | this.LoseButton(); |
| | | this.dispatchEvent(new CloseActionScreenEvent()); |
| | | }) |
| | | } |
| | | |
| | |
| | | }).then(res=>{ |
| | | if(res) { |
| | | window.open(`/apex/TenderLostPage?id=${this.recordId}`,'','height=500,width=800,top=200,left=250,location=no'); |
| | | this.dispatchEvent(new CloseActionScreenEvent()); |
| | | }else{ |
| | | this.dispatchEvent(new CloseActionScreenEvent()); |
| | | return; |
| | | } |
| | | }); |
| | | } |
| | | if(this.status == "04.待关联询价"){ |
| | | window.open(`/apex/TenderLostPage?id=${this.recordId}`,'','height=500,width=800,top=200,left=250,location=no'); |
| | | this.dispatchEvent(new CloseActionScreenEvent()); |
| | | } |
| | | }) |
| | | } |
| | |
| | | variant: type |
| | | }); |
| | | this.dispatchEvent(event); |
| | | this.dispatchEvent(new CloseActionScreenEvent()); |
| | | } |
| | | } |