新增线下订单模块
This commit is contained in:
@@ -233,11 +233,21 @@
|
||||
// 创建订单
|
||||
onCreateOrder(){
|
||||
uni.showActionSheet({
|
||||
itemList: ['个人订单', '客户订单'],
|
||||
itemList: ['线下订单','个人订单', '客户订单'],
|
||||
success : res => {
|
||||
this.onNav('OrderCreate', {
|
||||
type: res.tapIndex === 0 ? 'self' : 'other'
|
||||
})
|
||||
switch (res.tapIndex){
|
||||
case 0:
|
||||
this.onNav('OfflineCreate')
|
||||
break;
|
||||
case 1:
|
||||
this.onNav('OrderCreate', { type: 'self' })
|
||||
break;
|
||||
case 2:
|
||||
this.onNav('OrderCreate', { type: 'other' })
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user