emp info : ps

This commit is contained in:
venbatechnologies@gmail.com 2019-03-30 09:36:57 +05:30
parent ffbe8413f4
commit 460ae97a86

View File

@ -286,7 +286,7 @@ export class PdQuestionEmpInfoPage {
checkWithExistYear(e) {
let data1 = this.company_list.filter(c => c.company_name == e.split('-')[1])[0];
// console.log(data1);
console.log('this.generalExistBusinessMonth',this.generalExistBusinessMonth);
console.log('this.generalExistBusinessYear',this.generalExistBusinessYear);
if(data1.business_month != null && data1.business_month != '' && data1.business_month != undefined){
@ -297,8 +297,7 @@ export class PdQuestionEmpInfoPage {
}
this.employmentForm.controls['how_long_year'].setValidators([Validators.max(this.generalExistBusinessYear)]);
this.employmentForm.controls['how_long_year'].updateValueAndValidity();
// console.log('this.generalExistBusinessMonth',this.generalExistBusinessMonth);
// console.log('this.generalExistBusinessYear',this.generalExistBusinessYear);
}