search_sto.html
4.83 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
<include file="public/layout"/>
<style>
select {height: 27px;}
.bot { float: right;padding: 15px 0;width: 10%}
.vdisib {
display: inline-block; *display: inline; *zoom: 1; vertical-align: middle;
}
.flexigrid .bDiv td.dny { display: none;}
.btn_x{height: 25px; cursor: pointer; border: 1px solid #E6E9EE; background-color: #f6f7fb;
color: #434a54; width: 60px;}
.btn_x:hover{background-color:#EC5151; color: #fff;border-color:#EC5151}
</style>
<body style="background-color: rgb(255, 255, 255); overflow: auto; cursor: default; -moz-user-select: inherit; min-width: 100px">
<div class="page" style="padding: 0px 1% 0 1%;">
<!-- 操作说明 -->
<div class="flexigrid">
<!--<div class="mDiv">-->
<!--<form class="navbar-form form-inline" id="search-form2" action="{:U('Jddj/search_cate')}"-->
<!--method="get">-->
<!--<input type="hidden" name="distr_type" value="{$distr_type}">-->
<!--<div class="sDiv">-->
<!--一级分类:-->
<!--<select name="fir_id" id="fir_id" onchange="sele_sec(this)">-->
<!--<option value="">一级分类</option>-->
<!--<volist name="cateList" id="list">-->
<!--<option value="{$list.id}" <if condition="$Think.request.fir_id eq $list.id ">selected</if> >-->
<!--{$list.name}-->
<!--</option>-->
<!--</volist>-->
<!--</select>-->
<!--<input size="30" name="keywords" value="{:urldecode(urldecode($keywords))}" class="qsbox" placeholder="分类名称" type="text">-->
<!--<input class="btn_x" value="搜索" type="submit" />-->
<!--</div>-->
<!--</form>-->
<!--</div>-->
<div class="bDiv" style="height: auto;">
<div id="flexigrid" cellpadding="0" cellspacing="0" border="0">
<table>
<tr>
<td align="left" width="6%">
<div style="text-align: left;" class="">选择</div>
</td>
<td width="15%" align="left">
<div style="text-align: left;">门店编号</div>
</td>
<td width="15%" align="left">
<div style="text-align: left;">外部门店编码(商家门店编号)</div>
</td>
<td align="left" width="30%">
<div style="text-align: left;">门店名称</div>
</td>
</tr>
<tbody id="goods_table">
<volist name="glist" id="list">
<tr>
<td align="left" width="6%">
<div style="text-align: left;">
<input class="binp" cname="{$list.stationName}" osno="{$list.outSystemId}"
type="radio" name="goods_id[]" sno="{$list.stationNo}"/>
</div>
</td>
<td align="left" width="15%">
<div style="text-align: left;">{$list.stationNo}</div>
</td>
<td align="left" width="30%">
<div style="text-align: left;">{$list.outSystemId}</div>
</td>
<td align="left" width="15%">
<div style="text-align: left;">{$list.stationName}</div>
</td>
</tr>
</volist>
</tbody>
</table>
</div>
<div class="iDiv" style="display: none;"></div>
</div>
<!--分页位置-->
<div style="width: 90%;float: left">{$page}</div>
<div class="bot" style="width: 100%; text-align: right">
<a onclick="select_goods();" class="ncap-btn-big ncap-btn-green">确认提交</a>
</div>
</div>
</div>
<script>
//--------------选择导入品牌----------------
function select_goods() {
var cname="",cno="",coutno="";
//将没选中的复选框所在的 tr remove 然后删除复选框
$(".binp").each(function () {
if ($(this).is(':checked')) {
cname=$(this).attr("cname"); cno=$(this).attr("sno");
coutno+=$(this).attr("osno");return false;
}
});
window.parent.callback_sto(cname,cno,coutno);
}
</script>
</body>
</html>