新增会员下单
This commit is contained in:
@@ -73,6 +73,10 @@ const props = defineProps({
|
||||
orderId: {
|
||||
type: [String, Number],
|
||||
default: ''
|
||||
},
|
||||
member: {
|
||||
type: Object,
|
||||
default: {}
|
||||
}
|
||||
})
|
||||
|
||||
@@ -119,14 +123,15 @@ async function confirmOrder() {
|
||||
payLoading.value = true
|
||||
switch (payList.value[payActive.value].payType) {
|
||||
case 'deposit'://储值卡
|
||||
if (props.selecttype == 1) {
|
||||
// if (props.selecttype == 1) {
|
||||
|
||||
} else {
|
||||
await accountPay({
|
||||
orderId: props.orderId,
|
||||
memberId: 1
|
||||
})
|
||||
}
|
||||
// } else {
|
||||
|
||||
// }
|
||||
await accountPay({
|
||||
orderId: props.orderId,
|
||||
memberId: props.member.id
|
||||
})
|
||||
break;
|
||||
case 'cash'://现金
|
||||
if (props.selecttype == 1) {
|
||||
|
||||
Reference in New Issue
Block a user