|
@@ -129,7 +129,12 @@
|
|
<table class="tb-type1 noborder search">
|
|
<table class="tb-type1 noborder search">
|
|
<tr>
|
|
<tr>
|
|
<td>
|
|
<td>
|
|
- <a href="#" class="btns" id="hFail">
|
|
|
|
|
|
+ <a href="#" class="btns" id="canceled_order_retry">
|
|
|
|
+ <span><i class="icon-edit"></i>批量补充</span>
|
|
|
|
+ </a>
|
|
|
|
+ </td>
|
|
|
|
+ <td>
|
|
|
|
+ <a href="#" class="btns" id="canceled_order_retry_next">
|
|
<span><i class="icon-edit"></i>批量补快充</span>
|
|
<span><i class="icon-edit"></i>批量补快充</span>
|
|
</a>
|
|
</a>
|
|
</td>
|
|
</td>
|
|
@@ -200,8 +205,11 @@
|
|
<td class="align-center"><?php echo orderState($order); ?></td>
|
|
<td class="align-center"><?php echo orderState($order); ?></td>
|
|
<td class="align-center">
|
|
<td class="align-center">
|
|
<input type="hidden" value="<?php echo $order['can_cancel']; ?>">
|
|
<input type="hidden" value="<?php echo $order['can_cancel']; ?>">
|
|
- <a href="index.php?act=refill_order_manual&op=transfer_order_dispose&type=cancel_order_retry&order_ids=<?php echo $order['order_id']; ?>" id="hdFail">
|
|
|
|
|
|
+ <a href="index.php?act=refill_order_manual&op=transfer_order_dispose&type=canceled_order_retry&order_ids=<?php echo $order['order_id']; ?>" id="hdFail">
|
|
补充</a>
|
|
补充</a>
|
|
|
|
+ |
|
|
|
|
+ <a href="index.php?act=refill_order_manual&op=transfer_order_dispose&type=canceled_order_retry_next&order_ids=<?php echo $order['order_id']; ?>" id="hdFail">
|
|
|
|
+ 补快充</a>
|
|
</td>
|
|
</td>
|
|
</tr>
|
|
</tr>
|
|
<?php } ?>
|
|
<?php } ?>
|
|
@@ -293,7 +301,7 @@
|
|
})
|
|
})
|
|
|
|
|
|
//批量
|
|
//批量
|
|
- $('#hFail').click(function() {
|
|
|
|
|
|
+ $('#canceled_order_retry').click(function() {
|
|
layer.confirm('您确定要批量补充吗', {
|
|
layer.confirm('您确定要批量补充吗', {
|
|
btn: ['确定', '取消'],
|
|
btn: ['确定', '取消'],
|
|
title: '批量补充'
|
|
title: '批量补充'
|
|
@@ -307,9 +315,33 @@
|
|
let number = Number(strr);
|
|
let number = Number(strr);
|
|
if (isNaN(number)) {
|
|
if (isNaN(number)) {
|
|
let strrr = str.substring(1, str.length);
|
|
let strrr = str.substring(1, str.length);
|
|
- window.location.href = `index.php?act=refill_order_manual&op=transfer_order_dispose&type=cancel_order_retry&order_ids= ${strrr ? strrr : ''}`
|
|
|
|
|
|
+ window.location.href = `index.php?act=refill_order_manual&op=transfer_order_dispose&type=canceled_order_retry&order_ids= ${strrr ? strrr : ''}`
|
|
|
|
+ } else if (!isNaN(number) && str !== '') {
|
|
|
|
+ window.location.href = `index.php?act=refill_order_manual&op=transfer_order_dispose&type=canceled_order_retry&order_ids= ${str ? str : ''}`
|
|
|
|
+ } else {
|
|
|
|
+ layer.msg('请还没有任何操作,请先选择');
|
|
|
|
+ }
|
|
|
|
+ }, function() {});
|
|
|
|
+ })
|
|
|
|
+
|
|
|
|
+ //批量
|
|
|
|
+ $('#canceled_order_retry_next').click(function() {
|
|
|
|
+ layer.confirm('您确定要批量补快充吗', {
|
|
|
|
+ btn: ['确定', '取消'],
|
|
|
|
+ title: '批量补快充'
|
|
|
|
+ }, function() {
|
|
|
|
+ let arr = [];
|
|
|
|
+ $("input:checkbox:checked").each(function(i) {
|
|
|
|
+ arr[i] = $(this).val();
|
|
|
|
+ })
|
|
|
|
+ let str = arr.join(",");
|
|
|
|
+ let strr = str.substring(0, 1);
|
|
|
|
+ let number = Number(strr);
|
|
|
|
+ if (isNaN(number)) {
|
|
|
|
+ let strrr = str.substring(1, str.length);
|
|
|
|
+ window.location.href = `index.php?act=refill_order_manual&op=transfer_order_dispose&type=canceled_order_retry_next&order_ids= ${strrr ? strrr : ''}`
|
|
} else if (!isNaN(number) && str !== '') {
|
|
} else if (!isNaN(number) && str !== '') {
|
|
- window.location.href = `index.php?act=refill_order_manual&op=transfer_order_dispose&type=cancel_order_retry&order_ids= ${str ? str : ''}`
|
|
|
|
|
|
+ window.location.href = `index.php?act=refill_order_manual&op=transfer_order_dispose&type=canceled_order_retry_next&order_ids= ${str ? str : ''}`
|
|
} else {
|
|
} else {
|
|
layer.msg('请还没有任何操作,请先选择');
|
|
layer.msg('请还没有任何操作,请先选择');
|
|
}
|
|
}
|