address:ps
This commit is contained in:
parent
a42627b5fe
commit
841be19798
@ -114,8 +114,8 @@ export class AddressComponent implements OnInit {
|
|||||||
this.getMasterDetails('ADDRESSTYPE',5);
|
this.getMasterDetails('ADDRESSTYPE',5);
|
||||||
this.getMasterDetails('RESIDENCEOWNERSHIP',6);
|
this.getMasterDetails('RESIDENCEOWNERSHIP',6);
|
||||||
this.getMasterDetails('CITY',7);
|
this.getMasterDetails('CITY',7);
|
||||||
this.initAddressForm();
|
|
||||||
|
|
||||||
|
this.initAddressForm();
|
||||||
let params: any = {};
|
let params: any = {};
|
||||||
params.pd_id = this.pdid;
|
params.pd_id = this.pdid;
|
||||||
params.pd_form_id = '5';
|
params.pd_form_id = '5';
|
||||||
@ -288,20 +288,14 @@ export class AddressComponent implements OnInit {
|
|||||||
this.localityData.push(val);
|
this.localityData.push(val);
|
||||||
}
|
}
|
||||||
else if(type==5 && val.isactive == 1){
|
else if(type==5 && val.isactive == 1){
|
||||||
|
|
||||||
this.addressData.push(val);
|
this.addressData.push(val);
|
||||||
|
|
||||||
console.log('b4val',this.addressData);
|
|
||||||
if(this.CustSegAbbr == 'SENP' || this.CustSegAbbr == 'SEP'){
|
if(this.CustSegAbbr == 'SENP' || this.CustSegAbbr == 'SEP'){
|
||||||
console.log(this.CustSegAbbr);
|
// console.log(this.CustSegAbbr);
|
||||||
console.log('inside if',this.addressData);
|
// console.log('inside if',this.addressData);
|
||||||
this.addressData.filter(element =>element.address_type == 'Residence');
|
this.addressData.indexOf("Residence")
|
||||||
this.addressData.filter(element =>element.address_type == 'Residence cum Office');
|
this.addressData.indexOf("Residence cum Office")
|
||||||
console.log('inside if 2',this.addressData);
|
// console.log('inside if 2',this.addressData);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log('aftrval',this.addressData);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
else if(type==6 && val.isactive == 1){
|
else if(type==6 && val.isactive == 1){
|
||||||
this.ownerShipData.push(val);
|
this.ownerShipData.push(val);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user