|
@@ -746,8 +746,7 @@
|
|
|
'payTotalFee': payTotalFee
|
|
|
}, function (data) {
|
|
|
if (true == data.success) {
|
|
|
- refresh();
|
|
|
- $.jBox.tip(data.msg, 'info', {timeout: 1000});
|
|
|
+ refresh(data.msg);
|
|
|
} else {
|
|
|
alertx(data.msg, 1000);
|
|
|
}
|
|
@@ -797,8 +796,7 @@
|
|
|
"remarks": remarks, "orderID": orderID, "shopOrderID": shopOrderID
|
|
|
}, function (data) {
|
|
|
if (true == data.success) {
|
|
|
- refresh();
|
|
|
- $.jBox.tip(data.msg, 'info');
|
|
|
+ refresh(data.msg);
|
|
|
} else {
|
|
|
$.jBox.tip(data.msg, 'error');
|
|
|
}
|
|
@@ -835,6 +833,14 @@
|
|
|
text: shareUrl
|
|
|
});
|
|
|
}
|
|
|
+
|
|
|
+ //刷新页面
|
|
|
+ function refresh(msg) {
|
|
|
+ $.jBox.tip(msg, 'info', {timeout: 1000});
|
|
|
+ setTimeout(function () {
|
|
|
+ window.location.href = "${ctx}/order/detail?id=${order.orderID}"
|
|
|
+ },1000)
|
|
|
+ }
|
|
|
</script>
|
|
|
|
|
|
<script>
|