Commit 3f3a1ca2 authored by dragondean@qq.com's avatar dragondean@qq.com

入仓单排序

parent b67249de
......@@ -165,6 +165,10 @@ export default {
})
})
})
// 按照入仓时间inTime排序
arr.sort((a, b) => {
return new Date(a.inTime).getTime() - new Date(b.inTime).getTime()
})
return arr
},
calcTotal(){
......
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