wip
This commit is contained in:
parent
f62926bc81
commit
43f3771b17
|
|
@ -136,6 +136,12 @@
|
||||||
if (type == 'edit') {
|
if (type == 'edit') {
|
||||||
let tax = this.regions[index];
|
let tax = this.regions[index];
|
||||||
|
|
||||||
|
tax.region_zones.forEach(e => {
|
||||||
|
$http.get(`countries/${e.country_id}/zones`).then((res) => {
|
||||||
|
this.$set(e, 'zones', res.data.zones)
|
||||||
|
})
|
||||||
|
})
|
||||||
|
|
||||||
this.dialog.form = {
|
this.dialog.form = {
|
||||||
id: tax.id,
|
id: tax.id,
|
||||||
name: tax.name,
|
name: tax.name,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue