|
|
|
@ -36,7 +36,8 @@
|
|
|
|
|
<el-select v-model="query.type" clearable placeholder="类型" class="filter-item" style="width: 130px"> |
|
|
|
|
<el-option v-for="item in queryTypeOptions" :key="item.key" :label="item.display_name" :value="item.key" /> |
|
|
|
|
</el-select> |
|
|
|
|
<el-select v-model="orderType" clearable placeholder="订单类型" class="filter-item" style="width: 130px"> |
|
|
|
|
<el-select v-model="orderType" |
|
|
|
|
clearable placeholder="订单类型" class="filter-item" style="width: 130px"> |
|
|
|
|
<el-option |
|
|
|
|
v-for="item in typeOptions" |
|
|
|
|
:key="item.value" |
|
|
|
@ -47,7 +48,7 @@
|
|
|
|
|
<el-date-picker |
|
|
|
|
v-model="createTime" |
|
|
|
|
:default-time="['00:00:00','23:59:59']" |
|
|
|
|
type="daterange" |
|
|
|
|
type="datetimerange" |
|
|
|
|
range-separator=":" |
|
|
|
|
size="small" |
|
|
|
|
class="date-item" |
|
|
|
@ -145,6 +146,7 @@
|
|
|
|
|
<span v-html="scope.row.statusName"></span> |
|
|
|
|
</template> |
|
|
|
|
</el-table-column> |
|
|
|
|
<el-table-column prop="mark" label="订单备注" /> |
|
|
|
|
<el-table-column prop="addTime" width="160" label="创建时间"> |
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
<span>{{ formatTime(scope.row.createTime) }}</span> |
|
|
|
@ -283,7 +285,7 @@
|
|
|
|
|
return { |
|
|
|
|
delLoading: false, |
|
|
|
|
status: '-9', |
|
|
|
|
orderType: '0', |
|
|
|
|
orderType: 0, |
|
|
|
|
createTime: '', |
|
|
|
|
checkList: [], |
|
|
|
|
printChecked: false, |
|
|
|
@ -293,7 +295,9 @@
|
|
|
|
|
queryTypeOptions: [ |
|
|
|
|
{ key: 'orderId', display_name: '订单号' }, |
|
|
|
|
{ key: 'realName', display_name: '用户姓名' }, |
|
|
|
|
{ key: 'userPhone', display_name: '用户电话' } |
|
|
|
|
{ key: 'userPhone', display_name: '用户电话' }, |
|
|
|
|
{ key: 'userAddress', display_name: '用户地址' } |
|
|
|
|
|
|
|
|
|
], |
|
|
|
|
statusOptions: [ |
|
|
|
|
{ value: '0', label: '未支付' }, |
|
|
|
|