| | |
| | | |
| | | var value = event.target.value; |
| | | this.opp.Date_InAdvance_Delay = value; |
| | | |
| | | this.opp.Predicted_date_ChangeReason__c = ''; |
| | | |
| | | debugger |
| | | // this.opp.Predicted_date_ChangeReason__c = ''; |
| | | //SWAG-CJR4PC【委托】调查-修改预测日提前理由错误 fy start |
| | | this.opp.Predicted_date_ChangeReason = '' |
| | | this.opp.Close_Forecasted_Date= ''; |
| | | this.opp.CloseDate= ''; |
| | | //SWAG-CJR4PC【委托】调查-修改预测日提前理由错误 fy end |
| | | if (value == "提前") { |
| | | this.isAdvance = true; |
| | | this.isDelay = false; |
| | |
| | | console.warn('当前预测日期'+myDate4); |
| | | console.warn('1111111111'+myDate2); |
| | | console.warn('改变的预测日期'+myDate5); |
| | | |
| | | if(this.opp.Date_InAdvance_Delay == undefined || this.opp.Predicted_date_ChangeReason == undefined || myDate5 == undefined){ |
| | | //SWAG-CJR4PC【委托】调查-修改预测日提前理由错误 fy start |
| | | // if(this.opp.Date_InAdvance_Delay == undefined || this.opp.Predicted_date_ChangeReason == undefined || myDate5 == undefined){ |
| | | // if(this.opp.Date_InAdvance_Delay == '' ||this.opp.Date_InAdvance_Delay == undefined || this.opp.Predicted_date_ChangeReason == '' ||this.opp.Predicted_date_ChangeReason == undefined|| myDate5 == '' || myDate5 == undefined){ |
| | | if(!this.opp.Date_InAdvance_Delay || !this.opp.Predicted_date_ChangeReason || !this.opp.Close_Forecasted_Date){ |
| | | //SWAG-CJR4PC【委托】调查-修改预测日提前理由错误 fy end |
| | | this.Alert("请选择日期/理由。",false,true); |
| | | } |
| | | else if(this.opp.Date_InAdvance_Delay == '提前' && (myDate5 >= myDate4 || myDate5 < myDate3)){ |