|
@@ -1,14 +1,15 @@
|
|
|
<template>
|
|
|
<view class="order-pay">
|
|
|
<view class="top-tip">请对每家店铺分别进行付款</view>
|
|
|
- <template v-for="item in orderList">
|
|
|
- <view class="shop-info" :key="item.shopId">
|
|
|
+ <template v-for="order in orderList">
|
|
|
+ <view class="shop-info" :key="order.shopId">
|
|
|
<view class="shop-name">{{ item.shopName }}</view>
|
|
|
<view class="product-list">
|
|
|
- <template v-for="product in item.orderProductList">
|
|
|
+ <template v-for="product in order.orderProductList">
|
|
|
<view class="product" :key="product.orderProductId">
|
|
|
<image class="cover" :src="product.productImage" mode="widthFix"></image>
|
|
|
<view class="content">
|
|
|
+ <view class="count">×{{ product.num }}</view>
|
|
|
<view class="title">{{ product.name }}</view>
|
|
|
<view class="unit">规格:{{ product.productUnit }}</view>
|
|
|
<view class="tags">
|
|
@@ -32,15 +33,15 @@
|
|
|
</template>
|
|
|
</view>
|
|
|
<view class="total">
|
|
|
- <text v-if="item.eachDiscount">优惠:¥{{ item.eachDiscount }}</text>
|
|
|
- <text v-if="item.receiptAmount">已付:¥{{ item.receiptAmount }}</text>
|
|
|
+ <text v-if="order.eachDiscount">优惠:¥{{ order.eachDiscount }}</text>
|
|
|
+ <text v-if="order.receiptAmount">已付:¥{{ order.receiptAmount }}</text>
|
|
|
</view>
|
|
|
- <view class="foot">
|
|
|
+ <view class="foot" v-if="receiptStatus !== 3">
|
|
|
<view class="price">
|
|
|
<text>待付:</text>
|
|
|
- <text class="active">¥{{ item.restAmount | formatPrice }}</text>
|
|
|
+ <text class="active">¥{{ order.restAmount | formatPrice }}</text>
|
|
|
</view>
|
|
|
- <view class="submit" @click="onPayOrder(item)">付款</view>
|
|
|
+ <view class="submit" @click="onPayOrder(order)">付款</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
@@ -70,18 +71,6 @@
|
|
|
</view>
|
|
|
</view> -->
|
|
|
|
|
|
- <!-- 弹框 -->
|
|
|
- <!-- <tui-modal
|
|
|
- :show="modal"
|
|
|
- :size="30"
|
|
|
- :button="[{ text: '确定', type: 'danger' }]"
|
|
|
- shape="circle"
|
|
|
- color="#333333"
|
|
|
- title="提示"
|
|
|
- content="抱歉,该商品支付正在调整暂不支持下单!"
|
|
|
- @click="onConfirm"
|
|
|
- ></tui-modal> -->
|
|
|
-
|
|
|
<!-- 操作弹窗 -->
|
|
|
<tui-modal
|
|
|
:show="modal"
|