haru haru před 2 roky
rodič
revize
f89fa8e4fb

+ 2 - 0
admin/templates/default/refill.buyback.order.php

@@ -245,6 +245,7 @@
             <th class="align-right">折扣后金额</th>
             <th class="align-center">下单日期</th>
             <th class="align-center">订单状态</th>
+            <th class="align-left">运营商流水号</th>
             <th class="align-left">渠道单号</th>
             <th class="align-left">渠道名称</th>
             <th class="align-right">折后金额</th>
@@ -271,6 +272,7 @@
                     <td class="align-right"><?php echo $order['mch_amount']; ?></td>
                     <td class="align-center"><?php echo date('Y-m-d H:i:s', $order['order_time']); ?></td>
                     <td class="align-center"><?php echo orderState($order); ?></td>
+                    <td class="align-left"><?php echo $order['official_sn']; ?></td>
                     <td class="align-left" class="ch_trade_no"><?php echo $order['ch_trade_no']; ?></td>
                     <td class="align-left"><?php echo $order['channel_name']; ?></td>
                     <td class="align-right"><?php echo $order['channel_amount']; ?></td>

+ 29 - 1
admin/templates/default/transfer.order.php

@@ -105,6 +105,15 @@
         <input type="hidden" name="op" value="transfer_order" />
         <table class="tb-type1 noborder search">
             <tr>
+                <th><label>客户名称</label></th>
+                <td class="layui-form">
+                    <select name="mchid" class="querySelect" lay-verify="" lay-search>
+                        <option value=""><?php echo $lang['nc_please_choose']; ?></option>
+                        <?php foreach ($output['merchant_list'] as $merchant) { ?>
+                            <option value="<?php echo $merchant['mchid'] ?>"<?php if ($_GET['mchid'] == $merchant['mchid']){ ?>selected<?php } ?>><?php echo $merchant['company_name'] == '' ? $merchant['name'] : $merchant['company_name']; ?></option>
+                        <?php } ?>
+                    </select>
+                </td>
                 <th><label class="query_ors">充值卡号(多行查询)</label></th>
                 <td><textarea name="card_nos" id="card_nos" cols="30" rows="10"><?php echo $_GET['card_nos']; ?></textarea></td>
 
@@ -120,11 +129,15 @@
         <table class="tb-type1 noborder search">
             <tr>
                 <td>
-
                     <a href="#" class="btns" id="hFail">
                         <span><i class="icon-edit"></i>批量拦截转快充</span>
                     </a>
                 </td>
+                <td>
+                    <a href="#" class="btns" id="hCopyCardNo">
+                        <span><i class="icon-edit"></i>拷贝充值卡号</span>
+                    </a>
+                </td>
             </tr>
         </table>
     </form>
@@ -211,6 +224,21 @@
 <link rel="stylesheet" type="text/css" href="<?php echo RESOURCE_SITE_URL; ?>/js/jquery-ui/themes/ui-lightness/jquery.ui.css" />
 <script type="text/javascript">
     $(function() {
+        $('#hCopyCardNo').click(function() {
+            let str = ''
+            $('#tbody tr').each(function () {
+                let res = $(this).find('td').eq(5).text()
+                str += res + '\n'
+            })
+            let oInput = document.createElement("textarea");
+            oInput.style.border = "0 none";
+            oInput.style.color = "transparent";
+            oInput.value = str;
+            document.body.appendChild(oInput);
+            oInput.select(); // 选择对象
+            document.execCommand("Copy"); // 执行浏览器复制命令
+            oInput.parentNode.removeChild(oInput)
+        });
         $('#ncsubmit').click(function() {
             $('#formSearch').submit();
         });