瀏覽代碼

refund add card_no search

xiaoyu 3 年之前
父節點
當前提交
67af83940b
共有 2 個文件被更改,包括 7 次插入0 次删除
  1. 3 0
      admin/control/refill_refund.php
  2. 4 0
      admin/templates/default/refill.refund.php

+ 3 - 0
admin/control/refill_refund.php

@@ -18,6 +18,9 @@ class refill_refundControl extends SystemControl
         if(!empty($_GET['mchid'])) {
             $condition['mchid'] = $_GET['mchid'];
         }
+        if(!empty($_GET['card_no'])) {
+            $condition['card_no'] = $_GET['card_no'];
+        }
         $start_unixtime = intval(strtotime($_GET['query_start_time']));
         $end_unixtime = intval(strtotime($_GET['query_end_time']));
         if ($start_unixtime > 0 && $end_unixtime > $start_unixtime) {

+ 4 - 0
admin/templates/default/refill.refund.php

@@ -57,6 +57,10 @@
                         <?php }?>
                     </select>
                 </td>
+                <th><label for="card_no">退款卡号</label></th>
+                <td><input type="text" value="<?php echo $_GET['card_no']; ?>" name="card_no"
+                           id="card_no" class="txt"></td>
+                </td>
 
                 <th><label for="query_start_time">退款日期</label></th>
                 <td>