From 15e0900fbe872bb77840e28f93e52263308a4c0e Mon Sep 17 00:00:00 2001 From: gongzeliang <447196008@qq.com> Date: Fri, 8 Mar 2024 22:46:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8F=91=E7=A5=A8or=E5=85=B3?= =?UTF-8?q?=E8=81=94=E5=8F=91=E7=A5=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ConnectInvoice/index.vue | 171 ++++++++++++++---- src/components/MyInvoiceListCard/index.vue | 3 +- src/views/company/claim/index.vue | 126 +++++++------ .../company/myInvoice/components/UserList.vue | 1 + 4 files changed, 216 insertions(+), 85 deletions(-) diff --git a/src/components/ConnectInvoice/index.vue b/src/components/ConnectInvoice/index.vue index 61b7767..33d6f77 100644 --- a/src/components/ConnectInvoice/index.vue +++ b/src/components/ConnectInvoice/index.vue @@ -5,22 +5,56 @@
发票关联
确认
+ + + + + + +
+
-
-
发票代码: {{item.invoiceCode}}
-
发票号码: {{item.invoiceNum}}
-
开票日期: {{item.invoiceDate ? dayjs(item.invoiceDate).format('YYYY/MM/DD') : ''}}
-
价税合计: {{item.totalAmount}}
+
+
发票消费类型: {{item.serviceType || '-'}}
+
发票代码: {{item.invoiceCode || '-'}}
+
发票号码: {{item.invoiceNum || '-'}}
+
开票日期: {{item.invoiceDate && dayjs(item.invoiceDate).format('YY/MM/DD HH:ss')}}
+
+
+
车票号: {{item.ticketNum || '-'}}
+
始发站: {{item.startingStation || '-'}}
+
到达站: {{item.destinationStation || '-'}}
+
出发日期: {{item.startingDate && dayjs(item.startingDate).format('YY/MM/DD HH:ss')}}
+
车次号: {{item.trainNum || '-'}}
+
+
+
姓名: {{item.name || '-'}}
+
始发站: {{item.startingStation || '-'}}
+
目的站: {{item.destinationStation || '-'}}
+
航班号: {{item.flight || '-'}}
+
承运人: {{item.carrier || '-'}}
+
+
+
服务商: {{item.serviceProvider || '-'}}
+
行程人手机号: {{item.phone || '-'}}
+
上车日期: {{item.items[0].pickupDate && dayjs(item.items[0].pickupDate).format('YY/MM/DD HH:ss')}}
+
起点: {{item.items[0].startPlace || '-'}}
+
终点: {{item.items[0].destinationPlace || '-'}}
+
城市: {{item.items[0].city || '-'}}
+
+
+
发票代码: {{item.invoiceCode || '-'}}
+
发票号码: {{item.invoiceNum || '-'}}
+
车牌号: {{item.taxiNum || '-'}}
+
日期: {{item.startingDate && dayjs(item.startingDate).format('YY/MM/DD HH:ss')}}
-
+
@@ -29,9 +63,16 @@ @@ -161,7 +267,7 @@ export default { .box-2 { margin-top: 1rem; box-sizing: border-box; - padding: 0.5rem 1rem; + //padding: 0.5rem 1rem; padding-top: 0; max-height: 50vh; overflow: auto; @@ -185,13 +291,14 @@ export default { .box-1 { @extend .box-2; .new-item-box { - width: 100%; + width: calc(100% - 2rem); display: flex; justify-content: flex-start; box-sizing: border-box; // padding: 0.5rem; - margin: 0.5rem 0; + margin: 1rem; border-radius: 0.5rem; + //border: 1px solid #ccc; box-shadow: 0 0 0.5rem 0.2rem #ccc; align-items: center; padding: 0.5rem; diff --git a/src/components/MyInvoiceListCard/index.vue b/src/components/MyInvoiceListCard/index.vue index 5728c24..aecaffe 100644 --- a/src/components/MyInvoiceListCard/index.vue +++ b/src/components/MyInvoiceListCard/index.vue @@ -97,7 +97,7 @@