完善订单模块
This commit is contained in:
@ -22,11 +22,11 @@
|
||||
},
|
||||
{
|
||||
name: '待付款',
|
||||
type: orderType.WAIT_PAY
|
||||
type: orderType.PAY
|
||||
},
|
||||
{
|
||||
name: '未制作',
|
||||
type: orderType.NOT_MADE
|
||||
type: orderType.DELIVERY
|
||||
},
|
||||
{
|
||||
name: '已完成',
|
||||
@ -34,7 +34,7 @@
|
||||
},
|
||||
{
|
||||
name: '退款',
|
||||
type: orderType.REFUND
|
||||
type: orderType.CLOSE
|
||||
}
|
||||
],
|
||||
current: 0,
|
||||
@ -46,8 +46,10 @@
|
||||
},
|
||||
methods: {
|
||||
tabChange(index) {
|
||||
console.log("this.list>>>", this.list);
|
||||
this.current = index
|
||||
this.type = this.list[index].type
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user