ajax_sto_up.html
5.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<style type="text/css">
.flexigrid .bDiv tr{display: block;}
.bd-line{font-size: 0;}
.flexigrid .bDiv td{border: 0;}
.flexigrid div.bDiv tr:hover td{background-color: #F4FCFA;}
.flexigrid div.bDiv tr.trSelected td{ background: #ffffdf none repeat scroll 0 0;}
.flexigrid .bDiv a{color: #999;}
.flexigrid .bDiv .active a,.flexigrid .bDiv span a:hover{color: #FFF;}
.flexigrid .bDiv .row a:hover{text-decoration: none;color: #C4182E;background-color: #EEEEEE;text-decoration: underline;}
.flexigrid .bDiv .row .active a:hover{text-decoration: none;color: #fff;background-color: #999;text-decoration: underline;}
.ncsc-default-table thead {font-size: 0;}
.ncsc-default-table thead th{font-size: 12px; vertical-align: middle;display: inline-block;*display: inline;*zoom: 1;}
.btn_x{height: 20px; cursor: pointer; border: 1px solid #E6E9EE; background-color: #f6f7fb;display: inline-block;
color: #434a54; width: 60px; line-height: 20px;}
.btn_x:hover{background-color:#EC5151; color: #fff;border-color:#EC5151}
</style>
<div style="overflow-x:scroll " >
<table class="ncsc-default-table" style="width:1500px">
<thead>
<tr class="bd-line">
<th class="w20"><input type="checkbox" onclick="$('input[name=\'goods_id\[\]\']').prop('checked', this.checked);"></th>
<th class="w80">门店编号</th>
<th class="w80">门店名称</th>
<th class="w80">商家门店编号</th>
<!--<th class="w80">BD信息</th>-->
<th class="w80">所在城市</th>
<th class="w80">所在区县</th>
<th class="w80">营业时间</th>
<th class="w160">联系方式</th>
<th class="w120">备联电话</th>
<th class="w130">创建时间</th>
<th class="w130">更新时间</th>
<th class="w100">最后一次操作人</th>
<!--<th class="w80">门店资质</th>-->
<th class="w80">营业状态</th>
<th class="w80">启用状态</th>
<!--<th class="w80">账号状态</th>-->
<th class="w80">门店二维码</th>
<th class="w100">操作</th>
</tr>
</thead>
<tbody
<empty name="goodsList">
<tr>
<td colspan="20" class="norecord">
<div class="warning-option"><i class="icon-warning-sign"></i><span>暂无符合条件的数据记录</span></div>
</td>
</tr>
<else/>
<volist name="goodsList" id="list">
<tr class="bd-line">
<td class="w20">
<input class="sto_no" type="checkbox" name="goods_id[]" value="{$list.stationNo}"/>
</td>
<td class="tl w80"><span>{$list.stationNo}</span></td>
<td class="w80"><span>{$list.stationName}</span></td>
<td class="w80"><span>{$list.outSystemId}</span></td>
<!--<td class="w80"><span >BD信息</span></td>-->
<td class="w80"><span>{$list.cityName}</span></td>
<td class="w80"><span>{$list.countyName}</span></td>
<td class="w80"><span>
{$list.serviceTimeStart1}-{$list.serviceTimeEnd1}
</span></td>
<td class="w160"><span> {$list.phone}/{$list.mobile}</span></td>
<td class="w120"><span>{$list.standByPhone}</span></td>
<td class="w130"><span>{$list.createTime}</span></td>
<td class="w130"><span>{$list.updateTime}</span></td>
<td class="w100"><span>{$list.updatePin}</span></td>
<!--<td class="w80"><span></span></td>-->
<td class="w80"><span>
<if condition="$list.closeStatus eq 0">
正常营业
</if>
<if condition="$list.closeStatus eq 1">
休息中
</if></span></td>
<td class="w80"><span>
<if condition="$list.yn eq 0">
启用
</if>
<if condition="$list.yn eq 1">
禁用
</if>
</span></td>
<!--<td class="w80"><span>无</span></td>-->
<td class="w80"><span class="btn_x" onclick="show_er(this)" sid="{$list.stationNo}"
sname="{$list.stationName}" sno="{$list.venderId}">点击查看</span></td>
<td class="nscs-table-handle w100">
<a class="btn green" href="{:U('Admin/Jddj/editsto',array('StoreNo'=>trim($list['stationNo'])))}?oldurl={$oldurl}"><i class="fa fa-edit"></i>编辑</a>
<!--<br>-->
<!--<a class="btn green" href="javascript:void(0);" onclick="del('{$list[goods_id]}')"><i class="fa fa-trash"></i>删除</a>-->
</td>
</tr>
</volist>
</empty>
</tbody>
</table>
</div>
<div class="layer_box dn">
<input readonly="readonly" class="contentTxt" id="content" value="" />
<div id="btn" class="js-copy" data-clipboard-target="#content"><span>复制</span></div>
</div>
<!--分页位置--> {$page}
<script>
$(" body").click(function(){
$(".layer_box").addClass("dn");
});
// 点击分页触发的事件
$(".pagination a").click(function(){
cur_page = $(this).data('p');
$("#cur_page").val(cur_page);
ajax_get_table('search-form2',cur_page);
});
$(document).ready(function(){
// 表格行点击选中切换
$('#flexigrid >table>tbody>tr').click(function(){
$(this).toggleClass('trSelected');
});
$('#data_count').empty().html("{$pager->totalRows}");
});
// 点击分页触发的事件
$(".pagination a").click(function() {
cur_page = $(this).data('p');
ajax_get_table('search-form2', cur_page);
});
</script>