for live issues add company_id @param getpdformdetails
This commit is contained in:
parent
ac989915e2
commit
a7c6897a5c
@ -33,7 +33,7 @@
|
|||||||
<div fxLayout="row wrap" fxLayoutGap="5px" fxLayoutAlign="start none">
|
<div fxLayout="row wrap" fxLayoutGap="5px" fxLayoutAlign="start none">
|
||||||
<mat-form-field style="width: 95%;">
|
<mat-form-field style="width: 95%;">
|
||||||
<mat-select placeholder="Is this the business address ? "
|
<mat-select placeholder="Is this the business address ? "
|
||||||
(selectionChange)="setRequiredValidation($event.value,itemrow,1);"
|
(selectionChange)="setRequiredValidation($event.value,itemrow,1);"
|
||||||
formControlName="business_address_availability" required>
|
formControlName="business_address_availability" required>
|
||||||
<mat-option>Select</mat-option>
|
<mat-option>Select</mat-option>
|
||||||
<mat-option value="yes">Yes</mat-option>
|
<mat-option value="yes">Yes</mat-option>
|
||||||
|
|||||||
@ -206,6 +206,7 @@ export class BusinessAssetsInfoComponent implements OnInit {
|
|||||||
reqparams.parent_pdid = this.parent_pdid;
|
reqparams.parent_pdid = this.parent_pdid;
|
||||||
reqparams.pd_id = this.pdid;
|
reqparams.pd_id = this.pdid;
|
||||||
reqparams.pd_form_id = '22';
|
reqparams.pd_form_id = '22';
|
||||||
|
reqparams.company_id=this.company_id;
|
||||||
this.pdTrigerService.retriveForm(reqparams).subscribe(
|
this.pdTrigerService.retriveForm(reqparams).subscribe(
|
||||||
data => {
|
data => {
|
||||||
if (data) {
|
if (data) {
|
||||||
@ -309,7 +310,7 @@ export class BusinessAssetsInfoComponent implements OnInit {
|
|||||||
let selectedCity = this.cityArr.filter(element => element.city_id == dataValue.city)[0];
|
let selectedCity = this.cityArr.filter(element => element.city_id == dataValue.city)[0];
|
||||||
// console.log(selectedCity,dataValue.city,selectedState);
|
// console.log(selectedCity,dataValue.city,selectedState);
|
||||||
let selectedPincode = this.pinArr.filter(element => element.pincode_id == dataValue.pincode)[0];
|
let selectedPincode = this.pinArr.filter(element => element.pincode_id == dataValue.pincode)[0];
|
||||||
console.log(selectedAddressType)
|
console.log(selectedAddressType)
|
||||||
|
|
||||||
let addressType = dataValue.address_type != 1 && selectedAddressType ? selectedAddressType.address_type : dataValue.address_type_others;
|
let addressType = dataValue.address_type != 1 && selectedAddressType ? selectedAddressType.address_type : dataValue.address_type_others;
|
||||||
console.log(addressType)
|
console.log(addressType)
|
||||||
|
|||||||
@ -40,8 +40,7 @@ export class ImagesAllComponent implements OnInit { imageData: any;
|
|||||||
// if(this.records.is_cus_link_disabled != '1') {
|
// if(this.records.is_cus_link_disabled != '1') {
|
||||||
this.imageData =this.records.img_data;
|
this.imageData =this.records.img_data;
|
||||||
this.imageData.forEach(val=>{
|
this.imageData.forEach(val=>{
|
||||||
console.log('tamil');
|
|
||||||
console.log(val);
|
|
||||||
val.is_loader = false
|
val.is_loader = false
|
||||||
val.is_saved = true
|
val.is_saved = true
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user