{extend name="base" /}
{block name="css"}
<link rel="stylesheet" type="text/css" href="__ADMIN__/js/mmgrid/mmGrid.css?v={$v}" />
{/block}
{block name="js"}
<script src="__ADMIN__/js/mmgrid/mmGrid.js?v={$v}" type="text/javascript"></script>
<script src="__ADMIN__/goodsclassify/goodsclassify.js?v={$v}" type="text/javascript"></script>
{/block}
{block name="main"}
<div class="wst-toolbar">
{if WSTGrant('SPSX_01')}
   <button class="btn btn-primary f-right" onclick="javascript:toEdit(0);"><i class='fa fa-plus'></i>新增</button>
   {/if}

<div style='clear:both'></div>
</div>
<div class='wst-grid'>
 <div id="mmg" class="mmg"></div>
 <div id="pg" style="text-align: right;"></div>
</div>
<div id='attrBox' style='display:none'>
  <form id="attrForm">
    <table class='wst-form wst-box-top'>
          <tr>
            <th width='150'>
              <input type="hidden" id="goodsclassifyId" value="" class="ipt" />
             商品总分类ID<font color='red'>*</font>:</th>
          </tr>
        <tr>
            <th>商品总分类名称<font color='red'>*</font>:</th>
            <td>
                <input type="text" id="goodsclassifyName" name="goodsclassifyName" class="ipt" maxLength='20'/>
            </td>
        </tr>
        <tr>
            <th>商品分类序号<font>*</font>:</th>
            <td>
                <input type="text" id="orderby" name="orderby" class="ipt" maxLength='20'/>
                数字越大越靠前
            </td>
        </tr>
    </table>
  </form>
</div>
<script>
$(function(){initGrid();})
</script>
{/block}