lin
2026-06-08 a89c11d01a40ebe2707426774a428b84aeaca464
feat:星享购 订单详情隐藏掉还款相关的展示
1 files modified
20 ■■■■ changed files
pages/orderinfo/orderinfo.vue 20 ●●●● patch | view | raw | blame | history
pages/orderinfo/orderinfo.vue
@@ -66,12 +66,12 @@
                    <text class="label">快递单号:</text>
                    <text>{{orderData.express_no ? orderData.express_no : '/'}}</text>
                </view>
                <view class="orderDetail-v">
                <!-- <view class="orderDetail-v">
                    <text class="label">还款计划:</text>
                    <view class="orderplan">
                        <text v-for="(item, index) in orderData.plan">{{item.paydate}}还款{{item.total}}({{item.status == 6 ? '已还' : '未还'}})</text>
                    </view>
                </view>
                </view> -->
                <view class="orderDetail-v">
                    <text class="label">买卖合同:</text>
                    <text style="color: #2196F3;" @tap="getEsign">点击查看</text>
@@ -86,10 +86,10 @@
                <text class="payback" v-if="orderData.status == 2" @tap="refundOrder(orderData)">退款</text>
                <text class="exOrder" v-if="orderData.status == 3 || orderData.status == 4 || orderData.status == 5 || orderData.status == 6" @tap="getExpress(orderData)">物流</text>
                <text class="payOrder" v-if="orderData.status == 3" @tap="receiveOrder(orderData)">收货</text>
                <text class="payback" v-if="(orderData.status == 3 || orderData.status == 4 || orderData.status == 5) && orderData.payment == 1" @tap="getPlan(orderData)">还款</text>
                <!-- <text class="payback" v-if="(orderData.status == 3 || orderData.status == 4 || orderData.status == 5) && orderData.payment == 1" @tap="getPlan(orderData)">还款</text> -->
            </view>
        </view>
        <uni-popup ref="popup" type="bottom">
            <view class="popup-content">
                <view class="pop-title">物流信息</view>
@@ -103,7 +103,7 @@
                </view>
            </view>
        </uni-popup>
        <uni-popup ref="popup2" type="bottom">
            <view class="popup-content">
                <view class="pop-title">还款计划({{planData.length}})</view>
@@ -123,7 +123,7 @@
                </view>
            </view>
        </uni-popup>
        <uni-popup ref="popup3" type="center" style="width: 100%;">
            <view class="popup-content" style="width: 100%;">
                <view class="pop-title" style="">还款方式</view>
@@ -160,13 +160,13 @@
                planId: 0,
            }
        },
        onLoad(op) {
        onLoad(op) {
            this.orderid = op.orderid ? op.orderid : 0
            this.getOrderInfo()
        },
        methods: {
            getEsign(){
                let t = this
                let t = this
                t.$util.post('Sign/getEsign', {cartsIds: this.orderData.cartsids}).then(res => {
                    if(res.code == 1){
                        let pdfUrl = t.$baseUrl + res.data
@@ -262,7 +262,7 @@
                                    setTimeout(() => {
                                        uni.navigateBack()
                                    }, 1500)
                                } else {
                                    uni.showToast({
                                        title: res.msg || '操作失败'
@@ -358,7 +358,7 @@
                                }
                            })
                        }
                        if(payment == 3) {
                        if(payment == 3) {
                            uni.showToast({
                                title: res.msg || '还款成功',
                                icon: 'success',