From 70bea26fff699365e1cd72972cd9ae77b4d47918 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <963808678@qq.com> Date: Wed, 18 Jan 2023 09:14:31 +0800 Subject: [PATCH] 1/18 --- src/views/main/DjyTenantConfig/addForm.vue | 4 +- src/views/main/DjyTenantConfig/editForm.vue | 4 +- src/views/main/PrintingNew/index.vue | 149 +++++++++++++++----- src/views/main/VoyageBill/index.vue | 2 +- 4 files changed, 117 insertions(+), 42 deletions(-) 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 @@ - +