<%@ page language="java" contentType="text/html; charset=utf-8"
|
pageEncoding="utf-8"%>
|
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
<c:set var="ctx" value="${pageContext.request.contextPath}" />
|
<!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">
|
<script type="text/javascript"
|
src="${ctx}/static/jquery/jquery-3.1.0.min.js"></script>
|
<script src="${ctx}/static/js/ng/tb-2.0.js" type="text/javascript"></script>
|
<title>领取任务</title>
|
<style>
|
.box table tr th, .box table tr td {
|
text-align: center;
|
}
|
|
.table>tbody>tr>td {
|
vertical-align: middle;
|
/* content:middle; */
|
text-align: center;
|
font-weight: bold;
|
font-size: 16px;
|
/* border: 1px solid green; */
|
}
|
|
.table>thead>tr>th {
|
font-weight: bold;
|
font-size: 20px;
|
text-align: center;
|
}
|
|
h1 {
|
display: inline;
|
}
|
|
.s-style {
|
font-size: 18px;
|
font-weight: bold;
|
}
|
|
.s-title {
|
font-size: 18px;
|
/*font-weight: bold;
|
text-align :center; */
|
vertical-align: middle;
|
text-align: center
|
}
|
|
.sel-style {
|
width: 200px;
|
font-size: 20px;
|
}
|
</style>
|
|
<script type="text/javascript">
|
$(document).ready(function(){
|
var info = $("#info").attr("info");
|
$("#infos").html(info);
|
});
|
|
function addload(id){
|
$.ajax({
|
async: false,
|
|
type:"GET",
|
|
url:"${ctx}/cutmanage/gottask?id="+id,
|
|
dataType:"text",
|
|
success:function(data){
|
|
}
|
});
|
|
|
|
}
|
|
function task(){
|
window.location.href="${ctx}/cutmanage/task";
|
|
}
|
|
function updatedengluname(){
|
$("#updatedengluname").modal('show');
|
|
}
|
function updatedengluname1(){
|
|
var groups=document.getElementsByName('groups')[0].value;
|
var dengluname=document.getElementById('dengluname').innerHTML;
|
$.ajax({
|
cache:false,
|
type:"POST",
|
dataType : "json",
|
url:"${ctx}/cutmanage/updatedengluname",
|
data:{
|
"groups":groups,
|
"username":dengluname,
|
},success:function(data){
|
window.location.href="${ctx}/cutmanage/gettask/"+groups;
|
}
|
});
|
}
|
var gongyi="磨边";
|
var group = ${groups};
|
</script>
|
</head>
|
<body style="padding: 20px;">
|
<!-- Content Wrapper. Contains page content -->
|
<div class="content-wrapper">
|
<input style="display: none" type="text" name="groups"
|
value="${groups}" />
|
<!-- Content Header (Page header) -->
|
<section class="content-header">
|
<h1>
|
领取 ${groups} 线任务
|
|
|
<small>当前班组:</small> <span id="s_current_banzu"
|
style="font-weight: bold;"></span>
|
<button id="btnBanZu" type='button' class='btn btn-primary '
|
onclick='onChangeBanZu()'>选择班组</button>
|
|
<!-- <button id="btnOffWork" type='button' class='btn btn-primary '
|
onclick='offWork()'>下班-报工提交</button>
|
-->
|
<button id="btnOffWork" type='button' class='btn btn-primary ' onclick='offWork()'>切割-产量</button>
|
|
|
<small>当前上片工位模式:</small>
|
|
<button id="btnStatcionMode" type='button' class='btn btn-primary' onclick='onChangeMode(${groups})' >单工位</button>
|
<small style='color:red'>(单击按钮切换工位模式)</small>
|
|
${app}
|
<button type="button"
|
onclick="{location.href='${ctx }/cutmanage/gettask/${line}'}"
|
class="btn btn-primary" id="app">领取 ${line} 号线任务</button>
|
<button type="button"
|
onclick="{location.href='${ctx }/cutmanage/lookOverStateTsaks/${line}'}"
|
class="btn btn-primary" id="app">查看近期完成任务</button>
|
<small>共 <strong
|
style="color: black">${total}</strong> 条数据
|
|
|
</small>
|
|
<%-- ${rawPackageslistname} --%>
|
</h1>
|
|
<ol class="breadcrumb">
|
<li><a href="${ctx }/shelfmanager/taskimport"><i
|
class="fa fa-reply"></i>任务</a></li>
|
<li class="active">详情</li>
|
|
</ol>
|
</section>
|
|
<div id="allstatu" allstatu="${allstatu}"></div>
|
<div id="info" info="${info}"></div>
|
|
<div>
|
|
<!-- Main content -->
|
<section class="content container-fluid">
|
<div class="box box-default" style="background-color: #D5EAFF;">
|
|
<!-- /.box-header -->
|
<div class="box-body" style="height: 600px; overflow-y: auto;">
|
<table class="table table-striped table-hover"
|
style="font-size: 18px;" id="example2">
|
<thead>
|
<tr>
|
<th style="width: 80px;">序号</th>
|
<th style="width: 100px;">ID</th>
|
<th style="width: 200px;">工程号</th>
|
<th style="width: 120px;">订单总数</th>
|
<th style="width: 120px;">原片总数</th>
|
<th style="width: 200px;">状态</th>
|
<th style="width: 300px;">操作</th>
|
</tr>
|
</thead>
|
<tbody>
|
|
<tr>${rawPackageslist}
|
</tr>
|
|
</tbody>
|
</table>
|
</div>
|
</div>
|
</section>
|
</div>
|
|
<%@ include file="/WEB-INF/views/mes/view/modal_banzu.jsp"%>
|
<%@ include file="/WEB-INF/views/mes/view/modal_tishi.jsp"%>
|
<%@ include file="/WEB-INF/views/mes/view/modal_QG_tijiaobaogong.jsp"%>
|
<%-- <%@ include file="/WEB-INF/views/mes/view/modal_tijiaobaogong.jsp"%> --%>
|
</div>
|
<%@ include file="/WEB-INF/views/mes/view/modal_js_gongwei_mode.jsp" %>
|
<!-- /.content -->
|
<!-- /.content-wrapper -->
|
<!-- page script -->
|
|
|
|
</body>
|
</html>
|