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 @@