Authored by 王钱钧

修改bug。

... ... @@ -124,6 +124,7 @@ $("#filter-btn").click(function(){
$("#add-btn").click(function(){
attributeOp("新建", '/erpproduct/brandfolder/add', {});
$('#type').attr("disabled", false);
});
$(document).on('click', '.edit-class-btn', function () {
... ... @@ -131,6 +132,8 @@ $(document).on('click', '.edit-class-btn', function () {
console.log(item);
attributeOp("修改", '/erpproduct/brandfolder/update', item);
$('#type').attr("disabled", true);
});
... ...
... ... @@ -108,7 +108,7 @@
</label>
<div class="panel-col">
<select name="type" id="type" value="[[type]]" disabled="true" tabindex="-1" required="required" title="" class="form-control height40">
<select name="type" id="type" value="[[type]]" tabindex="-1" required="required" title="" class="form-control height40">
<option value="-1">类型</option>
<option value="1">品牌款型</option>
<option value="2">品牌系列</option>
... ...