|
@@ -57,7 +57,7 @@
|
|
class="tui-order-item"
|
|
class="tui-order-item"
|
|
v-for="(order, orderIndex) in orderList"
|
|
v-for="(order, orderIndex) in orderList"
|
|
:key="orderIndex"
|
|
:key="orderIndex"
|
|
- @click.stop="detail(order.orderId)"
|
|
|
|
|
|
+ @click.stop="detail(order.shopOrderId)"
|
|
>
|
|
>
|
|
<view class="order-title">
|
|
<view class="order-title">
|
|
<view class="order-title-t">
|
|
<view class="order-title-t">
|
|
@@ -86,25 +86,19 @@
|
|
></image>
|
|
></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="goods-title">
|
|
|
|
- <view v-if="order.shopPromotion" class="floor-item-act">
|
|
|
|
- <view class="floor-tags">{{ order.shopPromotion.name }}</view>
|
|
|
|
- </view>
|
|
|
|
- <view class="title-text" v-if="order.secondHandOrderFlag == 1"
|
|
|
|
- >{{ order.shopName }}
|
|
|
|
- <label class="paymenttext" v-if="order.affirmPaymentFlag == 1"
|
|
|
|
- >已确认打款供应商</label
|
|
|
|
- >
|
|
|
|
- </view>
|
|
|
|
- <view class="title-text tui-skeleton-fillet" v-else @click="goShophome(order)"
|
|
|
|
- >{{ order.shopName }}<label class="iconfont icon-jinrudianpu"></label
|
|
|
|
- ></view>
|
|
|
|
- </view>
|
|
|
|
<view
|
|
<view
|
|
class="goods-item"
|
|
class="goods-item"
|
|
v-for="(pros, prosIndex) in order.orderProductList"
|
|
v-for="(pros, prosIndex) in order.orderProductList"
|
|
:key="prosIndex"
|
|
:key="prosIndex"
|
|
>
|
|
>
|
|
|
|
+ <view class="goods-title">
|
|
|
|
+ <view v-if="pros.shopPromotion" class="floor-item-act">
|
|
|
|
+ <view class="floor-tags">{{ pros.shopPromotion.name }}</view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="title-text tui-skeleton-fillet">
|
|
|
|
+ {{ pros.shopName }}
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
<view class="goods-pros-t">
|
|
<view class="goods-pros-t">
|
|
<view class="pros-img tui-skeleton-fillet">
|
|
<view class="pros-img tui-skeleton-fillet">
|
|
<image :src="pros.image" alt="" />
|
|
<image :src="pros.image" alt="" />
|
|
@@ -201,8 +195,8 @@
|
|
/>
|
|
/>
|
|
</view>
|
|
</view>
|
|
<!--加载loadding-->
|
|
<!--加载loadding-->
|
|
- <tui-loadmore :visible="loadding" :index="3" type="black"></tui-loadmore>
|
|
|
|
- <tui-nomore :visible="!pullUpOn" :backgroundColor="'#ffffff'" :text="nomoreText"></tui-nomore>
|
|
|
|
|
|
+ <tui-loadmore :visible="loadding" :index="3" type="black" />
|
|
|
|
+ <tui-nomore :visible="!pullUpOn" :backgroundColor="'#ffffff'" :text="nomoreText" />
|
|
<!--加载loadding-->
|
|
<!--加载loadding-->
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -217,7 +211,7 @@
|
|
@paymentConfirm="hanldPaymentConfirm"
|
|
@paymentConfirm="hanldPaymentConfirm"
|
|
/>
|
|
/>
|
|
<!-- 分享弹窗 -->
|
|
<!-- 分享弹窗 -->
|
|
- <cm-share-popup :orderId="btnoRderID" v-if="isShareModal" @shareConfirm="onShareAppMessage" />
|
|
|
|
|
|
+ <cm-share-popup :shopOrderId="handleShopOrderId" v-if="isShareModal" @shareConfirm="onShareAppMessage" />
|
|
<!-- 采美豆提示弹窗 -->
|
|
<!-- 采美豆提示弹窗 -->
|
|
<activityBean
|
|
<activityBean
|
|
v-if="isActivityBean"
|
|
v-if="isActivityBean"
|
|
@@ -328,8 +322,8 @@ export default {
|
|
//处理金额
|
|
//处理金额
|
|
return Number(value).toFixed(2)
|
|
return Number(value).toFixed(2)
|
|
},
|
|
},
|
|
- StateExpFormat(state) {
|
|
|
|
- //订单状态文字和颜色
|
|
|
|
|
|
+ statusFilters(value) {
|
|
|
|
+ //处理订单状态显示
|
|
const map = {
|
|
const map = {
|
|
0: '待确认',
|
|
0: '待确认',
|
|
2: '交易完成',
|
|
2: '交易完成',
|
|
@@ -346,8 +340,8 @@ export default {
|
|
32: '已付款部分发货',
|
|
32: '已付款部分发货',
|
|
33: '已付款已发货'
|
|
33: '已付款已发货'
|
|
}
|
|
}
|
|
- return map[state]
|
|
|
|
- },
|
|
|
|
|
|
+ return map[value]
|
|
|
|
+ }
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
subMitSearch() {
|
|
subMitSearch() {
|