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

@ -194,21 +194,21 @@
<!-- 底部按钮 --> <!-- 底部按钮 -->
<view class="footer-btn"> <view class="footer-btn">
<view class="del" <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> @click="goJump('/pages/news3/updateAddr',orderInfo,0)">修改地址</view>
<view class="btn" <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> @click="goJump('/pages/news3/updatePrice',orderInfo)">修改价格</view>
<view class="btn" <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> @click="goJump('/pages/news3/sendOutGoods',orderInfo,2)">发货</view>
<view class="del" v-show="orderInfo.audit_status==0" @click="refuseOrder(orderInfo,20)">拒绝</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" @click="refuseOrder(orderInfo,10)">同意</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)" <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)"> 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>
<view class="btn" <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> @click="goJump('/pages/news3/sendOutGoods',orderInfo,1)">修改物流</view>
</view> </view>
</view> </view>
@ -280,12 +280,13 @@
isToggle: false, isToggle: false,
refund_image_id: '', refund_image_id: '',
refund_notes: '', refund_notes: '',
addressData: '', addressData: '',
userInfo:{}
}; };
}, },
onLoad(option) { onLoad(option) {
this.order_id = JSON.parse(option.item).order_id this.order_id = JSON.parse(option.item).order_id
this.userInfo = uni.getStorageSync('userInfo');
}, },
onShow() { onShow() {
this.getOrderDetail(this.order_id) this.getOrderDetail(this.order_id)

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

Loading…
Cancel
Save