Edit.html
3.44 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
<%include '../../../common/views/__ui/header'%>
<%include '../../../common/views/__partail/ListHeader'%>
<div class="data.contentDatapanel">
<!-- 量贩 -->
<form id="add-form" class="form-horizontal form-bordered" type="<%type%>" action="<%action%>">
<div class="panel-group">
<div class="panel-group" id="editor-group">
<% if data %>
<input type="hidden" id="id" value="<%data.id%>">
<%/if%>
<div class="pannel">
<div class="panel-body">
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">SKN:</label>
<div class="col-sm-3"> <p class="form-control-static"><% data.productSkn %></p> </div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">商品信息:</label>
<div class="col-sm-3"> <p class="form-control-static">
名称:<% data.productName %><br/>
品牌:<% data.brand %><br/>
品类:<% data.sort %>
</p> </div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">促销短语:</label>
<div class="col-sm-3">
<input type="text" id="promotionPhrase" placeholder="示例:【量贩销售】2件8折" class="form-control" required maxlength="80" value="<% if data%><% data.promotionPhrase %><%/if%>">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">起购件数:</label>
<div class="col-sm-3">
<input type="text" id="minCount" placeholder="" class="form-control" required maxlength="10" value="<% if data%><% data.minCount %><%/if%>">件
<span class="help-inline red">支持 2 以上的正整数</span>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">折扣:</label>
<div class="col-sm-3">
<input type="text" id="discount" placeholder="折扣" class="form-control" required maxlength="10" value="<% if data%><% data.discount %><%/if%>">
<span class="help-inline red">支持0.01-1之间的数字,到小数点后2位</span>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="pannel">
<div class="col-md-10"></div>
<div class="col-md-2">
<input id="add-btn" class="btn btn-success add-btn" type="button" value="保存"></input>
<a class="btn btn-default btn-sm" href="/product/batch/index">取消</a>
</div>
</div>
</div>
</form>
</div>