<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../common/common.jsp"%>
<title>电视硬广-详情</title>
</head>
<body>
<div class="open-content open-pad">
    <form id="infoForm">
    <ul class="ulFrm">
        <li>
            <span class="label labelW80 labelRight"><em>*</em>&nbsp;资源名称：</span>
            <input type="text" name="name" class="text {text:'请输入资源名称'}" size="35" value="${record.name}" />
        </li>
        <li>
            <span class="label labelW80 labelRight"><em>*</em>&nbsp;时间：</span>
            <input type="text" name="showTime" class="text {text:'请输入时间'}" size="35" value="${record.showTime}" />
        </li>
        <li>
            <span class="label labelW80 labelRight"><em>*</em>&nbsp;频道类型：</span>
            <input type="radio" class="radio" name="type" value="1" <c:if test="${!empty record.type && record.type == 1}">checked="checked"</c:if> /><label>央视</label>&nbsp;&nbsp;&nbsp;&nbsp;
            <input type="radio" class="radio" name="type" value="2" <c:if test="${!empty record.type && record.type == 2}">checked="checked"</c:if> /><label>卫视</label>&nbsp;&nbsp;&nbsp;&nbsp;
            <input type="radio" class="radio" name="type" value="3" <c:if test="${!empty record.type && record.type == 3}">checked="checked"</c:if> /><label>省级地面</label>&nbsp;&nbsp;&nbsp;&nbsp;
            <input type="radio" class="radio" name="type" value="4" <c:if test="${!empty record.type && record.type == 4}">checked="checked"</c:if> /><label>其它</label>
        </li>
        <li>
            <span class="label labelW80 labelRight"><em>*</em>&nbsp;时段：</span>
            <input type="text" name="theaterAttribute" class="text {text:'请输入时段'}" size="35" value="${record.theaterAttribute}" />
        </li>
        <li>
            <span class="label labelW80 labelRight"><em>*</em>&nbsp;收视率：</span>
            <input type="text" name="ratings" class="text {text:'请输入收视率，最多三位小数'}" size="35" value="${record.ratings}" />
            <span>%</span>
        </li>
        <li>
            <span class="label labelW80 labelRight"><em>*</em>&nbsp;收视份额：</span>
            <input type="text" name="share" class="text {text:'请输入收视份额，最多三位小数'}" size="35" value="${record.share}" />
            <span>%</span>
        </li>
        <li>
            <span class="label labelW80 labelRight"><em>*</em>&nbsp;版本：</span>
            <input type="text" name="versions" class="text {text:'请输入版本数字，最多两位小数'}" size="35" value="${record.versions}" />
            <span>秒</span>
        </li>
        <li>
            <span class="label labelW80 labelRight"><em>*</em>&nbsp;刊例价格：</span>
            <input type="text" name="price" class="text {text:'请输入刊例价格，最多两位小数'}" size="35" value="${record.price}" />
            <span>元</span>
        </li>
        <li>
            <span class="label labelW80 labelRight"><em>*</em>&nbsp;折扣：</span>
            <input type="text" name="discount" class="text {text:'请输入折扣百分比，最多两位小数'}" size="35" value="${record.discount}" />
            <span>%</span>
        </li>
        <li>
            <span class="label labelW80 labelRight"><em>*</em>&nbsp;售卖状态：</span>
            <input type="radio" class="radio" name="saleStatus" value="0" <c:if test="${!empty record.saleStatus && record.saleStatus == 0}">checked="checked"</c:if> /><label>在售</label>&nbsp;&nbsp;&nbsp;&nbsp;
            <input type="radio" class="radio" name="saleStatus" value="1" <c:if test="${!empty record.saleStatus && record.saleStatus == 1}">checked="checked"</c:if> /><label>已售</label>
        </li>
        <li>
            <span class="label labelW80 labelRight">已售客户：</span>
            <input type="text" name="customer" class="text {text:'多个用顿号隔开'}" size="35" value="${record.customer}" />
        </li>
        <li>
            <span class="label labelW80 labelRight">备注：</span>
            <input type="text" name="remarks" class="text {text:'请输入备注'}" size="35" value="${record.remarks}" />
        </li>
    </ul>
    </form>
</div>
<div class="open-fixed-buttons">
    <a href="javascript:saveAdvertise();" class="btn-radius">提交</a>
    <a href="javascript:top.$.closeWindow();" class="btn-radius">取消</a>
</div>
<script type="text/javascript" src="${staticPath}js/adresource/advertise.js"></script>
<script type="text/javascript">
$(function(){
    $.resetText();
    $.radio();
    $(".text").input();
    $(".select").uiSelect();
});
</script>
</body>
</html>