...
|
...
|
@@ -89,8 +89,7 @@ class GroupOrder extends Page { |
|
|
$('#group-order').on('click', function(e) {
|
|
|
let $cur = $(e.target),
|
|
|
$order,
|
|
|
id,
|
|
|
selectIndex;
|
|
|
id;
|
|
|
|
|
|
if ($cur.closest('.locHref').length > 0) {
|
|
|
return;
|
...
|
...
|
@@ -98,7 +97,6 @@ $('#group-order').on('click', function(e) { |
|
|
|
|
|
$order = $cur.closest('.group-order-list-cell');
|
|
|
id = $order.data('id');
|
|
|
selectIndex = $order.data('selectIndex');
|
|
|
|
|
|
// $reaMask.data('orderId', id);
|
|
|
// $refundReaMask.data('orderId', id);
|
...
|
...
|
@@ -139,10 +137,10 @@ $('#group-order').on('click', function(e) { |
|
|
} else if ($cur.closest('.cancel').length > 0) {
|
|
|
// 取消订单
|
|
|
dialog.showDialog({
|
|
|
dialogText: selectIndex === 1 ? '确认取消该订单吗?' : '确认申请退货该订单吗?',
|
|
|
dialogText: '确认取消该订单吗?',
|
|
|
hasFooter: {
|
|
|
leftBtnText: '返回',
|
|
|
rightBtnText: selectIndex === 1 ? '取消订单' : '申请退款'
|
|
|
rightBtnText: '取消订单'
|
|
|
}
|
|
|
}, function() {
|
|
|
$.ajax({
|
...
|
...
|
|