新增线下订单模块

This commit is contained in:
唐明明
2023-11-14 18:05:15 +08:00
parent 5920afb9c7
commit 43320b6870
12 changed files with 2077 additions and 7 deletions

View File

@@ -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;
}
}
})
}