| | |
| | | <template slot-scope="{row}">¥{{ (row.exceptionAmount / 100).toFixed(2) }}</template> |
| | | </el-table-column> |
| | | <el-table-column prop="createTime" label="创建时间" min-width="150px"> </el-table-column> |
| | | <el-table-column prop="statusDesc" label="订单状态" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <span :style="{ color: row.status <7 ? '#e6a23c' : (row.status ===7 ? '#67c23a' : 'grey' )}"> |
| | | {{ row.statusDesc }} |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="结算状态" min-width="100px"> |
| | | <template slot-scope="{row}"> |
| | | <span :style="{ color: row.settlementStatus === 1 ? '#67c23a' : '#e6a23c' }"> |
| | | {{ row.settlementStatus === 1 ? '已结算' : '待结算' }} |
| | | </span> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <pagination |
| | | @size-change="handleSizeChange" |
| | |
| | | export default { |
| | | name: 'OperaDriverDetail', |
| | | extends: BaseTable, |
| | | components: { GlobalWindow, Pagination ,OperaOrderDetail}, |
| | | components: { GlobalWindow, Pagination, OperaOrderDetail }, |
| | | data () { |
| | | return { |
| | | title: '司机详情', |
| | |
| | | endTime: '', |
| | | orderStatus: '', |
| | | settleStatus: '', |
| | | acceptDriver:null |
| | | acceptDriver: null |
| | | }, |
| | | statistics: { |
| | | orderCount: 0, |
| | |
| | | this.searchForm.createStartTime = val ? val[0] : '' |
| | | this.searchForm.createEndTime = val ? val[1] : '' |
| | | this.search() |
| | | }, |
| | | } |
| | | } |
| | | } |
| | | </script> |