#include "/jspgou_sys/head.html"/>
<#include "/common/image_upload.html"/>
<@s.m "global.position"/>: 优惠券 - <@s.m "global.add"/>
" onclick="this.form.action='v_list.do';"/>
<@p.form id="jvForm" action="o_update.do" labelWidth="12"> <@p.text colspan="2" width="50" label="优惠劵名称" name="couponName" value=coupon.couponName required="true" class="required" maxlength="50"/><@p.tr/> <@p.text colspan="1" width="50" label="优惠开始时间" name="couponTime" value=coupon.couponTime?string('yyyy-MM-dd HH:mm:ss') required="true" class="required" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="Wdate"/> <@p.text colspan="1" width="50" label="优惠结束时间" name="couponEndTime" value=coupon.couponEndTime?string('yyyy-MM-dd HH:mm:ss') required="true" class="required" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})" class="Wdate"/><@p.tr/> <@p.text colspan="1" width="50" label="满足金额" name="leastPrice" value=coupon.leastPrice required="true" class="required number" maxlength="12"/> <@p.text colspan="1" width="50" label="惠券面值" name="couponPrice" value=coupon.couponPrice required="true" class="required number" maxlength="12"/><@p.tr/> <@p.text colspan="1" width="50" label="数量" name="couponCount" value=coupon.couponCount required="true" class="required number" maxlength="11"/> <@p.radio label="是否启用" colspan="1" width="50" name="isusing" value=coupon.isusing list={"true":"是","false":"否"}/><@p.tr/> <@p.td label="优惠劵图" colspan="1" width="50" noHeight="true"> <@p.text id="uploadImgPath1" name="couponPicture" value=coupon.couponPicture! size="30"/>
" onclick="clearImg(1);"/>
" onclick="upload(1);"/>
<@s.m "global.width"/>:
<@s.m "global.height"/>:
" onclick="imgCut(1);"/> @p.td> <@p.td colspan="1" width="50">
" style="width:100px;height:70px;background-color:#CCCCCC;border:1px solid #333"/> @p.td><@p.tr/> <@p.td colspan="2"><@p.submit code="global.submit"/> <@p.reset code="global.reset"/>@p.td> <@p.hidden name="id" value=coupon.id/> @p.form>