diff --git a/src/views/main/DjyTenantConfig/addForm.vue b/src/views/main/DjyTenantConfig/addForm.vue index 95a041d..349a5b2 100644 --- a/src/views/main/DjyTenantConfig/addForm.vue +++ b/src/views/main/DjyTenantConfig/addForm.vue @@ -76,10 +76,10 @@ export default { BookingOrderGetFieldName().then(res => { let FieldNameList = [] - Object.keys(res.data[0]).forEach(item => { + Object.keys(res.data.order).forEach(item => { FieldNameList.push({ code: item, - name: res.data[0][item] + name: res.data.order[item] }) }) this.FieldNameList = FieldNameList diff --git a/src/views/main/DjyTenantConfig/editForm.vue b/src/views/main/DjyTenantConfig/editForm.vue index 57198b3..dfa0dea 100644 --- a/src/views/main/DjyTenantConfig/editForm.vue +++ b/src/views/main/DjyTenantConfig/editForm.vue @@ -77,10 +77,10 @@ export default { this.visible = true BookingOrderGetFieldName().then(res => { let FieldNameList = [] - Object.keys(res.data[0]).forEach(item => { + Object.keys(res.data.order).forEach(item => { FieldNameList.push({ code: item, - name: res.data[0][item] + name: res.data.order[item] }) }) this.FieldNameList = FieldNameList diff --git a/src/views/main/PrintingNew/index.vue b/src/views/main/PrintingNew/index.vue index c0e1d88..de15f17 100644 --- a/src/views/main/PrintingNew/index.vue +++ b/src/views/main/PrintingNew/index.vue @@ -165,7 +165,7 @@ - +