|
|
|
|
|
|
|
|
<!-- <div class="date-label">创建时间:</div> --> |
|
|
<!-- <div class="date-label">创建时间:</div> --> |
|
|
<el-date-picker unlink-panels v-model="searchForm.time" type="datetimerange" range-separator="到" |
|
|
<el-date-picker unlink-panels v-model="searchForm.time" type="datetimerange" range-separator="到" |
|
|
start-placeholder="订单创建开始日期" end-placeholder="订单创建结束日期" format="YYYY-MM-DD HH:mm:ss" |
|
|
start-placeholder="订单创建开始日期" end-placeholder="订单创建结束日期" format="YYYY-MM-DD HH:mm:ss" |
|
|
value-format="YYYY-MM-DDTHH:mm:ss" /> |
|
|
|
|
|
|
|
|
value-format="YYYY-MM-DD HH:mm:ss" /> |
|
|
</template> |
|
|
</template> |
|
|
<template #CustomButton> |
|
|
<template #CustomButton> |
|
|
<el-button v-if="IsPermission(route, 'GET_ORDER_LIST')" type="primary" @click="getOrderFn(1)"> |
|
|
<el-button v-if="IsPermission(route, 'GET_ORDER_LIST')" type="primary" @click="getOrderFn(1)"> |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
function dateChange(time) { |
|
|
function dateChange(time) { |
|
|
if (time) { |
|
|
if (time) { |
|
|
time = moment(time).format('YYYY-MM-DDTHH:mm:ss') |
|
|
|
|
|
|
|
|
time = moment(time).format('YYYY-MM-DD HH:mm:ss') |
|
|
} |
|
|
} |
|
|
return time |
|
|
return time |
|
|
} |
|
|
} |