Brandmodel.html
4.98 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
<%include '../../common/views/__ui/header'%>
<%include '../../common/views/__partail/ListHeader'%>
<div class="contentpanel" id="form-base">
<div class="panel panel-default" style="margin-bottom:10px;">
<div class="panel-body">
<div class="row">
<div class="panel-col">
<input id="models-name" class="form-control panel-input height40" type="text" placeholder="款型系列名称">
</div>
<div class="panel-col">
<select name="models-type" id="models-type" tabindex="-1" title="" class="form-control height40">
<option value="-1">类型</option>
<option value="1">品牌款型</option>
<option value="2">品牌系列</option>
</select>
</div>
<div class="panel-col2">
<select name="shop" id="shop" tabindex="-1" title="" class="form-control height40">
<option value="-1">请选择店铺</option>
</select>
</div>
<div class="panel-col">
<select name="brand" id="brand" tabindex="-1" title="" class="form-control height40">
<option value="-1">请选择品牌</option>
</select>
</div>
<div class="panel-col">
<select name="status" id="status" tabindex="-1" title="" class="form-control height40">
<option value="-1">状态</option>
<option value="1">打开</option>
<option value="0">关闭</option>
</select>
</div>
<a id="filter-btn" href="javascript:;" class="btn btn-info">查询</a>
<a id="all-btn" href="" class="btn btn-info">全部</a>
</div>
<div class="row" style="margin-bottom:10px;">
<a id="add-btn" href="javascript:;" class="btn btn-info">添加</a>
</div>
</div>
</div>
<div class="panel">
<div class="dataTables_wrapper no-footer" id="basicTable"></div>
</div>
</div>
<script type="text/template" id="template">
<form id="add-attr-form" class="form-horizontal form-bordered" method="post" action="" style="height: 400px;overflow: auto">
<div class="form-group">
<label class="col-md-3 control-label">
店铺
</label>
<div class="col-md-6">
<select name="shop" id="shopsId" value="[[shopsId]]" tabindex="-1" title="" class="form-control height40">
<option value="[[shopsId||'-1']]">[[shopsName||"请选择店铺"]]</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">
品牌<i class="red">*</i>
</label>
<div class="col-md-6">
<select name="shop" id="brandId" value="[[brandId]]" tabindex="-1" required="required" title="" class="form-control height40">
<option value="[[brandId||'-1']]">[[brandName||"请选择品牌"]]</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">
类型<i class="red">*</i>
</label>
<div class="panel-col">
<select name="type" id="type" value="[[type]]" tabindex="-1" required="required" title="" class="form-control height40">
<option value="-1">类型</option>
<option value="1">品牌款型</option>
<option value="2">品牌系列</option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">
名称<i class="red">*</i>
</label>
<div class="col-md-6">
<input id="seriesName" value="[[seriesName]]" class="form-control width300" type="text" required="required" placeholder="款型系列名称">
</div>
</div>
<div class="form-group">
<label for="seriesBanner" class="col-sm-3 control-label">banner图片:</label>
<div class="col-sm-6" id="colorUrlBox">
<input type="file" id="seriesBanner" name="seriesBanner" value="[[seriesBanner]]">
</div>
</div>
<div class="form-group">
<label class="col-md-3 control-label">
排序<i class="red">*</i>
</label>
<div class="col-md-6">
<input id="orderBy" value="[[orderBy]]" class="form-control width300" type="text" required="required" placeholder="排序">
</div>
</div>
<input id="id" hidden="ture" value="[[id]]" />
</form>
</script>
<%include '../../common/views/__ui/footer'%>