diff --git a/src/components/ConnectInvoice/index.vue b/src/components/ConnectInvoice/index.vue
index 33d6f77..2f7072f 100644
--- a/src/components/ConnectInvoice/index.vue
+++ b/src/components/ConnectInvoice/index.vue
@@ -42,10 +42,10 @@
服务商: {{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.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 || '-'}}
diff --git a/src/components/MyInvoiceListCard/index.vue b/src/components/MyInvoiceListCard/index.vue
index aecaffe..8ba6b2f 100644
--- a/src/components/MyInvoiceListCard/index.vue
+++ b/src/components/MyInvoiceListCard/index.vue
@@ -62,13 +62,13 @@
行程结束时间: {{itemData.endTime && dayjs(itemData.endTime).format('YY/MM/DD HH:ss')}}
行程人手机号: {{itemData.phone || '-'}}
申请日期: {{itemData.applicationDate && dayjs(itemData.applicationDate).format('YY/MM/DD HH:ss')}}
-
上车日期: {{itemData.items[0].pickupDate && dayjs(itemData.items[0].pickupDate).format('YY/MM/DD HH:ss')}}
-
车型: {{itemData.items[0].carType || '-'}}
-
里程: {{itemData.items[0].distance || '-'}}
-
起点: {{itemData.items[0].startPlace || '-'}}
-
终点: {{itemData.items[0].destinationPlace || '-'}}
-
城市: {{itemData.items[0].city || '-'}}
-
金额: {{itemData.items[0].fare || '-'}}
+
上车日期: {{itemData.items[0].pickupDate && dayjs(itemData.items[0].pickupDate).format('YY/MM/DD HH:ss')}}
+
车型: {{itemData.items[0].carType || '-'}}
+
里程: {{itemData.items[0].distance || '-'}}
+
起点: {{itemData.items[0].startPlace || '-'}}
+
终点: {{itemData.items[0].destinationPlace || '-'}}
+
城市: {{itemData.items[0].city || '-'}}
+
金额: {{itemData.items[0].fare || '-'}}
总金额: {{itemData.totalFare || '-'}}
diff --git a/src/components/UploadImagePdf/index.vue b/src/components/UploadImagePdf/index.vue
index 0a059c6..35cbda1 100644
--- a/src/components/UploadImagePdf/index.vue
+++ b/src/components/UploadImagePdf/index.vue
@@ -138,11 +138,11 @@ export default {
}
},
handleScan() {
- if (this.uploadList.length) {
+ if (!this.uploadList.length) {
this.$fm('请先上传发票!')
} else {
- // const { url } = this.uploadList[0]
- let url = 'https://p8.itc.cn/q_70/images03/20210420/b5e2b7a15457406bb48135828b8fea03.jpeg'
+ const { url } = this.uploadList[0]
+ // let url = 'https://p8.itc.cn/q_70/images03/20210420/b5e2b7a15457406bb48135828b8fea03.jpeg'
this.$loading(true)
const invoiceScanApi = this.type == '01' ? invoiceScanApi01 : this.type == '02' ? invoiceScanApi02 : this.type == '03' ? invoiceScanApi03 : this.type == '04' ? invoiceScanApi04 : invoiceScanApi05;
invoiceScanApi({ url,type:this.type }).then((res) => {