<%@ page contentType="text/html;charset=UTF-8" %>
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %>
|
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
|
|
<html>
|
<head>
|
<title>编辑料架和吊装位</title>
|
<link type="image/x-icon" href="${ctx}/static/images/favicon.ico" rel="shortcut icon">
|
<link href="${ctx}/static/bootstrap/2.3.2/css/bootstrap.min.css" type="text/css" rel="stylesheet" />
|
<link href="${ctx}/static/bootstrap/2.3.2/css/bootstrap-responsive.min.css" type="text/css" rel="stylesheet" />
|
<link href="${ctx}/static/jquery-validation/1.11.1/validate.css" type="text/css" rel="stylesheet" />
|
<link href="${ctx}/static/styles/default.css" type="text/css" rel="stylesheet" />
|
<link href="${ctx}/static/bootstrap-datetimepicker/css/bootstrap-datetimepicker.min.css" type="text/css" rel="stylesheet" />
|
<link href="${ctx}/static/bootstrap-switch/css/bootstrap2/bootstrap-switch.css" type="text/css" rel="stylesheet" />
|
<script type="text/javascript" src="${ctx}/static/jquery/jquery-3.1.0.min.js"></script>
|
<script language="javascript" type="text/javascript" src="${ctx}/static/util.js"></script>
|
|
<script type="text/javascript">
|
function myFunction(obj){
|
window.location.href="${ctx}/shelf/findRank/"+obj;
|
}
|
function batchDeleteRanks() {
|
var shelfRankCheckBoxes = $(":checkbox");
|
var shelfRankIds = '';
|
|
for (var i = 0; i < shelfRankCheckBoxes.size(); i++) {
|
if (shelfRankCheckBoxes[i].checked) {
|
shelfRankIds += (shelfRankCheckBoxes[i].id + ";");
|
}
|
}
|
|
if (shelfRankIds == '') {
|
$.MsgBox.Alert("WARM PROMPT", "没有料架被选中");
|
return;
|
}
|
|
// 去掉最后一个分隔符
|
shelfRankIds = shelfRankIds.substring(0, shelfRankIds.length - 1);
|
|
$('#deleteConfirm').modal('toggle');
|
$('#deleteConfirmForm').attr('action', '${ctx}/shelfrank/batchDeleteRanks');
|
$('#deleteConfirmInput').attr('name', 'shelfRankIds');
|
$('#deleteConfirmInput').attr('value', shelfRankIds);
|
}
|
|
function xinxi(id){
|
window.location.href="${ctx}/shlef/findRank/"+id;
|
}
|
function deleteRank(shelfRankId) {
|
$('#deleteConfirm').modal('toggle');
|
$('#deleteConfirmForm').attr('action', '${ctx}/shelfrank/delete');
|
$('#deleteConfirmInput').attr('name', 'shelfRankId');
|
$('#deleteConfirmInput').attr('value', shelfRankId);
|
}
|
|
function deleteRawPackageForRank(shelfRankId) {
|
$('#deleteConfirm').modal('toggle');
|
$('#deleteConfirmForm').attr('action', '${ctx}/shelfrank/deleteRawPackageForRank');
|
$('#deleteConfirmInput').attr('name', 'shelfRankId');
|
$('#deleteConfirmInput').attr('value', shelfRankId);
|
}
|
|
function deleteHoist(shelfHoistId) {
|
$('#deleteConfirm').modal('toggle');
|
$('#deleteConfirmForm').attr('action', '${ctx}/shelfhoist/delete');
|
$('#deleteConfirmInput').attr('name', 'shelfHoistId');
|
$('#deleteConfirmInput').attr('value', shelfHoistId);
|
}
|
|
function deleteRawPackageForHoist(shelfHoistId) {
|
$('#deleteConfirm').modal('toggle');
|
$('#deleteConfirmForm').attr('action', '${ctx}/shelfhoist/deleteRawPackageForHoist');
|
$('#deleteConfirmInput').attr('name', 'shelfHoistId');
|
$('#deleteConfirmInput').attr('value', shelfHoistId);
|
}
|
</script>
|
<script>
|
$(document).ready(function() {
|
$("#widthInput").focus();
|
});
|
</script>
|
</head>
|
<body>
|
<!-- Content Wrapper. Contains page content -->
|
<div class="content-wrapper">
|
<!-- Content Header (Page header) -->
|
<div>
|
<section class="content-header">
|
<h1>
|
编辑料架
|
<small></small>
|
</h1>
|
<ol class="breadcrumb">
|
<li><a href="${ctx }/shelf/editRankAndHoist"><i class="fa fa-reply"></i>编辑料架</a></li>
|
<li class="active"></li>
|
</ol>
|
</section>
|
</div>
|
<div>
|
<!-- Main content -->
|
<section class="content container-fluid">
|
<div class="row">
|
<div class="col-md-12">
|
<div class="box">
|
<div class="box-header with-border">
|
<i class="fa fa-bar-chart-o"></i>
|
<h3 class="box-title">仓储信息表</h3>
|
|
<div class="box-tools pull-right">
|
<!-- <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
|
</button>
|
<button type="button" class="btn btn-box-tool" data-widget="remove"><i class="fa fa-times"></i></button> -->
|
</div>
|
</div>
|
<!-- /.box-header -->
|
<div class="box-body">
|
<div class="row">
|
<div class="col-md-10">
|
<p class="text-center">
|
<span>
|
<img src="${ctx}/static/images/101.png">二天以内使用过</span>
|
<span>
|
<img src="${ctx}/static/images/104.png">二天到四天之内使用过</span>
|
<span>
|
<img src="${ctx}/static/images/102.png">四天以上七天以下没有使用过</span>
|
<span>
|
<img src="${ctx}/static/images/103.png">七天以内没有使用过</span>
|
<span>
|
<img src="${ctx}/static/images/105.png">禁用</span>
|
</p>
|
<div style="width: 99%;margin-left:10px;margin-top:10px; overflow-y:auto">
|
${shelfRankInfo }
|
</div>
|
<div class="chart">
|
</div>
|
</div>
|
<!-- /.col -->
|
<div class="col-md-2">
|
<p class="text-center">
|
<strong>吊装位&&上片位</strong>
|
</p>
|
${loadAndShelfHoistInfo }
|
</div>
|
<!-- /.col -->
|
</div>
|
<!-- /.row -->
|
</div>
|
</div>
|
<!-- /.box -->
|
</div>
|
<!-- /.col -->
|
</div>
|
<div style="width: 40%;float: left; height: 361px;">
|
<div class="box" style="height: 100%; overflow: auto;" align="center">
|
<div class="box-header">
|
<h3 class="box-title">料架信息</h3>
|
</div>
|
<!-- /.box-header -->
|
<!-- <div class="callout callout-info">
|
<h4>6号料架</h4>
|
<p>料架状态:使用中</p>
|
</div>
|
<div class="box box-default">
|
<div class="box-header with-border">
|
<h3 class="box-title">原片信息</h3>
|
</div>
|
<div class="box-body" style="font-size:20px;">
|
<div style="margin-top:10px;">长度: 4880mm</div>
|
<div style="margin-top:10px;">宽度: 3660mm</div>
|
<div style="margin-top:10px;">厚度: 6mm</div>
|
<div style="margin-top:10px;">膜系: 白玻</div>
|
|
</div>
|
</div>
|
<div class="box box-default">
|
<div class="box-header with-border">
|
<h3 class="box-title">原片使用情况</h3>
|
</div>
|
<div class="box-body" style="font-size:20px;">
|
<div style="margin-top:10px;">起始片数: 30片</div>
|
<div style="margin-top:10px;">剩余片数: 23片</div>
|
<div style="margin-top:10px;">目前所在位置: 上片位</div>
|
|
</div>
|
</div> -->
|
${findShelfRankInfo}
|
</div>
|
</div>
|
<div style="width: 59%;float: right; height: 361px;" class="box">
|
<div class="box" style="height: 100%; overflow: auto;" align="center">
|
<div class="box-header">
|
<h3 class="box-title">编辑信息</h3>
|
</div>
|
<!-- /.box-header -->
|
<%-- <div class="box box-default">
|
<div class="box-header with-border">
|
<h3 class="box-title">原片编辑</h3>
|
</div>
|
<div class="box-body" style="font-size:20px;">
|
<a href="${ctx}/rawpackage/updateForEditShelfRank/12" class='btn btn-large btn-info' >更新原片</a>
|
<a href="${ctx}/rawpackage/createForEditShelfRank/12" class='btn btn-large btn-success' style="margin: 50px">添加原片</a>
|
</div>
|
<div class="box-header with-border">
|
<h3 class="box-title">料架编辑</h3>
|
</div>
|
<div class="box-body" style="font-size:20px;">
|
<a href="${ctx}/rawpackage/enterForEditShelfRank/12" class="btn btn-large btn-success" style="margin: 50px">进库</a>
|
<a href="${ctx}/rawpackage/cancel" class="btn btn-large btn-primary" >出库</a>
|
<a href="${ctx}/rawpackage/single" class="btn btn-large btn-success" style="margin: 50px">退库</a>
|
<a href="${ctx}/rawpackage/single" class="btn btn-large btn-success" style="margin: 50px">禁用</a>
|
</div>
|
<!-- /.box-body -->
|
</div> --%>
|
${rankUserInfo}
|
<%-- <a href="${ctx}/rawpackage/cancel" type="button" class="btn btn-danger btn-lg btn-large">禁用</a> --%>
|
|
</div>
|
</div>
|
</section>
|
</div>
|
<!-- /.content -->
|
</div>
|
<div id="deleteConfirm" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="height: 200px;">
|
<form id="deleteConfirmForm" method="post">
|
<div class="modal-header">
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
<h3 id="myModalLabel">确定吗?</h3>
|
</div>
|
<div class="modal-body">
|
<input type="hidden" id="deleteConfirmInput">
|
</div>
|
<div class="modal-footer">
|
<button type="submit" class="btn btn-primary">提交</button>
|
<button type="button" class="btn" data-dismiss="modal">关闭</button>
|
</div>
|
</form>
|
</div>
|
</body>
|
</html>
|