确认拒单

This commit is contained in:
Mr.jiang 2024-06-25 10:09:59 +08:00
parent 8232c879e3
commit 366746a765
2 changed files with 13 additions and 8 deletions

View File

@ -256,7 +256,7 @@
class="dingshi">
去投诉
</u-button>
<u-button v-if="order.status == 9&&order.refusalContent!=null" :custom-style="customStyle2"
<u-button v-if="order.status == 9&&order.refusalContent==null" :custom-style="customStyle2"
shape="circle" :plain="true"
@click="toggleQ('center',order)"
class="dingshi">
@ -296,7 +296,7 @@
</u-button>
<u-button
shape="circle" :plain="true"
@click="goNav('/my/order/complain?ordersId='+ordersId + '&byUserId=' + order.artificer.userId + '&byuserName=' + order.artificer.artificerName)"
@click="goNav('/my/order/payModifyDzhifu?ordersId='+ordersId,order)"
class="btns">
修改订单
</u-button>
@ -705,8 +705,10 @@
uni.showToast({
title:'操作完成!'
})
this.getOrder()
this.$refs.popupQ.close(typeTxte);
}else{
this.getOrder()
uni.showToast({
icon:'error',
title:'操作失败!'
@ -714,6 +716,7 @@
}
}).catch(() => {
this.getOrder()
//,
});
},
@ -747,10 +750,10 @@
uni.showToast({
title:'操作完成!'
})
that.getOrder()
that.$refs.popup.close(type);
}else{
console.log('shibai' + longitude);
console.log('shibai' + latitude);
that.getOrder()
uni.showToast({
icon:'error',
title:'操作失败!'
@ -759,10 +762,12 @@
}).catch(() => {
//,
that.getOrder()
});
},
fail: function(e) {
that.getOrder()
// #ifdef H5
uni.showToast({
title:'获取地址失败!'

View File

@ -614,7 +614,7 @@
title: '支付成功',
icon: 'none'
})
// that.getOrder()
that.getOrder()
} else {
uni.showToast({
@ -624,7 +624,7 @@
}
});
} else if (re.cancel) {
// that.getOrder()
that.getOrder()
}
}
})
@ -651,7 +651,7 @@
title: '支付成功',
icon: 'none'
})
// that.getOrder()
that.getOrder()
// this.$queue.showToast('');
// uni.switchTab({
@ -664,7 +664,7 @@
title: '支付失败',
icon: 'nones'
});
// that.getOrder()
that.getOrder()
}
});
}