Commit b02d31ec by wangql

处理时间参数问题

1 parent 6e929fa4
......@@ -253,8 +253,8 @@ export default {
return new Promise(resolve => {
this.searchFormSearch = _.cloneDeep(this.searchForm)
if (this.searchFormSearch.payDate) {
this.searchFormSearch.accountStartDate = new Date(this.searchFormSearch.payDate[0]).toLocaleDateString().replace(/\//g, '-') + ' 00:00:00'
this.searchFormSearch.accountEndDate = new Date(this.searchFormSearch.payDate[1]).toLocaleDateString().replace(/\//g, '-') + ' 23:59:59'
this.searchFormSearch.accountStartDate = Util.dateFormate(this.searchFormSearch.payDate[0], 'YYYY-MM-DD HH:mm:ss')
this.searchFormSearch.accountEndDate = Util.dateFormate(this.searchFormSearch.payDate[1], 'YYYY-MM-DD') + ' 23:59:59'
delete this.searchFormSearch.payDate
}
var orderOrTrade = this.getSelectInputParams()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!