新增先货后款单独样式, 调整付款逻辑
This commit is contained in:
parent
f196e68dae
commit
43b68351f5
|
@ -143,10 +143,7 @@
|
|||
</block>
|
||||
</view>
|
||||
</view>
|
||||
<view class='totalPrice' v-if="item.orderList[0].activity_type !== 2">
|
||||
共{{item.total_num || 0}}件商品,总金额
|
||||
<text class='money p-color'>¥{{item.pay_price}}</text>
|
||||
</view>
|
||||
|
||||
<view class='bottom acea-row row-right row-middle'>
|
||||
<view class='bnt b-color'
|
||||
@click.stop='goPay(item.pay_price,item.group_order_id,item.activity_type)'>
|
||||
|
@ -248,12 +245,16 @@
|
|||
<view>¥{{goods.cart_info.productAttr.price}}</view>
|
||||
<view>x{{goods.product_num}}</view>
|
||||
</view>
|
||||
<view v-if="item.pay_type==8" style="text-align: right;width: 100%;font-size: 14px;">先货后款 实付:¥0.00</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class='totalPrice' v-if="item.activity_type == 2">共{{item.orderNum || 0}}件商品,总金额
|
||||
<text class='money p-color'>¥{{item.presell_price}}</text>
|
||||
</view>
|
||||
<view class='totalPrice' v-else-if="item.pay_type==8">共{{item.orderNum || 0}}件商品,结算周期到期后付款
|
||||
<text class='money p-color'>¥{{item.pay_price}}</text>
|
||||
</view>
|
||||
<view class='totalPrice' v-else>共{{item.orderNum || 0}}件商品,总金额
|
||||
<text class='money p-color'>¥{{item.pay_price}}</text>
|
||||
</view>
|
||||
|
@ -301,9 +302,13 @@
|
|||
发布种草
|
||||
</navigator> -->
|
||||
|
||||
<view class='bnt b-color' v-if="item.order_status==8"
|
||||
<!-- <view class='bnt b-color' v-if="item.order_status==8"
|
||||
@click.stop='goPay(item.pay_price,item.group_order_id,item.activity_type)'>
|
||||
去结算
|
||||
</view> -->
|
||||
<view class='bnt b-color' v-if="item.order_status==8"
|
||||
@click.stop='navToPay(item)'>
|
||||
去结算
|
||||
</view>
|
||||
<view v-else class='bnt b-color' @click='goOrderDetails_Evaluation(item.order_id)'>
|
||||
去评价
|
||||
|
@ -520,6 +525,12 @@
|
|||
})
|
||||
}
|
||||
},
|
||||
// 先货后款去支付
|
||||
navToPay(item){
|
||||
uni.navigateTo({
|
||||
url: `/pages/users/payment/payment?order_id=${item.group_order_id}&product_type=${item.orderProduct[0]?.product_type||''}`
|
||||
})
|
||||
},
|
||||
onLoadFun() {
|
||||
this.isShowAuth = false;
|
||||
this.getOrderData();
|
||||
|
|
Loading…
Reference in New Issue