完善订单
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<view class="px32">
|
||||
<view class="px32" style="padding-bottom: 200rpx;">
|
||||
<!-- 收货方式 -->
|
||||
<view class="bg-white br16 row u-m-t-32">
|
||||
<!-- <u-tabs
|
||||
@ -72,9 +72,9 @@
|
||||
<u-icon name="arrow-right" />
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="bg-white br16 row u-m-t-32">
|
||||
<view class="bg-white br16 row u-m-t-32 u-p-20">
|
||||
<order-goods :team="{ need: orderInfo.team_need }" :list="goodsLists" :delivery="delivery"
|
||||
:order_type="orderInfo.order_type" :imageWidth="260" :imageHeight="172" mode="confirm"></order-goods>
|
||||
:order_type="orderInfo.order_type" :imageWidth="186" :imageHeight="186" mode="confirm"></order-goods>
|
||||
</view>
|
||||
|
||||
<view class="item row-between bg-white br16 row u-m-t-32 p24" @tap="showCoupon = true">
|
||||
@ -218,6 +218,7 @@ export default {
|
||||
unusableCoupon: [], // 优惠券--不可用
|
||||
showCoupon: false, // 显示优惠券Popup
|
||||
userRemark: '', // 用户留言
|
||||
type: '', // 订单类型
|
||||
}
|
||||
},
|
||||
|
||||
@ -225,6 +226,7 @@ export default {
|
||||
const data = JSON.parse(decodeURIComponent(options.data))
|
||||
console.log("data>>>", data);
|
||||
this.goods = data.goods
|
||||
this.type = data.type
|
||||
|
||||
//#ifdef MP-WEIXIN
|
||||
this.pay.weixin = 1
|
||||
@ -411,6 +413,7 @@ export default {
|
||||
this.showLoading = true
|
||||
|
||||
from.remark = this.userRemark
|
||||
from.type = this.type
|
||||
|
||||
try {
|
||||
const { code, data, msg } = await orderBuy(from)
|
||||
|
||||
Reference in New Issue
Block a user