From ec2ab6dcd494f35f12c56b0fc9cfc40795af1516 Mon Sep 17 00:00:00 2001 From: gongzeliang <447196008@qq.com> Date: Wed, 6 Mar 2024 23:37:34 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8F=91=E7=A5=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/bs/invoice.js | 354 ++++++++++++++++++ src/components/UploadImagePdf/index.vue | 77 ++-- src/views/company/invoice/index.vue | 274 ++++++++++++-- .../company/myInvoice/components/UserList.vue | 34 +- 4 files changed, 688 insertions(+), 51 deletions(-) diff --git a/src/api/bs/invoice.js b/src/api/bs/invoice.js index 4c8b729..d3b4c6d 100644 --- a/src/api/bs/invoice.js +++ b/src/api/bs/invoice.js @@ -69,3 +69,357 @@ export function invoiceCheckApi(data) { data: data }) } + + +export function createInvoice01(data) { + return request({ + url: '/bs/invoice01/create', + method: 'post', + data: data + }) +} + +// 更新我的发票 +export function updateInvoice01(data) { + return request({ + url: '/bs/invoice01/update', + method: 'put', + data: data + }) +} + +// 删除我的发票 +export function deleteInvoice01(id) { + return request({ + url: '/bs/invoice01/delete?id=' + id, + method: 'delete' + }) +} + +// 获得我的发票 +export function getInvoice01(id) { + return request({ + url: '/bs/invoice01/myget?id=' + id, + method: 'get' + }) +} + +// 获得我的发票分页 +export function getInvoicePage01(query) { + return request({ + url: '/bs/invoice01/mypage', + method: 'get', + params: query + }) +} + +// 导出我的发票 Excel +export function exportInvoiceExcel01(query) { + return request({ + url: '/bs/invoice01/myexport-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} + +// 发票识别 +export function invoiceScanApi01(data) { + return request({ + url: '/bs/invoice01/identify', + method: 'post', + data: data + }) +} +// 发票验真 +export function invoiceCheckApi01(data) { + return request({ + url: '/bs/invoice01/isreal ', + method: 'post', + data: data + }) +} + +//02 +// 创建我的发票 +export function createInvoice02(data) { + return request({ + url: '/bs/invoice02/create', + method: 'post', + data: data + }) +} + +// 更新我的发票 +export function updateInvoice02(data) { + return request({ + url: '/bs/invoice02/update', + method: 'put', + data: data + }) +} + +// 删除我的发票 +export function deleteInvoice02(id) { + return request({ + url: '/bs/invoice02/delete?id=' + id, + method: 'delete' + }) +} + +// 获得我的发票 +export function getInvoice02(id) { + return request({ + url: '/bs/invoice02/myget?id=' + id, + method: 'get' + }) +} + +// 获得我的发票分页 +export function getInvoicePage02(query) { + return request({ + url: '/bs/invoice02/mypage', + method: 'get', + params: query + }) +} + +// 导出我的发票 Excel +export function exportInvoiceExcel02(query) { + return request({ + url: '/bs/invoice02/myexport-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} + +// 发票识别 +export function invoiceScanApi02(data) { + return request({ + url: '/bs/invoice02/identify', + method: 'post', + data: data + }) +} +// 发票验真 +export function invoiceCheckApi02(data) { + return request({ + url: '/bs/invoice02/isreal ', + method: 'post', + data: data + }) +} + +//03 +// 创建我的发票 +export function createInvoice03(data) { + return request({ + url: '/bs/invoice03/create', + method: 'post', + data: data + }) +} + +// 更新我的发票 +export function updateInvoice03(data) { + return request({ + url: '/bs/invoice03/update', + method: 'put', + data: data + }) +} + +// 删除我的发票 +export function deleteInvoice03(id) { + return request({ + url: '/bs/invoice03/delete?id=' + id, + method: 'delete' + }) +} + +// 获得我的发票 +export function getInvoice03(id) { + return request({ + url: '/bs/invoice03/myget?id=' + id, + method: 'get' + }) +} + +// 获得我的发票分页 +export function getInvoicePage03(query) { + return request({ + url: '/bs/invoice03/mypage', + method: 'get', + params: query + }) +} + +// 导出我的发票 Excel +export function exportInvoiceExcel03(query) { + return request({ + url: '/bs/invoice03/myexport-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} + +// 发票识别 +export function invoiceScanApi03(data) { + return request({ + url: '/bs/invoice03/identify', + method: 'post', + data: data + }) +} +// 发票验真 +export function invoiceCheckApi03(data) { + return request({ + url: '/bs/invoice03/isreal ', + method: 'post', + data: data + }) +} + +//04 +// 创建我的发票 +export function createInvoice04(data) { + return request({ + url: '/bs/invoice04/create', + method: 'post', + data: data + }) +} + +// 更新我的发票 +export function updateInvoice04(data) { + return request({ + url: '/bs/invoice04/update', + method: 'put', + data: data + }) +} + +// 删除我的发票 +export function deleteInvoice04(id) { + return request({ + url: '/bs/invoice04/delete?id=' + id, + method: 'delete' + }) +} + +// 获得我的发票 +export function getInvoice04(id) { + return request({ + url: '/bs/invoice04/myget?id=' + id, + method: 'get' + }) +} + +// 获得我的发票分页 +export function getInvoicePage04(query) { + return request({ + url: '/bs/invoice04/mypage', + method: 'get', + params: query + }) +} + +// 导出我的发票 Excel +export function exportInvoiceExcel04(query) { + return request({ + url: '/bs/invoice04/myexport-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} + +// 发票识别 +export function invoiceScanApi04(data) { + return request({ + url: '/bs/invoice04/identify', + method: 'post', + data: data + }) +} +// 发票验真 +export function invoiceCheckApi04(data) { + return request({ + url: '/bs/invoice04/isreal ', + method: 'post', + data: data + }) +} + +//05 +// 创建我的发票 +export function createInvoice05(data) { + return request({ + url: '/bs/invoice05/create', + method: 'post', + data: data + }) +} + +// 更新我的发票 +export function updateInvoice05(data) { + return request({ + url: '/bs/invoice05/update', + method: 'put', + data: data + }) +} + +// 删除我的发票 +export function deleteInvoice05(id) { + return request({ + url: '/bs/invoice05/delete?id=' + id, + method: 'delete' + }) +} + +// 获得我的发票 +export function getInvoice05(id) { + return request({ + url: '/bs/invoice05/myget?id=' + id, + method: 'get' + }) +} + +// 获得我的发票分页 +export function getInvoicePage05(query) { + return request({ + url: '/bs/invoice05/mypage', + method: 'get', + params: query + }) +} + +// 导出我的发票 Excel +export function exportInvoiceExcel05(query) { + return request({ + url: '/bs/invoice05/myexport-excel', + method: 'get', + params: query, + responseType: 'blob' + }) +} + +// 发票识别 +export function invoiceScanApi05(data) { + return request({ + url: '/bs/invoice05/identify', + method: 'post', + data: data + }) +} +// 发票验真 +export function invoiceCheckApi05(data) { + return request({ + url: '/bs/invoice05isreal ', + method: 'post', + data: data + }) +} \ No newline at end of file diff --git a/src/components/UploadImagePdf/index.vue b/src/components/UploadImagePdf/index.vue index c44db0e..0a059c6 100644 --- a/src/components/UploadImagePdf/index.vue +++ b/src/components/UploadImagePdf/index.vue @@ -7,23 +7,50 @@
发票识别 - {{isChecked ? '已验真' : '验真'}} + {{isChecked ? '已验真' : '验真'}}
diff --git a/src/views/company/myInvoice/components/UserList.vue b/src/views/company/myInvoice/components/UserList.vue index 5fa6c01..5e8fbc6 100644 --- a/src/views/company/myInvoice/components/UserList.vue +++ b/src/views/company/myInvoice/components/UserList.vue @@ -1,6 +1,15 @@ @@ -53,6 +65,9 @@ export default { refreshing: false, finished: false, tableList: [], + type:'01', + columns: ['增值税发票', '火车票', '飞机行程票', '网约车行程单', '出租车发票'], + showPicker:false, listQuery: { pageNo: 1, pageSize: 10, @@ -142,12 +157,7 @@ export default { this.height = 0 }, handleToAdd() { - this.$router.push({ - path: '/invoice', - query: { - type: 'add' - } - }) + this.showPicker = true }, handleAllRefresh() { // this.getTableList('refresh') @@ -200,6 +210,18 @@ export default { // this.$loading(false, `cTableLoading_${this.listType}`) }) }, + onCancel(){ + this.showPicker = false + }, + onConfirm(value,index){ + this.$router.push({ + path: '/invoice', + query: { + type: 'add', + invoiceType:`0${index+1}` + } + }) + } } } From 851370a156c8ccfb808fa60264aa9d00d722710d Mon Sep 17 00:00:00 2001 From: gongzeliang <447196008@qq.com> Date: Thu, 7 Mar 2024 21:39:24 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8F=91=E7=A5=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/MyInvoiceListCard/index.vue | 96 ++++++-- src/views/company/invoice/index.vue | 7 +- .../myInvoice/components/HeaderFilter.vue | 212 +++++++++++++++--- .../company/myInvoice/components/UserList.vue | 19 +- 4 files changed, 281 insertions(+), 53 deletions(-) diff --git a/src/components/MyInvoiceListCard/index.vue b/src/components/MyInvoiceListCard/index.vue index e3a4e61..5728c24 100644 --- a/src/components/MyInvoiceListCard/index.vue +++ b/src/components/MyInvoiceListCard/index.vue @@ -7,25 +7,81 @@
发票
-->
-
-
{{getDictDataLabel(DICT_TYPE.BS_INVOICE_KIND,itemData.type) || '未知'}}
-
+ + + -
-
- 不含税金额: {{itemData.excludingTaxAmount || '-'}} -
-
- 发票代码: {{itemData.invoiceCode || '-'}} -
-
- 开票日期: {{itemData.invoiceDate && dayjs(itemData.invoiceDate).format('YY/MM/DD HH:ss')}} -
-
- 验真状态: {{ itemData.status == 1 ? '已验真' : '未验真' }} -
+
+
发票消费类型: {{itemData.serviceType || '-'}}
+
发票代码: {{itemData.invoiceCode || '-'}}
+
发票号码: {{itemData.invoiceNum || '-'}}
+
开票日期: {{itemData.invoiceDate && dayjs(itemData.invoiceDate).format('YY/MM/DD HH:ss')}}
+
不含税金额: {{itemData.totalAmount || '-'}}
+
价税合计: {{itemData.amountInFiguers || '-'}}
+
税额: {{itemData.totalTax || '-'}}
+
发票种类: {{itemData.invoiceType || '-'}}
+
购方名称: {{itemData.purchaserName || '-'}}
+
购方纳税人识别号: {{itemData.purchaserRegisterNum || '-'}}
+
税率: {{itemData.commodityTaxRate || '-'}}
+
是否代开: {{itemData.agent || '-'}}
+
销售方名称: {{itemData.sellerName || '-'}}
+
销售方纳税人识别号: {{itemData.sellerRegisterNum || '-'}}
+
+
+
车票号: {{itemData.ticketNum || '-'}}
+
始发站: {{itemData.startingStation || '-'}}
+
到达站: {{itemData.destinationStation || '-'}}
+
出发日期: {{itemData.startingDate && dayjs(itemData.startingDate).format('YY/MM/DD HH:ss')}}
+
车次号: {{itemData.trainNum || '-'}}
+
车票金额: {{itemData.ticketRates || '-'}}
+
乘客姓名: {{itemData.name || '-'}}
+
时间: {{itemData.startingTime || '-'}}
+
座位号: {{itemData.seatNum || '-'}}
+
+
+
姓名: {{itemData.name || '-'}}
+
始发站: {{itemData.startingStation || '-'}}
+
目的站: {{itemData.destinationStation || '-'}}
+
航班号: {{itemData.flight || '-'}}
+
承运人: {{itemData.carrier || '-'}}
+
座位等级: {{itemData.seatClass || '-'}}
+
日期: {{itemData.startingDate && dayjs(itemData.startingDate).format('YY/MM/DD HH:ss')}}
+
时间: {{itemData.startingTime || '-'}}
+
电子客票号码: {{itemData.ticketNumber || '-'}}
+
票价: {{itemData.fare || '-'}}
+
燃油附加费: {{itemData.fuelSurcharge || '-'}}
+
民航发展基金/基建费: {{itemData.devFund || '-'}}
+
合计金额: {{itemData.ticketRates || '-'}}
+
签注: {{itemData.endorsement || '-'}}
+
+
+
服务商: {{itemData.serviceProvider || '-'}}
+
行程开始时间: {{itemData.startTime && dayjs(itemData.startTime).format('YY/MM/DD HH:ss')}}
+
行程结束时间: {{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.totalFare || '-'}}
+
+
+
发票代码: {{itemData.invoiceCode || '-'}}
+
发票号码: {{itemData.invoiceNum || '-'}}
+
车牌号: {{itemData.taxiNum || '-'}}
+
日期: {{itemData.startingDate && dayjs(itemData.startingDate).format('YY/MM/DD HH:ss')}}
+
上车时间: {{itemData.pickupTime || '-'}}
+
下车时间: {{itemData.dropoffTime || '-'}}
+
总金额: {{itemData.totalFare || '-'}}
+
开票城市: {{itemData.location || '-'}}
+
单价: {{itemData.pricePerkm || '-'}}
+
里程: {{itemData.distance || '-'}}
@@ -50,7 +106,9 @@ export default { required: true, default: () => { } }, - + invoiceType:{ + default:String + } }, components: { @@ -78,14 +136,14 @@ export default { handleShow(id) { this.$router.push({ path: '/invoice', - query: { id, type: 'show' } + query: { id, type: 'show',invoiceType:this.invoiceType } }) }, handleEdit(id) { this.jumoStudentId = id this.$router.push({ path: '/invoice', - query: { id, type: 'edit' } + query: { id, type: 'edit',invoiceType:this.invoiceType } }) }, handleDel(id) { diff --git a/src/views/company/invoice/index.vue b/src/views/company/invoice/index.vue index c8064a9..93a8026 100644 --- a/src/views/company/invoice/index.vue +++ b/src/views/company/invoice/index.vue @@ -343,7 +343,12 @@ export default { let backRes = res.data || {} this.form = { ...backRes, - time: `${backRes.invoiceDate ? dayjs(backRes.invoiceDate).format('YYYY/MM/DD') : ''}`, + invoiceDate1: `${res.data.invoiceDate ? dayjs(res.data.invoiceDate).format('YYYY/MM/DD') : ''}`, + startingDate1:`${res.data.startingDate ? dayjs(res.data.startingDate).format('YYYY/MM/DD') : ''}`, + startTime1:`${res.data.startTime ? dayjs(res.data.startTime).format('YYYY/MM/DD') : ''}`, + endTime1:`${res.data.endTime ? dayjs(res.data.endTime).format('YYYY/MM/DD') : ''}`, + applicationDate1:`${res.data.applicationDate ? dayjs(res.data.applicationDate).format('YYYY/MM/DD') : ''}`, + agent1:res.data.agent, type: backRes.type } this.fileList = res.data.files || [] diff --git a/src/views/company/myInvoice/components/HeaderFilter.vue b/src/views/company/myInvoice/components/HeaderFilter.vue index e6b4bc6..dc36ddc 100644 --- a/src/views/company/myInvoice/components/HeaderFilter.vue +++ b/src/views/company/myInvoice/components/HeaderFilter.vue @@ -5,37 +5,190 @@
- -
-
-
- - {{item.label}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ +
+
+ 重置 + 确定
-
- 重置 - 确定 + + +
+
+ +
+
+ 重置 + 确定 +
-
-
- - -
-
-
- -
- -
+ +
+
+ +
+
+ +
+
+ 重置 + 确定
-
- 重置 - 确定 + + +
+
+ +
+
+ 重置 + 确定 +
+
+
+
+
+ +
+
+ +
+
+ 重置 + 确定 +
+
+
+ +
+
+ +
+
+ 重置 + 确定 +
+
+
+ +
+
+ +
+
+ 重置 + 确定 +
+
+
+
+
+ +
+
+ +
+
+ 重置 + 确定 +
-
-
+ + +
+
+ +
+
+ 重置 + 确定 +
+
+
+ +
+
+ +
+
+ 重置 + 确定 +
+
+
+
+
+ +
+
+ +
+
+ 重置 + 确定 +
+
+
+ +
+
+ +
+
+ 重置 + 确定 +
+
+
+ +
+
+ +
+
+ 重置 + 确定 +
+
+
+
@@ -84,6 +237,7 @@ export default { props: { listType: String, // 'detail' 详情 paramProp: Object, + type:String, }, components: { ReQuickDateBtns: () => import('@/components/ReComponents/ReQuickDateBtns'), @@ -156,7 +310,7 @@ export default { this.listQuery.endDate = `${e.time[1]} 23:59:59` }, handleConfirm() { - this.$refs.vanDropItem4 && this.$refs.vanDropItem4.toggle(false) + // this.$refs.vanDropItem4 && this.$refs.vanDropItem4.toggle(false) this.$refs.vanDropItem1 && this.$refs.vanDropItem1.toggle(false) this.$emit('onListQuery', this.listQuery) }, @@ -237,10 +391,12 @@ export default { }, handleMoreConfirm() { this.$emit('onListQuery', this.listQuery) - this.moreFilterShow = false + }, handleReset() { - this.listQuery.type = null + this.listQuery = {} + this.$emit('onListQuery', this.listQuery) + }, diff --git a/src/views/company/myInvoice/components/UserList.vue b/src/views/company/myInvoice/components/UserList.vue index 5e8fbc6..cd93e08 100644 --- a/src/views/company/myInvoice/components/UserList.vue +++ b/src/views/company/myInvoice/components/UserList.vue @@ -2,7 +2,7 @@
- + @@ -10,10 +10,10 @@
- +
- +
@@ -45,7 +45,8 @@ import { getScrollTop, findAreaIdName } from '@/utils' // import { getOrderListApi, getDataStatisticsApi, updateOrderSingleListApi } from '@/api/potentialGuest/order' // import { getInvoicePage, } from "@/api/bs/expenseApply"; -import { deleteInvoice, getInvoice, getInvoicePage, exportInvoiceExcel } from "@/api/bs/invoice"; +// import { deleteInvoice, getInvoice, getInvoicePage, exportInvoiceExcel } from "@/api/bs/invoice"; +import { deleteInvoice01, getInvoicePage01, exportInvoiceExcel01, deleteInvoice02, getInvoicePage02, exportInvoiceExcel02, deleteInvoice03, getInvoicePage03, exportInvoiceExcel03, deleteInvoice04, getInvoicePage04, exportInvoiceExcel04, deleteInvoice05, getInvoicePage05, exportInvoiceExcel05 } from "@/api/bs/invoice"; import { mapState, mapMutations } from 'vuex' import dayjs from 'dayjs' export default { @@ -114,6 +115,7 @@ export default { pageNo: 1, pageSize: this.singlePageSize, } + const getInvoicePage = this.type == '01' ? getInvoicePage01 : this.type == '02' ? getInvoicePage02 : this.type == '03' ? getInvoicePage03 : this.type == '04' ? getInvoicePage04 : getInvoicePage05; getInvoicePage(listQuery).then((res) => { let arr = (res.data && res.data.list || []).filter(item => item.id == id) resolve(arr) @@ -186,10 +188,12 @@ export default { getTableList(val) { // const { shellIdsLocal, collegeInfoIdLocal, startDate, endDate, keyword, type, method, targets, usePersonId, teacherIds, chargePersonIds } = this.listQuery const query = { - ...this.listQuery + ...this.listQuery, + type:this.type } this.moreLoading = true this.$loading(true, 'tableLoading') + const getInvoicePage = this.type == '01' ? getInvoicePage01 : this.type == '02' ? getInvoicePage02 : this.type == '03' ? getInvoicePage03 : this.type == '04' ? getInvoicePage04 : getInvoicePage05; getInvoicePage(query).then(res => { let resList = res.data && res.data.list || [] if (['init', 'refresh'].includes(val)) { @@ -221,6 +225,11 @@ export default { invoiceType:`0${index+1}` } }) + }, + vanTabsChange(){ + this.listQuery.pageNo = 1 + this.finished = false + this.getTableList('init') } } } 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 3/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8F=91=E7=A5=A8or?= =?UTF-8?q?=E5=85=B3=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 @@