|
|
@ -37,6 +37,7 @@ export class StoreEditComponent implements OnInit { |
|
|
|
previewVisible = false; |
|
|
|
previewVisible = false; |
|
|
|
previewImage: string | undefined = ''; |
|
|
|
previewImage: string | undefined = ''; |
|
|
|
brandData = []; |
|
|
|
brandData = []; |
|
|
|
|
|
|
|
industryTypeData = []; |
|
|
|
|
|
|
|
|
|
|
|
constructor( |
|
|
|
constructor( |
|
|
|
private fb: FormBuilder, |
|
|
|
private fb: FormBuilder, |
|
|
@ -61,6 +62,7 @@ export class StoreEditComponent implements OnInit { |
|
|
|
address: [null, [Validators.required]], |
|
|
|
address: [null, [Validators.required]], |
|
|
|
contactName: [null, [Validators.required]], |
|
|
|
contactName: [null, [Validators.required]], |
|
|
|
prestoreType: [null, [Validators.required]], |
|
|
|
prestoreType: [null, [Validators.required]], |
|
|
|
|
|
|
|
industryType: [null, [Validators.required]], |
|
|
|
telephone: [null, [Validators.required]], |
|
|
|
telephone: [null, [Validators.required]], |
|
|
|
latitude: [29.553134, [Validators.required]], |
|
|
|
latitude: [29.553134, [Validators.required]], |
|
|
|
longitude: [106.565428, [Validators.required]], |
|
|
|
longitude: [106.565428, [Validators.required]], |
|
|
@ -76,6 +78,10 @@ export class StoreEditComponent implements OnInit { |
|
|
|
this.brandData = data['return_data']; |
|
|
|
this.brandData = data['return_data']; |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.commonsService.getIndustry(data => { |
|
|
|
|
|
|
|
this.industryTypeData = data['return_data']; |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// 图片查看
|
|
|
|
// 图片查看
|
|
|
|