<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>新增商品类型</title>
<meta
	content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no'
	name='viewport'>
<!-- bootstrap 3.0.2 -->
<link href="<c:url value='/styles/lib/bootstrap.min.css'/>" rel="stylesheet" type="text/css" />
<!-- font Awesome -->
<link href="<c:url value='/styles/lib/font-awesome.min.css'/>" rel="stylesheet" type="text/css" />
<!-- Ionicons -->
<link href='<c:url value='/styles/lib/ionicons.min.css' />' rel="stylesheet" type="text/css" />
<!-- DATA TABLES -->
<link href="<c:url value='/styles/lib/datatables/dataTables.bootstrap.css' />" rel="stylesheet" type="text/css" />
<!-- Theme style -->
<link href="<c:url value='/styles/AdminLTE.css'/>" rel="stylesheet" type="text/css" />
<link href="<c:url value='/styles/jquery-ui-1.10.3.full.min.css'/>" rel="stylesheet" type="text/css" />
<link href="<c:url value='/scripts/uploadify/uploadify.css'/>" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="${ctx}/plugin/layer/mobile/need/layer.css" />
<script type="text/javascript" src="<c:url value='/scripts/lib/jquery-1.8.2.min.js'/>"></script>
<script type="text/javascript" src="${ctx}/scripts/lib/jquery-ui.js"></script>
<script type="text/javascript" src="${ctx}/scripts/uploadify/jquery.uploadify.min.js"></script>
<script type="text/javascript" src="${ctx}/plugin/layer/layer.js"></script>
<script type="text/javascript" src="${ctx}/scripts/admin/servicePack/addProductCategories.js"></script>
<script type="text/javascript">
	var basePath = "<%=request.getContextPath()%>";
</script>
</head>
<body>
	<section class="content">
		<div class="row">
			<div class="col-xs-12">
				<div class="boxlist">
				<input type="hidden" name="productCategoriesId" id="productCategoriesId" value="${map.id}"/>
					<!-- /.box-header -->
						<h2 class="booking-tit">服务项商品分类信息</h2>
				        <form action="" class="query_frame clearfix form-inline booking-form">
				        <div class="form-group booking-box">
			                <label for="" class="control-label">选择服务项:</label>
			                <select name="serviceId" id="serviceId" onchange="serviceCode()">
			                	<c:if test="${not empty map.serviceName}"><option value='${map.serviceId}'>${map.serviceName}</option></c:if>
			                </select>
			            </div>
				        <div class="form-group editor-box">
		                <label for="" class="control-label">商品分类名称:</label>
		                <input type="text" name="name" id="name" value="${map.name}"/>
			            </div>
				        <div class="form-group editor-box" style="display: none">
		                <label for="" class="control-label">商品分类编码:</label>
		                <input type="text" name="typeCode" id="typeCode" value="${map.typeCode}"/>
			            </div>
			           <!-- 按钮组 -->
			            <div class="btns" style="float: right;">
			                <input type="button" id="addProductCategories" style="min-width: 60px!important;" class="btn btn-primary" value="确定"/>
			                <input type="button" id="back" style="min-width: 60px!important;" class="btn btn-back" value="取消"/>
			            </div>
			            
				        </form>
					<!-- /.box-body -->
				</div>
			</div>
		</div>
	</section>
</body>
</html>