确认拒单

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"> class="dingshi">
去投诉 去投诉
</u-button> </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" shape="circle" :plain="true"
@click="toggleQ('center',order)" @click="toggleQ('center',order)"
class="dingshi"> class="dingshi">
@ -296,7 +296,7 @@
</u-button> </u-button>
<u-button <u-button
shape="circle" :plain="true" 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"> class="btns">
修改订单 修改订单
</u-button> </u-button>
@ -705,8 +705,10 @@
uni.showToast({ uni.showToast({
title:'操作完成!' title:'操作完成!'
}) })
this.getOrder()
this.$refs.popupQ.close(typeTxte); this.$refs.popupQ.close(typeTxte);
}else{ }else{
this.getOrder()
uni.showToast({ uni.showToast({
icon:'error', icon:'error',
title:'操作失败!' title:'操作失败!'
@ -714,6 +716,7 @@
} }
}).catch(() => { }).catch(() => {
this.getOrder()
//, //,
}); });
}, },
@ -747,10 +750,10 @@
uni.showToast({ uni.showToast({
title:'操作完成!' title:'操作完成!'
}) })
that.getOrder()
that.$refs.popup.close(type); that.$refs.popup.close(type);
}else{ }else{
console.log('shibai' + longitude); that.getOrder()
console.log('shibai' + latitude);
uni.showToast({ uni.showToast({
icon:'error', icon:'error',
title:'操作失败!' title:'操作失败!'
@ -759,10 +762,12 @@
}).catch(() => { }).catch(() => {
//, //,
that.getOrder()
}); });
}, },
fail: function(e) { fail: function(e) {
that.getOrder()
// #ifdef H5 // #ifdef H5
uni.showToast({ uni.showToast({
title:'获取地址失败!' title:'获取地址失败!'

View File

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