YS:订单列表,1.代付尾款支付按钮及定金尾款应付显示2.运输中列表传参修改

main
yangsai@163.com 5 months ago
parent 359e740708
commit c1932ae3ef
  1. 13
      pages/goods/order_list/index.vue

@ -23,7 +23,7 @@
<view>{{$t(`待支付`)}}</view> <view>{{$t(`待支付`)}}</view>
<!-- <view class="num">{{ orderData.unpaid_count || 0 }}</view> --> <!-- <view class="num">{{ orderData.unpaid_count || 0 }}</view> -->
</view> </view>
<view class="item" :class="orderStatus == 1 ? 'on' : ''" @click="statusClick(1)"> <view class="item" :class="orderStatus == 5 ? 'on' : ''" @click="statusClick(5)">
<view>{{$t(`备货中`)}}</view> <view>{{$t(`备货中`)}}</view>
<!-- <view class="num">{{ orderData.unshipped_count || 0 }}</view> --> <!-- <view class="num">{{ orderData.unshipped_count || 0 }}</view> -->
</view> </view>
@ -111,17 +111,26 @@
</view> </view>
<view class="totalPrice"> <view class="totalPrice">
<text style="font-size: 24rpx;color: #999999;">总计<text style="color: #333333;">¥{{item.total_price}}</text></text> <text style="font-size: 24rpx;color: #999999;">总计<text style="color: #333333;">¥{{item.total_price}}</text></text>
<text style="font-size: 24rpx;color: #999999;margin:0 30rpx;">本次支付<text style="color: #E4884E;">¥{{item.pay_price}}</text></text> <text style="font-size: 24rpx;color: #999999;margin:0 30rpx;">实际支付<text style="color: #E4884E;">¥{{item.pay_price}}</text></text>
<text style="color: #A8D178;font-size: 24rpx;">{{item.percentage}}定金</text> <text style="color: #A8D178;font-size: 24rpx;">{{item.percentage}}定金</text>
<!-- {{$t(``)}}{{ item.total_num || 0 }}{{$t(`件商品,总金额`)}} <!-- {{$t(``)}}{{ item.total_num || 0 }}{{$t(`件商品,总金额`)}}
<text class="money">{{$t(``)}}{{ item.pay_price }}</text> --> <text class="money">{{$t(``)}}{{ item.pay_price }}</text> -->
</view> </view>
<view class="totalPrice" v-if="item.wei_status==1">
<text style="font-size: 24rpx;color: #999999;">已付定金<text style="color: #333333;">¥{{item.pay_money_dingjin}}</text></text>
<text style="font-size: 24rpx;color: #999999;margin:0 30rpx;">本次尾款支付<text style="color: #E4884E;">¥{{item.pay_money_wei}}</text></text>
<!-- {{$t(``)}}{{ item.total_num || 0 }}{{$t(`件商品,总金额`)}}
<text class="money">{{$t(``)}}{{ item.pay_price }}</text> -->
</view>
</view> </view>
<view class="bottom acea-row row-right row-middle"> <view class="bottom acea-row row-right row-middle">
<view class="bnt cancelBnt" v-if="item._status._type == 0 || item._status._type == 9" <view class="bnt cancelBnt" v-if="item._status._type == 0 || item._status._type == 9"
@click="cancelOrder(index, item.order_id)">{{$t(`取消订单`)}}</view> @click="cancelOrder(index, item.order_id)">{{$t(`取消订单`)}}</view>
<view class="bnt bg-color" v-if="item._status._type == 0" <view class="bnt bg-color" v-if="item._status._type == 0"
@click="goPay(item.pay_price, item.order_id)">{{$t(`支付定金`)}}</view> @click="goPay(item.pay_price, item.order_id)">{{$t(`支付定金`)}}</view>
<view class="bnt bg-color" v-if="item._status._type == 6"
@click="goPay(item.pay_money_wei, item.order_id)">{{$t(`支付尾款`)}}</view>
<!-- <view class="bnt bg-color" v-else-if="item._status._type == 3" <!-- <view class="bnt bg-color" v-else-if="item._status._type == 3"
@click="goOrderDetails(item.order_id)">去评价</view> --> @click="goOrderDetails(item.order_id)">去评价</view> -->
<!-- <view class="bnt bg-color" <!-- <view class="bnt bg-color"

Loading…
Cancel
Save