| | |
| | | import { LightningElement,wire,track,api} from 'lwc'; |
| | | import { CurrentPageReference } from "lightning/navigation"; |
| | | import { CloseActionScreenEvent } from 'lightning/actions'; |
| | | import { NavigationMixin } from 'lightning/navigation'; |
| | | import { ShowToastEvent } from 'lightning/platformShowToastEvent'; |
| | | import init from '@salesforce/apex/QISReportController.initForlexCreateRepairButton'; |
| | | import UserInfo_Owner from '@salesforce/apex/TaskFeedbackController.UserInfo_Owner'; |
| | | import { updateRecord } from 'lightning/uiRecordApi'; |
| | | |
| | | export default class lexCreateRepair extends LightningElement { |
| | | @api recordId; |
| | |
| | | } |
| | | } |
| | | if ((this.oCMjudgement == '质量问题' && this.nextaction == '无偿维修') || |
| | | (this.oCMjudgement == '质量问题' && this.nextaction == '有偿维修' && this.specialfollow == '0') || |
| | | (this.oCMjudgement == '非质量问题' && this.nextaction == '无偿维修' && this.specialfollow == '1') || |
| | | (this.oCMjudgement == '非质量问题' && this.nextaction == '有偿维修' && this.specialfollow == '0') || |
| | | (this.oCMjudgement == '质量问题+非质量问题' && this.nextaction == '无偿维修' && this.specialfollow == '1') || |
| | | (this.oCMjudgement == '质量问题+非质量问题' && this.nextaction == '有偿维修+无偿维修' && this.specialfollow == '0') || |
| | | (this.oCMjudgement == '现象未发现' && this.nextaction == '无偿维修' && this.specialfollow == '1') || |
| | | (this.oCMjudgement == '现象未发现' && this.nextaction == '有偿维修' && this.specialfollow == '0')) { |
| | | (this.oCMjudgement == '质量问题' && this.nextaction == '有偿维修' && this.specialfollow == false) || |
| | | (this.oCMjudgement == '非质量问题' && this.nextaction == '无偿维修' && this.specialfollow == true) || |
| | | (this.oCMjudgement == '非质量问题' && this.nextaction == '有偿维修' && this.specialfollow == false) || |
| | | (this.oCMjudgement == '质量问题+非质量问题' && this.nextaction == '无偿维修' && this.specialfollow == true) || |
| | | (this.oCMjudgement == '质量问题+非质量问题' && this.nextaction == '有偿维修+无偿维修' && this.specialfollow == false) || |
| | | (this.oCMjudgement == '现象未发现' && this.nextaction == '无偿维修' && this.specialfollow == true) || |
| | | (this.oCMjudgement == '现象未发现' && this.nextaction == '有偿维修' && this.specialfollow == false)) { |
| | | this.newflag = true; |
| | | } |
| | | console.log('this.newflag = '+this.newflag); |
| | | console.log('this.typeflag = '+this.typeflag); |
| | | |
| | | if ( this.newflag && this.typeflag) { |
| | | if (this.isUsedForTheOpera == 'YES') { |
| | | this.UseFailProductFinish = '是'; |