Authored by leo

Update: 增加商品池详情页面

... ... @@ -107,4 +107,39 @@
  EXCEL文件只有一列。
</div>
</div>
</script>
<script type="text/template" id="detailPoolTemplate">
<div class="form-group">
<label class="col-sm-2 control-label">添加SKN到商品池: </label>
<div class="col-sm-3">
<input type="text" id="addSknText" class="form-control input-form" placeholder="输入SKN">
<input type="hidden" id="addSknType" value="[[producttype]]">
<input type="hidden" id="addSknPoolId" value="[[id]]">
</div>
<div class="col-sm-1">
<a href="javascript:;" id="addSknBtn" class="btn btn-info">+添加</a>
</div>
</div>
<div class="form-group">
<div class="col-sm-2">
<input type="text" id="productSkn" class="form-control input-form" placeholder="查询SKN">
</div>
<div class="col-sm-2">
<select name="brandId" id="brandId" class="form-control">
<option value="-1">请选择品牌</option>
</select>
</div>
<div class="col-sm-3">
<div id="sortTree" class="form-control height40" style="border: 0px; padding: 0px;"></div>
</div>
<div class="col-sm-1">
<a href="javascript:;" id="queryBtn" class="btn btn-info">查询</a>
</div>
<div class="col-sm-2">
<a href="javascript:;" id="batchAddPool" class="btn btn-primary">批量导入</a>
</div>
</div>
<div id="faGrid"></div>
</script>
\ No newline at end of file
... ...
... ... @@ -50,19 +50,7 @@ var Bll = {
new common.dialog({
title: "商品池详情",
width: "80%",
content: '<div class="addSkn form-inline"><div class="form-group"?>' +
'<label style="margin-right: 10px; font-size: 16px; font-weight: bold">添加SKN到商品池:</label>' +
'<input type="text" id="addSknText" class="form-control" placeholder="输入SKN">' +
'<input type="hidden" id="addSknType" value="'+obj.producttype+'">' +
'<input type="hidden" id="addSknPoolId" value="'+obj.id+'">' +
'<a id="addSknBtn" class="btn btn-info" style="margin-left: 15px"><i class="fa fa-plus"></i> 添加</a></div></div>' +
'<div class="queryskn form-inline"><div class="form-group"?>' +
'<input type="text" id="productSkn" class="form-control" placeholder="查询SKN" />' +
' <div id="sortTree" class="form-control height40" style="border: 0px; padding: 0px;"></div>'+
'<div ><select name="brandId" id="brandId" class="form-control"> <option value="-1">请选择品牌</option> </select></div>'+
'<div ><a id="queryBtn" class="btn btn-info" style="margin-left: 15px"> 查询</a></div></div></div>'+
'<a id="batchAddPool" class="btn btn-xs btn-primary" >批量上传</a>' +
'<div id="faGrid" style="overflow:auto; margin-top: 15px"></div>',
content: common.util.__template2($("#detailPoolTemplate").html(), obj),
button: [{
value: "确认", css:"btn-primary",
callback: function () {//局部刷新列表SKN个数
... ...