Commit 073611ae authored by youjie's avatar youjie

no message

parent 08049404
......@@ -286,22 +286,12 @@
};
},
methods: {
dateFormat(dateData) {
var date = new Date(dateData)
var y = date.getFullYear()
var m = date.getMonth() + 1
m = m < 10 ? ('0' + m) : m
var d = date.getDate()
d = d < 10 ? ('0' + d) : d
const time = y + '-' + m + '-' + d
return time
},
toPreviewOrderHandler(id){
this.$router.push({
name: 'SingleticketOrderPreview',
query: {
id: id,
OpenTime: this.FormartDate(this.msg.OpenTime),
OpenTime: this.FormartDate(new Date(this.msg.OpenTime)),
blank: "y",
tab: "订单预览"
}
......
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