Commit 2adf26b1 by 前端

第二轮BUG修复

1 parent 514cf5a3
...@@ -263,7 +263,17 @@ export default { ...@@ -263,7 +263,17 @@ export default {
}, },
{ {
label: '客户车型', label: '客户车型',
prop: 'carSeriesName' prop: 'carSeriesName',
width: '200px',
formatter: cellValue => {
let cartypeShow = ''
if (cellValue.customerInfo && cellValue.customerInfo.carBrand) {
cartypeShow = cellValue.customerInfo.carBrand + ' - ' + cellValue.customerInfo.carChildsBrandName + ' - ' + cellValue.customerInfo.carSeriesName
} else {
cartypeShow = '-'
}
return cartypeShow
}
}, },
{ {
label: '手机号', label: '手机号',
...@@ -368,7 +378,10 @@ export default { ...@@ -368,7 +378,10 @@ export default {
if (this.searchForm.useTime && this.searchForm.useTime.length) { if (this.searchForm.useTime && this.searchForm.useTime.length) {
this.searchForm.startDate = dayjs(this.searchForm.useTime[0]).format('YYYY-MM-DD HH:mm:ss') this.searchForm.startDate = dayjs(this.searchForm.useTime[0]).format('YYYY-MM-DD HH:mm:ss')
this.searchForm.endDate = dayjs(this.searchForm.useTime[1]).format('YYYY-MM-DD') + ' 23:59:59' this.searchForm.endDate = dayjs(this.searchForm.useTime[1]).format('YYYY-MM-DD') + ' 23:59:59'
delete this.searchForm.useTime // delete this.searchForm.useTime
} else {
this.searchForm.startDate = ''
this.searchForm.endDate = ''
} }
resolve() resolve()
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!