|
|
@ -62,8 +62,10 @@ |
|
|
|
<view class="btn primary" |
|
|
|
<view class="btn primary" |
|
|
|
v-show="!item.order_refund_id&&item.order_status==10&&item.pay_status==20&&item.delivery_status==30" |
|
|
|
v-show="!item.order_refund_id&&item.order_status==10&&item.pay_status==20&&item.delivery_status==30" |
|
|
|
@click="goJump('/pages/news3/sendOutGoods',item,2)">发货</view> |
|
|
|
@click="goJump('/pages/news3/sendOutGoods',item,2)">发货</view> |
|
|
|
<view class="btn info" v-show="item.audit_status==0&&(item.order_status!=20)" @click="refuseOrder(item,20)">拒绝</view> |
|
|
|
<view class="btn info" v-show="item.audit_status==0&&(item.order_status!=20)" |
|
|
|
<view class="btn primary" v-show="item.audit_status==0&&(item.order_status!=20)" @click="refuseOrder(item,10)">同意</view> |
|
|
|
@click="refuseOrder(item,20)">拒绝</view> |
|
|
|
|
|
|
|
<view class="btn primary" v-show="item.audit_status==0&&(item.order_status!=20)" |
|
|
|
|
|
|
|
@click="refuseOrder(item,10)">同意</view> |
|
|
|
<view class="btn info" @click="onDelete(item)" |
|
|
|
<view class="btn info" @click="onDelete(item)" |
|
|
|
v-show="(!item.order_refund_id&&item.order_status==30&&item.pay_status==20&&item.delivery_status==20)||(!item.order_refund_id&&item.order_status==20&&item.pay_status==10&&item.delivery_status==10)"> |
|
|
|
v-show="(!item.order_refund_id&&item.order_status==30&&item.pay_status==20&&item.delivery_status==20)||(!item.order_refund_id&&item.order_status==20&&item.pay_status==10&&item.delivery_status==10)"> |
|
|
|
删除订单</view> |
|
|
|
删除订单</view> |
|
|
@ -395,6 +397,19 @@ |
|
|
|
return idList.join(',') |
|
|
|
return idList.join(',') |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
async getAddressList() { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let { |
|
|
|
|
|
|
|
status, |
|
|
|
|
|
|
|
message, |
|
|
|
|
|
|
|
data |
|
|
|
|
|
|
|
} = await newFunApi.addressList({ |
|
|
|
|
|
|
|
user_id: 10006 |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
if (status == 200) { |
|
|
|
|
|
|
|
console.log(data) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}, |
|
|
|
// 同意拒绝 |
|
|
|
// 同意拒绝 |
|
|
|
refuseOrder(item, status) { |
|
|
|
refuseOrder(item, status) { |
|
|
|
this.itemInfor = item; |
|
|
|
this.itemInfor = item; |
|
|
|