|
@@ -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();
|
|
|
});
|