This commit is contained in:
venbatechnologies@gmail.com 2019-11-18 19:02:22 +05:30
commit 71a4fc9a36

View File

@ -223,9 +223,9 @@ if(!option){
return this.productAllList[findIndex]; return this.productAllList[findIndex];
}); });
// console.log('FilteredAbbr',FilteredAbbr); // console.log('FilteredAbbr',FilteredAbbr);
this.productList = FilteredAbbr.length > 0 ? FilteredAbbr : this.productAllList; // this.productList = FilteredAbbr.length > 0 ? FilteredAbbr : this.productAllList;
// this.productList = this.productAllList; this.productList = this.productAllList;
} }
else{ else{
this.productList = this.productAllList; this.productList = this.productAllList;
@ -407,7 +407,7 @@ if(!option){
case 'LAEP': case 'LAEP':
// console.log(2); // console.log(2);
this.customerSegmentList = this.customerSegmentAllList.filter(s => (s.customer_segment).includes('Self')); this.customerSegmentList = this.customerSegmentAllList.filter(s => (s.customer_segment).includes('Self'));
this._EditPDtriggerForm.controls['fk_subproduct_id'].setValue(this.subProductList[0].subproduct_id); // this._EditPDtriggerForm.controls['fk_subproduct_id'].setValue(this.subProductList[0].subproduct_id);
if(this.lenderShortName == 'CLIX' && flag==2 ){ this._EditPDtriggerForm.controls['fk_customer_segment'].setValue('5'); } if(this.lenderShortName == 'CLIX' && flag==2 ){ this._EditPDtriggerForm.controls['fk_customer_segment'].setValue('5'); }
this.subProductList=[]; this.subProductList=[];
this.isSubproductShown = false; this.isSubproductShown = false;