预订单下单加参数

fix/0523-ch
ch 2 years ago
parent 7df16f45ca
commit 693cc0417a

@ -0,0 +1,16 @@
/*
* @Author: ch
* @Date: 2022-05-26 11:49:16
* @LastEditors: ch
* @LastEditTime: 2022-05-26 14:16:49
* @Description: file content
*/
// 订单状态
export const ORDER_STATUS = {
// 待支付
AWAIT_PAY: 1
}
export const ORDER_SOURCE = {
}

@ -2,7 +2,7 @@
* @Author: ch
* @Date: 2022-03-20 14:14:53
* @LastEditors: ch
* @LastEditTime: 2022-05-25 16:04:45
* @LastEditTime: 2022-05-26 14:31:36
* @Description: file content
-->
<template>
@ -123,6 +123,7 @@ export default {
if(query.mode === 'cart'){
res = await ApiGetBeforeCartOrder({
cartIds: query.ids,
isVirtual :this.productType == 2 && true,
recipientAddressId : this.address.id
})
}
@ -132,6 +133,7 @@ export default {
productSkuId : query.skuId,
quantity : query.num,
activityId : query.activityId,
isVirtual : this.productType == 2 && true,
activityTimeId : query.activityTimeId,
// 1 2
activityType : query.activityType,
@ -169,6 +171,7 @@ export default {
orderSource : this.$store.state.openId ? 5 : 4,
// #endif
recipientAddressId : this.address.id,
isVirtual :this.productType == 2 && true,
shoppingCartIds : query.ids ? query.ids.split(',') : [],
products : this.orderInfo.products.map(i => ({
activityId : query.activityId,

Loading…
Cancel
Save