<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta content="zh-cn" http-equiv="Content-Language" />
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
		<meta name="renderer" content="webkit"/>
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0,  user-scalable=no"/>
		<title>{%$lngpack.sitename%}</title>
		<meta name="keywords" content="{%$lngpack.keyword%}" />
		<meta name="description" content="{%$lngpack.description%}" />
		<link rel="icon" type="image/png" href="{%$icon_16%}" sizes="16x16"/>
		<link rel="icon" type="image/png" href="{%$icon_32%}" sizes="32x32"/>
		<link rel="icon" type="image/png" href="{%$icon_64%}" sizes="64x64"/>
		<link href="{%$rootpath%}css/bootstrap.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/espcmsp8_font.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/swiper.min.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/espcmsp8_all.css" rel="stylesheet" type="text/css" />
		<link href="{%$rootpath%}css/espcms_p8_public.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/jquery.min.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/bootstrap.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/swiper.min.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/espcms_base.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/espcms_dialog.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/espcms_formvalidation.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/citydb.js"></script>
		<script type="text/javascript" src="{%$rootdir%}espcms_includes/js/cityselect.js"></script>
		<script type="text/javascript" src="{%$rootdir%}js/My97DatePicker/WdatePicker.js"></script>
		<script type="text/javascript">
			$(window).load(function () {
				$("#ordersaveform").espcms_formvalidation();
				{%if $member_con.MEMBER_CITY_VERIFY==1%}
				$("#city_select").citySelect({
					prov: "{%if $read.province%}{%$read.province%}{%else%}北京{%/if%}",
					city: "{%$read.city%}",
					dist: "{%$read.district%}",
					nodata: "none"
				});
				{%/if%}
				load_tabclick('.tab_click');
			});
		</script>
	</head>

	<body>
		{%link file="public/head.html"%}
		<section class="bann_container">
			<div class="container page_bann_title">
				<h2>会员中心</h2>
			</div>
		</section>

		<section class="container espcms_page_book">
			<div class="row">
				<div class="col-xs-12 col-sm-12 col-md-3">
					{%list name=memmenu%}
				</div>
				<div class="col-xs-12 col-sm-12 col-md-9">
					<div class="panel panel-info espcms_member_page">
						<div class="panel-heading"><h3>修改订单（订单号：{%$read.ordersn%}）</h3></div>
						<div class="panel-body">
							<form name="ordersaveform" id="ordersaveform" method="post" class="form-horizontal admin-form" action="{%$order_link.editsave%}">
								<input type="hidden" name="tokenname" value="{%$tokenkey.token_name%}"/>
								<input type="hidden" name="tokenkey" value="{%$tokenkey.token_key%}"/>
								<input type="hidden" name="oid" id="oid" value="{%$read.oid%}"/>
								<div class="form-group">
									<label class="col-sm-2 control-label">订单时间</label>
									<div class="col-sm-9 pt6">{%$read.addtime|espcms_timeformat(3)%}</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">订单处理状态</label>
									<div class="col-sm-9 pt6">
										{%if $read.ordertype==0%}<span class="text-danfei">作废</span>{%/if%}
										{%if $read.ordertype==1%}<span class="text-orange">新订单</span>{%/if%}
										{%if $read.ordertype==2%}<span class="text-green">已处理</span>{%/if%}
									</div>
								</div>


								<div class="form-group">
									<label class="col-sm-2 control-label">收货人姓名</label>
									<div class="col-sm-9"><input type="text" name="consignee" value="{%$read.consignee%}" class="form-control" data-validation-minlength="4" data-validation-maxlength="50" placeholder="请填写订单收货人真实姓名" title="请填写订单收货人真实姓名" data-validation-msg="抱歉：收货人真实姓名输入错误，请返回重新输入！"/></div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">E-mail</label>
									<div class="col-sm-9"><input type="text" name="email" value="{%$read.email%}" class="form-control" data-validation="^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$"  placeholder="请输入E-mail" title="请输入E-mail" data-validation-msg="抱歉：E-mail输入错误，请重新输入！"/></div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">联系电话</label>
									<div class="col-sm-9"><input type="text" name="tel" value="{%$read.tel%}" class="form-control" placeholder="请输入固定电话，格式为：区号-电话号码-分机，例如：0716-2209455-001" title="请输入固定电话，格式为：区号-电话号码-分机，例如：0716-2209455-001" data-isvalidation="true" data-validation="^[\d-]{6,}$" data-validation-msg="抱歉，固定电话输入错误，请输入格式为：区号-电话号码-分机的号码，分机可以不用填写" /></div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">手机</label>
									<div class="col-sm-9"><input type="text" name="mobile" value="{%$read.mobile%}" class="form-control" data-validation="^1[\d]{10}$" placeholder="请输入11位手机号" title="请输入11位手机号" data-validation-msg="抱歉：手机号输入错误，请重新输入！"/> </div>
								</div>
								{%if $member_con.MEMBER_CITY_VERIFY==1%}
								<div class="form-group">
									<label class="col-sm-2 control-label">地区</label>
									<div class="col-sm-9">
										<div id="city_select">
											<div class="col-sm-3 p0">
												<select class="form-control prov" name="province"></select>
											</div>
											<div class="col-sm-3 p0 pl5">
												<select class="form-control city" name="city" disabled="disabled"></select>
											</div>
											<div class="col-sm-3 pl5">
												<select class="form-control dist" name="district" disabled="disabled"></select>
											</div>
										</div>
									</div>
								</div>
								{%/if%}
								<div class="form-group">
									<label class="col-sm-2 control-label">详细地址</label>
									<div class="col-sm-9"><input type="text" name="address" value="{%$read.address%}" class="form-control" data-validation-minlength="4" data-validation-maxlength="200" placeholder="请填写订单详细地址" title="请填写订单详细地址" data-validation-msg="抱歉：订单详细地址输入错误，请返回重新输入！"/></div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">邮编</label>
									<div class="col-sm-9"><input type="text" name="zipcode" value="{%$read.zipcode%}" class="form-control" data-validation="^[\d]*$" placeholder="请输入邮编" title="请输入邮编" data-validation-msg="抱歉：邮编输入错误，请重新输入！"/></div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">索取发票</label>
									<div class="col-sm-9 pt6">
										<input type="radio" name="isinvoice" class="tab_click" open_list=".isinvoice_div" value="1"{%if $read.isinvoice==1%}checked{%/if%}/> 需要&nbsp;
										<input type="radio" name="isinvoice" class="tab_click" close_list=".isinvoice_div" value="0"{%if $read.isinvoice==0%}checked{%/if%}/> 不需要
									</div>
								</div>
								<div class="form-group isinvoice_div {%if $read.isinvoice==0%}displaynone{%/if%}">
									<label class="col-sm-2 control-label">发票全称</label>
									<div class="col-sm-9">
										<input type="text" name="invpayee" value="{%$read.invpayee%}" class="form-control" link-validation="isinvoice" link-gettype="radio" link-getvalue="1" data-validation-minlength="4" data-validation-maxlength="200" placeholder="请输入发票全称，长度为2至150个以内任意字符" title="请输入发票全称，长度为2至150个以内任意字符" data-validation-msg="抱歉，发票全称填写错误，请填写长度2至150位的任意字符！"/>
									</div>
								</div>
								<div class="form-group isinvoice_div {%if $read.isinvoice==0%}displaynone{%/if%}">
									<label class="col-sm-2 control-label">企业证号</label>
									<div class="col-sm-9"><input type="text" name="companysn" value="{%$read.companysn%}" id="companysn" class="form-control" link-validation="isinvoice" link-gettype="radio" link-getvalue="1" data-validation-minlength="5" data-validation-maxlength="50" placeholder="请输入企业证号（建议填写五证合一或者公司营业执照号），字符长度由2至50位以内的字母和数字字符组成" title="请输入企业证号（建议填写五证合一或者公司营业执照号），字符长度由2至50位以内的字母和数字字符组成" data-validation-msg="抱歉，证件号码填写错误，请填写长度2至50位以内的字母和数字字符！" /></div>
								</div>
								<div class="form-group isinvoice_div {%if $read.isinvoice==0%}displaynone{%/if%}">
									<label class="col-sm-2 control-label">发票内容</label>
									<div class="col-sm-9"><input type="text" name="invcontent" value="{%$read.invcontent%}" id="invcontent" class="form-control" link-validation="isinvoice" link-gettype="radio" link-getvalue="1" data-isvalidation="true" data-validation-minlength="5" data-validation-maxlength="200" placeholder="请输入开票内容" title="请输入开票内容" data-validation-msg="抱歉，当前开票内容输入错误！"/></div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">备注</label>
									<div class="col-sm-9">
										<textarea class="form-control" style="width:100%;height:120px" name="content" id="content" maxlength="800" data-isvalidation="true" data-validation-minlength="4" data-validation-maxlength="200"  placeholder="请输入订单备注，长度不超过500个以内任意字符" title="请输入订单备注，长度不超过500个以内任意字符" data-validation-msg="抱歉，订单备注输入错误，请输入长度不超过500个以内的任意字符！">{%$read.content%}</textarea>
									</div>
								</div>

								<div class="form-group">
									<div class="col-sm-offset-2 col-sm-9">
										<input type="submit" class="btn btn-success" formmethod="POST" value="确认修改订单"/>
									</div>
								</div>
							</form>
						</div>
					</div>

				</div>
			</div>
		</section>

		{%link file="public/footer.html"%}
	</body>
</html>