MrShi
5 小时以前 3f9032e92fdd383bfefc87a0bec9b242e1223851
admin/src/components/business/OperaDriverDetail.vue
@@ -231,6 +231,20 @@
            <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"
@@ -253,7 +267,7 @@
export default {
  name: 'OperaDriverDetail',
  extends: BaseTable,
  components: { GlobalWindow, Pagination ,OperaOrderDetail},
  components: { GlobalWindow, Pagination, OperaOrderDetail },
  data () {
    return {
      title: '司机详情',
@@ -269,7 +283,7 @@
        endTime: '',
        orderStatus: '',
        settleStatus: '',
        acceptDriver:null
        acceptDriver: null
      },
      statistics: {
        orderCount: 0,
@@ -308,7 +322,7 @@
      this.searchForm.createStartTime = val ? val[0] : ''
      this.searchForm.createEndTime = val ? val[1] : ''
      this.search()
    },
    }
  }
}
</script>