|
@@ -146,7 +146,7 @@
|
|
|
<view class="total-num text-red"> ¥{{ fen2yuan(state.orderInfo.price.payPrice) }} </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
-
|
|
|
+
|
|
|
<!-- 积分-->
|
|
|
<s-points-pop v-model="state.couponInfo" :currentMemberPoints="state.currentMemberPoints" :currentTotalPrice="state.currentTotalPrice" :show="state.showPoints" @confirm="onInputPoints"
|
|
|
@close="state.showPoints = false" />
|
|
@@ -274,10 +274,10 @@
|
|
|
async function submitOrder() {
|
|
|
// 处理每个店铺的留言 以[{店铺id:留言}]的形式返回
|
|
|
const shops = shopsByNames.value;
|
|
|
- const shopRemarks = []
|
|
|
+ const shopRemarks = {};
|
|
|
Object.keys(shops).forEach(shopName => {
|
|
|
const shop = shops[shopName];
|
|
|
- shopRemarks.push({[shop.shopId]:shop.remark})
|
|
|
+ shopRemarks[shop.shopId]=shop.remark;
|
|
|
});
|
|
|
|
|
|
const {
|