<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%@include file="/common/taglibs.jspf"%>
<script type="text/javascript" charset="utf-8" src="${ctx}/static/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="${ctx}/static/ueditor/ueditor.all.min.js"> </script>
<script type="text/javascript" charset="utf-8" src="${ctx}/static/ueditor/lang/zh-cn/zh-cn.js"></script>
<script type="text/javascript" src="${ctx}/static/resource/rent/prodEdit.js"></script>
</head>
<body>
	<div class="l_err" style="width: 100%; margin-top: 2px;"></div>
	<form id="form" name="form" class="form-horizontal">
		<input type="hidden" id="prodId" value="${prod.prodId}">
		<section class="panel panel-default">
		<div class="panel-body">
			<div class="form-group">
				<label class="col-sm-3 control-label">产品名称</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkRole"
						placeholder="出租产品名称  推荐50-100字" id="name" value="${prod.name}" />
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">产品分类</label>
				<div class="col-sm-3">
					<select id="mainType" class="form-control">
						<option value="0">请选择</option>
					</select>
				</div>
				<div class="col-sm-3">
					<select id="secondType" class="form-control">
						<option value="0">请选择</option>
					</select>
				</div>
				<div class="col-sm-3">
					<select id="typeId" class="form-control">
						<option value="0">请选择</option>
					</select>
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">行政区划</label>
				<div class="col-sm-3">
					<select id="province" class="form-control">
						<option value="0">省份</option>
					</select>
				</div>
				<div class="col-sm-3">
					<select id="city" class="form-control">
						<option value="0">城市</option>
					</select>
				</div>
				<div class="col-sm-3">
					<select id="strict" class="form-control">
						<option value="0">区域</option>
					</select>
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">详细地址</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkRole"
						placeholder="详细地址" id="addr" value="${prod.addr}" />
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">归属商户</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkRole"
						placeholder="归属商户" id="merch" value="${prod.merch}" />
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">联系人</label>
				<div class="col-sm-4">
					<input type="text" class="form-control checkRole"
						placeholder="联系人姓名" id="linkman" value="${prod.linkman}" />
				</div>
				<label class="col-sm-3 control-label">电话</label>
				<div class="col-sm-3">
					<input type="text" class="form-control checkRole"
						placeholder="联系人电话" id="linkman" value="${prod.phone}" />
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">产品封面</label>
				<div class="col-sm-9">
					<input type="text" class="form-control checkRole"
						placeholder="产品封面" id="pic" value="${prod.pic}" />
				</div>
			</div>
			<div class="line line-dashed line-lg pull-in"></div>
			<div class="form-group">
				<label class="col-sm-3 control-label">产品介绍</label>
				<div class="col-sm-9">
					 <script id="editor" type="text/plain"  style="width:98%;height: 100px;">${prod.info}</script>
				</div>
			</div>
		</div>
		<footer class="panel-footer text-right bg-light lter">
		<button type="button" class="btn btn-success btn-s-xs" id="submitBtn">提交</button>
		</footer> </section>
	</form>
</body>
</html>