소스 검색

admin update

haru haru 2 년 전
부모
커밋
4e63a9793c
2개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 0
      admin/control/refill_order_manual.php
  2. 3 3
      admin/templates/default/transfer.order.recharge.php

+ 2 - 0
admin/control/refill_order_manual.php

@@ -498,6 +498,8 @@ class refill_order_manualControl extends SystemControl
             if ($type === 'set_next_order') {
                 refill\util::set_next_order($mchid, $mch_order);
                 $this->log("预回调订单转快充,订单号:{$order['order_sn']},商家单号:{$mch_order},机构编码:{$mchid}");
+            } elseif ($type === 'cancel_order_retry'){
+                $this->log("预回调订单失败补快充,订单号:{$order['order_sn']},商家单号:{$mch_order},机构编码:{$mchid}");
             } else {
                 continue;
             }

+ 3 - 3
admin/templates/default/transfer.order.recharge.php

@@ -186,7 +186,7 @@
                     <td class="align-center"><?php echo orderState($order); ?></td>
                     <td class="align-center">
                         <input type="hidden" value="<?php echo $order['can_cancel']; ?>">
-                        <a href="index.php?act=refill_order_manual&op=transfer_order_dispose&type=&order_ids=<?php echo $order['order_id']; ?>" id="hdFail">
+                        <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>
                     </td>
                 </tr>
@@ -277,9 +277,9 @@
                 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=&order_ids= ${strrr ? strrr : ''}`
+                    window.location.href = `index.php?act=refill_order_manual&op=transfer_order_dispose&type=cancel_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=&order_ids= ${str ? str : ''}`
+                    window.location.href = `index.php?act=refill_order_manual&op=transfer_order_dispose&type=cancel_order_retry&order_ids= ${str ? str : ''}`
                 } else {
                     layer.msg('请还没有任何操作,请先选择');
                 }