...
|
...
|
@@ -425,23 +425,15 @@ $reaMask.find('.box-cmp').on('touchend', function() { |
|
|
return;
|
|
|
}
|
|
|
|
|
|
if (res.code === 200) {
|
|
|
dialog.showDialog({
|
|
|
dialogText: '您的取消订单申请已提交,请耐心等待',
|
|
|
hasFooter: {
|
|
|
leftBtnText: '返回',
|
|
|
rightBtnText: '确定'
|
|
|
}
|
|
|
}, function() {
|
|
|
window.location.href = '/home/orders';
|
|
|
});
|
|
|
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
if (res.message) {
|
|
|
tip.show(res.message);
|
|
|
}
|
|
|
|
|
|
if (res.code === 200) {
|
|
|
setTimeout(function() {
|
|
|
window.location.href = '/home/orders';
|
|
|
}, 500);
|
|
|
}
|
|
|
}).fail(function() {
|
|
|
tip.show('网络错误');
|
|
|
});
|
...
|
...
|
|