Merge branch 'fix/goods-0525' into msb_test

feature/ad-0531-ch
ch 3 years ago
commit a0099fddc1

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-05-04 17:30:58 * @Date: 2022-05-04 17:30:58
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-05-26 20:00:22 * @LastEditTime: 2022-05-26 20:20:23
* @Description: file content * @Description: file content
--> -->
@ -66,6 +66,7 @@ export default {
if(query.mode === 'cart'){ if(query.mode === 'cart'){
res = await ApiGetBeforeCartOrder({ res = await ApiGetBeforeCartOrder({
cartIds: query.ids, cartIds: query.ids,
isVirtual :this.productType == 2 && true,
recipientAddressId : this.address.id recipientAddressId : this.address.id
}) })
} }
@ -76,6 +77,7 @@ export default {
quantity : query.num, quantity : query.num,
activityId : query.activityId, activityId : query.activityId,
activityTimeId : query.activityTimeId, activityTimeId : query.activityTimeId,
isVirtual :this.productType == 2 && true,
// 1 2 // 1 2
activityType : query.activityType, activityType : query.activityType,
recipientAddressId : this.address.id recipientAddressId : this.address.id
@ -102,6 +104,7 @@ export default {
const {error, result} = await ApiPostSubmitOrder({ const {error, result} = await ApiPostSubmitOrder({
orderSource : 4, orderSource : 4,
recipientAddressId : this.address.id, recipientAddressId : this.address.id,
isVirtual :this.productType == 2 && true,
shoppingCartIds : query.ids ? query.ids.split(',') : [], shoppingCartIds : query.ids ? query.ids.split(',') : [],
products : this.orderInfo.products.map(i => ({ products : this.orderInfo.products.map(i => ({
activityId : query.activityId, activityId : query.activityId,

Loading…
Cancel
Save