Commit 17d81982 by liang ce

时间戳问题修改

parent 792c8cf4
......@@ -36,7 +36,7 @@
{{ returnStatus(orderStatus)}}
</span>
<span slot="createTime" slot-scope="createTime">
{{ createTimeToStr(createTime) }}
{{ createTime }}
</span>
<span slot="remark">备注</span>
</a-table>
......
......@@ -36,7 +36,7 @@
</span>
<span slot="remark">备注</span>
<span slot="createTime" slot-scope="createTime">
{{ createTimeToStr(createTime) }}
{{ createTime }}
</span>
<span slot="action" slot-scope="text, record, index" class="operationTable">
<a v-if="record.orderStatus === MINGPAY_RECORDS_STATUS.SUCCESS" href="javascript:;" @click="refundModal(record, text, index)">退款</a>
......
......@@ -11,8 +11,8 @@
<span slot="endTime" slot-scope="endTime">
{{ timeToStr(endTime) }}
</span>
<span slot="creatTime" slot-scope="creatTime">
{{ timeToStr(creatTime) }}
<span slot="creatTime" slot-scope="createTime">
{{ timeToStr(createTime) }}
</span>
</a-table>
</div>
......@@ -41,8 +41,8 @@ export default {
scopedSlots: { customRender: 'endTime' }
}, {
title: '创建日期',
dataIndex: 'creatTime',
scopedSlots: { customRender: 'creatTime' }
dataIndex: 'createTime',
scopedSlots: { customRender: 'createTime' }
}],
pagination: {
current: 1,
......@@ -82,7 +82,7 @@ export default {
let date = timeData.getDate()
let hour = timeData.getHours()
let minute = timeData.getMinutes()
return `${year}${month}${date} ${hour}:${minute}`
return `${year}${month}${date}日`
},
handleTableChange (pagination, filters, sorter) {
this.pagination.current = pagination.current
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment