|
|
|
@ -62,8 +62,10 @@ |
|
|
|
|
<view class="btn primary" |
|
|
|
|
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> |
|
|
|
|
<view class="btn info" v-show="item.audit_status==0&&(item.order_status!=20)" @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" v-show="item.audit_status==0&&(item.order_status!=20)" |
|
|
|
|
@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)" |
|
|
|
|
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> |
|
|
|
@ -274,8 +276,8 @@ |
|
|
|
|
this.getList() |
|
|
|
|
}, |
|
|
|
|
onLoad(option) { |
|
|
|
|
this.delivery_type = option.delivery_type ||''; |
|
|
|
|
this.user_id = option.user_id||'' |
|
|
|
|
this.delivery_type = option.delivery_type || ''; |
|
|
|
|
this.user_id = option.user_id || '' |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
reset() { |
|
|
|
@ -312,8 +314,8 @@ |
|
|
|
|
payMethod: this.payIndex > 0 ? this.payList[this.payIndex].val : '', |
|
|
|
|
orderSource: this.sourceIndex > 0 ? this.selectList[this.sourceIndex].val : '', |
|
|
|
|
betweenTime: this.endTime ? [this.startTime, this.endTime].join(',') : '', |
|
|
|
|
delivery_type:this.delivery_type, |
|
|
|
|
user_id:this.user_id, |
|
|
|
|
delivery_type: this.delivery_type, |
|
|
|
|
user_id: this.user_id, |
|
|
|
|
}); |
|
|
|
|
if (status == 200) { |
|
|
|
|
uni.hideLoading(); |
|
|
|
@ -395,6 +397,19 @@ |
|
|
|
|
return idList.join(',') |
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
async getAddressList() { |
|
|
|
|
|
|
|
|
|
let { |
|
|
|
|
status, |
|
|
|
|
message, |
|
|
|
|
data |
|
|
|
|
} = await newFunApi.addressList({ |
|
|
|
|
user_id: 10006 |
|
|
|
|
}); |
|
|
|
|
if (status == 200) { |
|
|
|
|
console.log(data) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
// 同意拒绝 |
|
|
|
|
refuseOrder(item, status) { |
|
|
|
|
this.itemInfor = item; |
|
|
|
|