Authored by 马力

Merge branch 'hotfix_店铺商品分类' into gray

... ... @@ -41,7 +41,7 @@
<a class="btn btn-success addBtn"><i class="fa fa-plus"></i> 新增商品分类</a>
<a href="javascript:;" class="btn btn-primary large btn-batch-import">批量关联类目</a>
<span style="float: right;font-size: 16px;line-height:37px;font-family:'simhei'">
当前店铺共有:<b style="color: #5cb85c;font-size: 20px">[[data.length]]</b>&nbsp;条商品分类,<font color="#f0ad4e">最多可以添加20条</font>
当前店铺共有:<b style="color: #5cb85c;font-size: 20px">[[data.length]]</b>&nbsp;条商品分类,<font color="#f0ad4e">最多可以添加99条</font>
</span>
</div>
<table class="table table-striped table-bordered responsive dataTable no-footer" style="text-align: center">
... ...
... ... @@ -121,10 +121,10 @@ $(document).on('change', '#shop-select', function () {
//新增类目
$(document).on('click', '.addBtn', function () {
if(currentShopCategoryNum < 20){
if(currentShopCategoryNum < 99){
Bll.toast(0, '/shops/shopCategory/add', '', null);
}else {
common.util.__tip('店铺最多添加只能添加20个商品分类!');
common.util.__tip('店铺最多添加只能添加99个商品分类!');
}
});
... ...