sub product auto fill added

This commit is contained in:
sriram-at-840620226347 2020-01-23 18:14:33 +05:30
parent e82469ad06
commit 9c615081d9

View File

@ -102,10 +102,12 @@ export class AddPdComponent implements OnInit, OnDestroy {
console.log(selectLender);
this.selectedLender(selectLender)
this.getSubproductList(res['records'].default_product)
this._PDtriggerForm.controls['fk_product_id'].setValue(res['records'].default_product);
this._PDtriggerForm.controls['fk_subproduct_id'].setValue(res['records'].default_sub_product);
this._PDtriggerForm.controls['fk_customer_segment'].setValue(res['records'].default_customer_segment);
this._PDtriggerForm.controls['fk_pd_type'].setValue(res['records'].default_pd_type);
this.getSubproductList(res['records'].default_product)
}
else{