<#include "/jspgou_sys/head.html"/>
<@s.m "global.position"/>:规格管理 - <@s.m "global.add"/>
" onclick="this.form.action='v_list.do';"/>
<#assign fieldExist><@s.m "error.fieldExist"/> <@p.form id="jvForm" action="o_save.do"> <@p.text label="规格名称" colspan="2" width="100" name="name" required="true" class="required" maxlength="100"/><@p.tr/> <@p.text label="字段名称" colspan="2" width="100" name="field" required="true" vld="{required:true,rangelength:[3,100],remote:'v_check_field.do',messages:{remote:'${fieldExist}'}}" maxlength="100"/><@p.tr/> <@p.text label="备注" colspan="2" width="100" name="remark" required="true" class="required" maxlength="100"/><@p.tr/> <@p.radio label="类型" colspan="2" width="100" name="dataType" list={"true":"图片","false":"文字"} value="false" helpPosition="2" required="true" class="required"/><@p.tr/> <@p.text label="排序" colspan="2" width="100" name="priority" value="10" required="true" class="required digits" maxlength="10"/><@p.tr/> <@p.td colspan="2">
<@p.tr/> <@p.td colspan="2" width="100"><@p.submit code="global.submit"/> <@p.reset code="global.reset"/>
<div class="items"> 规格值名称 : <input type="text" name="itemName" style="width:200px"/> 颜色:<input type="text" id="itemColor{0}" name="itemColor" value="" style="width:70px"/>(规格为颜色时使用) 排序: <input type="text" name="itemPriority" value="{0}" style="width:30px"/> <input class="del-button" type="button" value="<@s.m "global.delete"/>" onclick="$(this).parent().remove();"/> </div>