Add.html
5.25 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
<%include '../../../common/views/__ui/header'%>
<%include '../../../common/views/__partail/ListHeader'%>
<div class="contentpanel">
<div class="row">
<div class="col-md-12">
<form id="basicForm" role="form" class="form-horizontal form-bordered" method="post" action="/promotionInfo/add">
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">基本信息</h4>
</div>
<div class="panel-body" id="basicInfo">
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">促销名称 <span class="red">*</span></label>
<div class="col-sm-10">
<input type="text" id="title" class="form-control" value="" placeholder="促销名称" required/>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">促销描述 </label>
<div class="col-sm-10">
<textarea style="width: 400px; height: 90px;" name="description" id="description"></textarea>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">渠道</label>
<div class="col-sm-3">
<label class="radio-inline" style="padding-left: 0">
<input type="checkbox" name="fitChannel" value="1">有货官网</label>
<label class="radio-inline">
<input type="checkbox" name="fitChannel" value="2">iphone</label>
<label class="radio-inline">
<input type="checkbox" name="fitChannel" value="3">android</label>
<input type="hidden" id="fitChannel" name="fitChannel" value="" for="checkbox" placeholder="渠道" />
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">起始时间 <span class="red">*</span></label>
<div class="col-sm-4">
<input id="startTime" class="form-control" jsaction="time:end:endTime" type="text" placeholder="预售上架时间"
value="" readonly required/>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">结束时间 <span class="red">*</span></label>
<div class="col-sm-4">
<input id="endTime" class="form-control" jsaction="time:start:startTime" type="text" placeholder="预售下架时间"
value="" readonly required/>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">优先级 <span class="red">*</span></label>
<div class="col-sm-10">
<input type="text" id="priority" name='priority' class="form-control" value="" required/>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">状态 <span class="red">*</span></label>
<div class="col-sm-2">
<label class="radio-inline">
<input type="radio" name="status" value="1">启用</label>
<label class="radio-inline">
<input type="radio" name="status" value="0" selected="selected">不启用</label>
<input type="hidden" id="status" name="status" value="" for="radio" required />
</div>
</div>
</div>
</div>
<div class="panel-footer">
<button class="btn btn-primary" id="save">保存</button>
</div>
</div>
</form>
</div>
</div>
</div>
<%include '../../../common/views/__ui/footer'%>