...
|
...
|
@@ -27,14 +27,14 @@ |
|
|
|
|
|
<div class="panel-body nopadding">
|
|
|
|
|
|
<form id="new-class-form" class="form-horizontal form-bordered" method="post" action="/product/class/update">
|
|
|
<form id="new-class-form" class="form-horizontal form-bordered" method="post" action="/product/class/addProductSort">
|
|
|
<div class="form-group">
|
|
|
<label class="col-md-1 control-label">
|
|
|
物理类目<i>*</i>
|
|
|
</label>
|
|
|
|
|
|
<div class="col-md-5">
|
|
|
<input value="{{data.className}}" id="class-name" type="text" placeholder="品类名称" class="form-control" required>
|
|
|
<input id="sortName" class="form-control" required type="text" value="{{data.sortName}}" placeholder="品类名称">
|
|
|
</div>
|
|
|
</div>
|
|
|
|
...
|
...
|
@@ -44,7 +44,7 @@ |
|
|
</label>
|
|
|
|
|
|
<div class="col-md-5">
|
|
|
<input value="{{data.classAbbr}}" id="class-abbr" type="text" placeholder="品类缩写" class="form-control" required>
|
|
|
<input id="sortInitials" class="form-control" required type="text" value="{{data.sortInitials}}" placeholder="品类缩写">
|
|
|
</div>
|
|
|
</div>
|
|
|
|
...
|
...
|
@@ -54,13 +54,8 @@ |
|
|
</label>
|
|
|
|
|
|
<div class="col-md-5">
|
|
|
<select class="level-select width300" data-placeholder="" value="{{data.firstClass}}">
|
|
|
<option value="">111</option>
|
|
|
<option value="">111</option>
|
|
|
<option value="">2222</option>
|
|
|
<option value="">2222</option>
|
|
|
<option value="">2222</option>
|
|
|
<option value="">2222</option>
|
|
|
<select id="firstSortId" class="level-select width300" required data-child="secondSortId" data-placeholder="">
|
|
|
<option id="parentSortId" value="0">请选择</option>
|
|
|
</select>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -71,9 +66,8 @@ |
|
|
</label>
|
|
|
|
|
|
<div class="col-md-5">
|
|
|
<select class="level-select width300" data-placeholder="" value="{{data.secondClass}}">
|
|
|
<option value="">111</option>
|
|
|
<option value="">111</option>
|
|
|
<select id="secondSortId" class="level-select width300" required data-child="thirdSortId" data-placeholder="">
|
|
|
<option value="0">请选择</option>
|
|
|
</select>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -84,9 +78,8 @@ |
|
|
</label>
|
|
|
|
|
|
<div class="col-md-5">
|
|
|
<select class="level-select width300" data-placeholder="" value="{{data.thirdClass}}">
|
|
|
<option value="">111</option>
|
|
|
<option value="">111</option>
|
|
|
<select id="thirdSortId" class="level-select width300" required data-placeholder="">
|
|
|
<option value="0">请选择</option>
|
|
|
</select>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
@@ -95,7 +88,7 @@ |
|
|
<label class="col-md-1 control-label">排序</label>
|
|
|
|
|
|
<div class="col-md-5">
|
|
|
<input value="{{data.classSort}}" id="class-sort" type="text" placeholder="0" class="form-control">
|
|
|
<input id="orderBy" class="form-control" required value="{{data.orderBy}}" type="text" placeholder="">
|
|
|
</div>
|
|
|
</div>
|
|
|
|
...
|
...
|
@@ -103,20 +96,20 @@ |
|
|
<label class="col-md-1 control-label">状态</label>
|
|
|
<div class="col-md-5">
|
|
|
<div class="radio">
|
|
|
<label><input type="radio" value="true" name="class-status">关闭</label>
|
|
|
<label><input type="radio" value="1" name="status">关闭</label>
|
|
|
</div>
|
|
|
<div class="radio">
|
|
|
<label><input type="radio" value="false" name="class-status">开启</label>
|
|
|
<label><input type="radio" value="0" name="status">开启</label>
|
|
|
</div>
|
|
|
<input type="hidden" value="{{data.classStatus}}" id="class-status" for="radio">
|
|
|
<input id="status" type="hidden" value="{{data.status}}" for="radio">
|
|
|
</div>
|
|
|
</div>
|
|
|
</form>
|
|
|
</div>
|
|
|
|
|
|
<div class="panel-footer">
|
|
|
<button type="submit" data-loading-text="保存中..." class="btn btn-info btn-xs new-class-btn">保存</button>
|
|
|
<a href="" class="btn btn-default btn-xs">取消</a>
|
|
|
<button type="submit" class="btn btn-info btn-xs new-class-btn" data-id="{{data.id}}">保存</button>
|
|
|
<a href="/product/class/index" class="btn btn-default btn-xs">取消</a>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
...
|
...
|
|