<!DOCTYPE html>
<html>
	<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="themes/jquery/css/themes/default/jquery.mobile-1.4.5.min.css">
	<link rel="stylesheet" href="themes/home/css/fonts/font-awesome.min.css">
    <link rel="stylesheet" href="themes/home/css/ui-box.css">
    <link rel="stylesheet" href="themes/home/css/ui-base.css">
    <link rel="stylesheet" href="themes/home/css/ui-color.css">
    <link rel="stylesheet" href="themes/home/css/icon.css">
    <link rel="stylesheet" href="themes/home/css/control.css">
    <link rel="stylesheet" href="themes/home/css/main.css">
	<script src="themes/jquery/js/jquery.js"></script>
	<script src="themes/jquery/js/jquery.mobile-1.4.5.min.js"></script>
</head>
<body class="um-vp c-wh " ontouchstart>
	<div data-role="page" data-quicklinks="true" class="ub ub-ver ">
      <div data-role="header" id="header" data-position="fixed" data-fullscreen="true" data-tap-toggle="false" >
	  <div class="uh bc-text-head ub bc-head">
                <div class="nav-btn" id="nav-left" onClick="javascript:window.location='index.php?ac=<?php echo $ac;?>&fileurl=plugin&do=goods_view_key'">
                    <div class="fa fa-angle-left fa-2x"></div>
                </div>
                <h1 class="ut ub-f1 ulev-3 ut-s tx-c" tabindex="0">领用审批</h1>
				
                <div class="nav-btn nav-bt" id="nav-right">
                    <!--<div class="ub-img icon-edit umw2 umh4"></div> -->
                </div>
				
       </div>
	  
</div>
		<!-- /header -->
  <div data-role="content" id="content">
				<?php if($key1==''){?>
	  <div data-role="navbar" style="margin:30px 30px 30px 30px;">
				<ul><li><a class="ui-btn-active" href="#" onClick="javascript:window.location='index.php?ac=<?php echo $ac;?>&fileurl=plugin&do=goods_view_key_add&id=<?php echo $id;?>&key1=3'">批 准</a></li>
					<li><a href="#" onClick="javascript:window.location='index.php?ac=<?php echo $ac;?>&fileurl=plugin&do=goods_view_key_add&id=<?php echo $id;?>&key1=2'">拒 绝</a></li>
					
				</ul>
			</div>
			<?php }?>
				<div class="ub ub-ver">
					<div class="uinn-a6 sc-text  ulev-app1">
						领用信息
					</div>
					<div class="ub ub-ver uinn-a1 ub-f1">
						<div class="uba bc-border c-wh">
							<ul class="ubb ub bc-border bc-text ub-ac uinn-a9">
								<li class="uw-infor ut-s sc-text  umar-r-infor ulev-app1">
									领用数量
								</li>
								<li class="ub-f1 ulev-app1">
									<?php echo trim($row['recordnum']);?>
								</li>
							</ul>
							<ul class="ubb ub bc-border bc-text ub-ac uinn-a9">
								<li class="uw-infor ut-s sc-text  umar-r-infor ulev-app1">
									领用人
								</li>
								<li class="ub-f1 ulev-app1">
									<?php echo get_realname($row['recorduser']);?>
								</li>
							</ul>
							<ul class="ubb ub bc-border bc-text ub-ac uinn-a9">
								<li class="uw-infor ut-s sc-text  umar-r-infor ulev-app1">
									领用部门
								</li>
								<li class="ub-f1 ulev-app1">
									<?php echo trim($row['department']);?>
								</li>
							</ul>
							<ul class="ubb ub bc-border bc-text ub-ac uinn-a9">
								<li class="uw-infor ut-s sc-text  umar-r-infor ulev-app1">
									状态
								</li>
								<li class="ub-f1 ulev-app1">
									<?php
									if($row['type']==1){
										echo '待审';
									}elseif($row['type']==2){
										echo '拒绝';
									}else{
										echo '己领用';
									}
									?>
								</li>
							</ul>
							<ul class="ubb ub bc-border bc-text ub-ac uinn-a9">
								<li class="uw-infor ut-s sc-text  umar-r-infor ulev-app1">
									审批人
								</li>
								<li class="ub-f1 ulev-app1">
									<?php echo trim($row['examination']);?>
								</li>
							</ul>
							<ul class=" ub  bc-text ub-ac uinn-a9">
								<li class="uw-infor ut-s sc-text  umar-r-infor ulev-app1">
									领用时间
								</li>
								<li class="ub-f1 ulev-app1">
									<?php echo trim($row['date']);?>
								</li>
							</ul>
							
							
						</div>
					</div>
			
					<div class="uinn-a6 sc-text  ulev-app1">
						物品信息
					</div>
					<div class="ub ub-ver uinn-a1 ub-f1">
						<div class="uba bc-border c-wh">
							<ul class="ubb ub bc-border bc-text ub-ac uinn-a9">
								<li class="uw-infor ut-s sc-text  umar-r-infor ulev-app1">
									名称
								</li>
								<li class="ub-f1 ulev-app1">
									<?php echo trim($row['title']);?>
								</li>
							</ul>
							<ul class="ubb ub bc-border bc-text ub-ac uinn-a9">
								<li class="uw-infor ut-s sc-text  umar-r-infor ulev-app1">
									规格
								</li>
								<li class="ub-f1 ulev-app1">
									<?php echo trim($row['specification']);?>
								</li>
							</ul>
							<ul class="ubb ub bc-border bc-text ub-ac uinn-a9">
								<li class="uw-infor ut-s sc-text  umar-r-infor ulev-app1">
									单位
								</li>
								<li class="ub-f1 ulev-app1">
									<?php echo trim($row['unit']);?>
								</li>
							</ul>
							<ul class="ubb ub bc-border bc-text ub-ac uinn-a9">
								<li class="uw-infor ut-s sc-text  umar-r-infor ulev-app1">
									编码
								</li>
								<li class="ub-f1 ulev-app1">
									<?php echo trim($row['number']);?>
								</li>
							</ul>
							<ul class=" ub  bc-text ub-ac uinn-a9">
								<li class="uw-infor ut-s sc-text  umar-r-infor ulev-app1">
									备注
								</li>
								<li class="ub-f1 ulev-app1">
									<?php echo $row['content'];?>
								</li>
							</ul>
							
							
						</div>
					</div>
			</div>

  </div>


	</div><!-- /page -->
 <script type="text/javascript"> 
    window.onload = function(){ 
        var heg=document.getElementById("header").offsetHeight;
		var content=document.getElementById("content"); 
		content.style.cssText="margin-top:"+heg+"px;";
    }
</script> 
</body>
</html>
