80 lines
3.5 KiB
HTML
Executable File
80 lines
3.5 KiB
HTML
Executable File
{extend name="base" /}
|
||
{block name="css"}
|
||
<link rel="stylesheet" type="text/css" href="__ADMIN__/js/mmgrid/mmGrid.css?v={$v}" />
|
||
<link rel="stylesheet" type="text/css" href="__STATIC__/plugins/webuploader/webuploader.css?v={$v}" />
|
||
{/block}
|
||
{block name="js"}
|
||
<script src="__ADMIN__/js/wstgridtree.js?v={$v}" type="text/javascript"></script>
|
||
<script src="__ADMIN__/goodscats/goodscats.js?v={$v}" type="text/javascript"></script>
|
||
<script type='text/javascript' src='__STATIC__/plugins/webuploader/webuploader.js?v={$v}'></script>
|
||
<script>
|
||
$(function(){initGrid();})
|
||
</script>
|
||
{/block}
|
||
{block name="main"}
|
||
<style>.mmGrid{border-bottom:0px;}</style>
|
||
{if WSTGrant('SPFL_01')}
|
||
<div class="wst-toolbar">
|
||
<button class="btn btn-success f-right" onclick='javascript:toEdit(0)'><i class='fa fa-plus'></i>新增</button>
|
||
<div style='clear:both'></div>
|
||
</div>
|
||
{/if}
|
||
<div class='wst-grid'>
|
||
<div class='mmGrid layui-form' id="maingrid"></div>
|
||
</div>
|
||
<div id='goodscatsBox' style='display:none' class='layui-form'>
|
||
<form id='goodscatsForm' autocomplete="off">
|
||
<input type='hidden' id='parentId' name="parentId" class='ipt'/>
|
||
<table class='wst-form wst-box-top'>
|
||
<tr>
|
||
<th width='100'>商品分类名称<font color='red'>*</font>:</th>
|
||
<td><input type='text' id='catName' name="catName" class='ipt' maxLength='20' style='width:200px;'/></td>
|
||
</tr>
|
||
<tr>
|
||
<th>图标:</th>
|
||
<td>
|
||
<div id='catFilePicker'>上传图标</div><span id='uploadMsg'></span>
|
||
<input type='hidden' id='catImg' name="catImg" class="ipt" />
|
||
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>预览图:</th>
|
||
<td><div style="min-height:70px;" id="preview"></div></td>
|
||
</tr>
|
||
<tr>
|
||
<th width='100'>佣金<font color='red'>*</font>:</th>
|
||
<td height='24'>
|
||
<input type="text" id="commissionRate" name="commissionRate" class="ipt" value="-1" data-target="#msg_commissionRate" size='7' class='ipt'>%<span id='msg_commissionRate'>(-1代表继承上级佣金)</span>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th width='100'>应交质保金<font color='red'>*</font>:</th>
|
||
<td height='50'>
|
||
<input type="text" id="payDeposit" name="payDeposit" class="ipt" value="-1" data-target="#payDeposit" size='7' class='ipt'><span id='payDeposit'>(-1代表继承上级质保金)</span>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th width='100'>是否显示<font color='red'>*</font>:</th>
|
||
<td height='24'>
|
||
<input type="checkbox" id="isShow" name="isShow" value="1" class="ipt" lay-skin="switch" lay-filter="isShow1" lay-text="显示|隐藏">
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th width='100'>是否首页楼层<font color='red'>*</font>:</th>
|
||
<td height='24'>
|
||
<input type="checkbox" id="isFloor" name="isFloor" value="1" class="ipt" lay-skin="switch" lay-filter="isFloor1" lay-text="是|否">
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th width='100'>楼层副标题<font color='red'> </font>:</th>
|
||
<td><input type='text' id='subTitle' name='subTitle' class='ipt' style='width:200px;' /></td>
|
||
</tr>
|
||
<tr>
|
||
<th width='100'>排序号<font color='red'>*</font>:</th>
|
||
<td><input type='text' id='catSort' name='catSort' class='ipt' style='width:60px;' onkeypress='return WST.isNumberKey(event);' onkeyup="javascript:WST.isChinese(this,1)" maxLength='10' value='0'/></td>
|
||
</tr>
|
||
</table>
|
||
</form>
|
||
</div>
|
||
{/block} |