|
|
@ -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> |
|
|
@ -274,8 +276,8 @@ |
|
|
|
this.getList() |
|
|
|
this.getList() |
|
|
|
}, |
|
|
|
}, |
|
|
|
onLoad(option) { |
|
|
|
onLoad(option) { |
|
|
|
this.delivery_type = option.delivery_type ||''; |
|
|
|
this.delivery_type = option.delivery_type || ''; |
|
|
|
this.user_id = option.user_id||'' |
|
|
|
this.user_id = option.user_id || '' |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
reset() { |
|
|
|
reset() { |
|
|
@ -312,8 +314,8 @@ |
|
|
|
payMethod: this.payIndex > 0 ? this.payList[this.payIndex].val : '', |
|
|
|
payMethod: this.payIndex > 0 ? this.payList[this.payIndex].val : '', |
|
|
|
orderSource: this.sourceIndex > 0 ? this.selectList[this.sourceIndex].val : '', |
|
|
|
orderSource: this.sourceIndex > 0 ? this.selectList[this.sourceIndex].val : '', |
|
|
|
betweenTime: this.endTime ? [this.startTime, this.endTime].join(',') : '', |
|
|
|
betweenTime: this.endTime ? [this.startTime, this.endTime].join(',') : '', |
|
|
|
delivery_type:this.delivery_type, |
|
|
|
delivery_type: this.delivery_type, |
|
|
|
user_id:this.user_id, |
|
|
|
user_id: this.user_id, |
|
|
|
}); |
|
|
|
}); |
|
|
|
if (status == 200) { |
|
|
|
if (status == 200) { |
|
|
|
uni.hideLoading(); |
|
|
|
uni.hideLoading(); |
|
|
@ -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; |
|
|
|