|
|
@@ -397,21 +397,21 @@ export default {
|
|
|
if(this.detailInfo.status == 4){
|
|
|
that.pageTo({url: '/pagesPurchase/refund?id='+this.detailInfo.id})
|
|
|
}else{
|
|
|
- if(this.detailInfo.pfShopId && this.detailInfo.pfShopId>0){
|
|
|
- that.$util.confirmModal({content:'请先确认收货'},() => {
|
|
|
- that.affirmTake()
|
|
|
- })
|
|
|
- }else{
|
|
|
- that.$util.confirmModal({content:'确认已收货?'},() => {
|
|
|
- uni.showLoading({mask:true})
|
|
|
- confirmTake({id:that.detailInfo.id}).then(res=>{
|
|
|
- uni.hideLoading()
|
|
|
- if(res.code == 1){
|
|
|
- that.pageTo({url: '/pagesPurchase/refund?id='+this.detailInfo.id})
|
|
|
- }
|
|
|
- })
|
|
|
+ if(this.detailInfo.pfShopId && this.detailInfo.pfShopId>0){
|
|
|
+ that.$util.confirmModal({content:'请先确认收货'},() => {
|
|
|
+ that.affirmTake()
|
|
|
+ })
|
|
|
+ }else{
|
|
|
+ that.$util.confirmModal({content:'确认已收货?'},() => {
|
|
|
+ uni.showLoading({mask:true})
|
|
|
+ confirmTake({id:that.detailInfo.id}).then(res=>{
|
|
|
+ uni.hideLoading()
|
|
|
+ if(res.code == 1){
|
|
|
+ that.pageTo({url: '/pagesPurchase/refund?id='+this.detailInfo.id})
|
|
|
+ }
|
|
|
})
|
|
|
- }
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
clearOrder(){
|