main
fanfan 7 months ago
parent a56b2c689f
commit 07acb3c36b
  1. 15
      pages/news3/shopOrderDetails.vue
  2. 2
      pages/user/index.vue

@ -194,21 +194,21 @@
<!-- 底部按钮 -->
<view class="footer-btn">
<view class="del"
v-show="!orderInfo.order_refund_id&&orderInfo.order_status==10&&orderInfo.delivery_type==10&&orderInfo.pay_status==20&&orderInfo.delivery_status==10"
v-show="!orderInfo.order_refund_id&&orderInfo.order_status==10&&orderInfo.delivery_type==10&&orderInfo.pay_status==20&&orderInfo.delivery_status==10&&userInfo.user_type == 40"
@click="goJump('/pages/news3/updateAddr',orderInfo,0)">修改地址</view>
<view class="btn"
v-show="!orderInfo.order_refund_id&&orderInfo.order_status==10&&orderInfo.pay_status==10"
v-show="!orderInfo.order_refund_id&&orderInfo.order_status==10&&orderInfo.pay_status==10&&userInfo.user_type == 40"
@click="goJump('/pages/news3/updatePrice',orderInfo)">修改价格</view>
<view class="btn"
v-show="!orderInfo.order_refund_id&&orderInfo.delivery_type==10&&orderInfo.order_status==10&&orderInfo.pay_status==20&&orderInfo.delivery_status==10"
v-show="!orderInfo.order_refund_id&&orderInfo.delivery_type==10&&orderInfo.order_status==10&&orderInfo.pay_status==20&&orderInfo.delivery_status==10&&userInfo.user_type == 40"
@click="goJump('/pages/news3/sendOutGoods',orderInfo,2)">发货</view>
<view class="del" v-show="orderInfo.audit_status==0" @click="refuseOrder(orderInfo,20)">拒绝</view>
<view class="btn" v-show="orderInfo.audit_status==0" @click="refuseOrder(orderInfo,10)">同意</view>
<view class="del" v-show="orderInfo.audit_status==0&&userInfo.user_type == 40" @click="refuseOrder(orderInfo,20)">拒绝</view>
<view class="btn" v-show="orderInfo.audit_status==0&&userInfo.user_type == 40" @click="refuseOrder(orderInfo,10)">同意</view>
<view class="del" @click="onDelete(orderInfo)"
v-show="(!orderInfo.order_refund_id&&orderInfo.order_status==30&&orderInfo.pay_status==20&&orderInfo.delivery_status==20)||(!orderInfo.order_refund_id&&orderInfo.order_status==20&&orderInfo.pay_status==10&&orderInfo.delivery_status==10)">
删除订单</view>
<view class="btn"
v-show="!orderInfo.order_refund_id&&orderInfo.delivery_type==10&&orderInfo.order_status==10&&orderInfo.pay_status==20&&(orderInfo.delivery_status==20||orderInfo.delivery_status==30)"
v-show="!orderInfo.order_refund_id&&orderInfo.delivery_type==10&&orderInfo.order_status==10&&orderInfo.pay_status==20&&(orderInfo.delivery_status==20||orderInfo.delivery_status==30)&&userInfo.user_type == 40"
@click="goJump('/pages/news3/sendOutGoods',orderInfo,1)">修改物流</view>
</view>
</view>
@ -281,11 +281,12 @@
refund_image_id: '',
refund_notes: '',
addressData: '',
userInfo:{}
};
},
onLoad(option) {
this.order_id = JSON.parse(option.item).order_id
this.userInfo = uni.getStorageSync('userInfo');
},
onShow() {
this.getOrderDetail(this.order_id)

@ -827,7 +827,7 @@
},
goShopOrderList() {
uni.navigateTo({
url: '/pages/news3/shopOrder?delivery_type=10'
url: '/pages/news3/shopOrder?delivery_type=20'
})
},
goDealer(type) {

Loading…
Cancel
Save