严智鑫
2024-05-13 cedce4883f0d204f5bf7bf87c0bf4858dabb0c23
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
 
<html>
<head>
<script type="text/javascript"
    src="${ctx}/static/jquery/jquery-3.1.0.min.js"></script>
<title>架卡界面</title>
<style>
 
        #box{
        
            over-flow:hidden;
        }
        *{
            margin: 0px auto;
        }
        #content{
            width: 96%;
            overflow: hidden;
        }
        #tabbox{
            width: 100%;
            border-collapse: collapse;
            text-align: center;
        }
        #tabbox tr td{
             height:25px;
             line-height:25px;
         }
        .tdcont{
            width: 38px;
        }
        .flttr td{
            line-height: 24px;
            height: 50px;
        }
        .flttr label{
            float: left;
            position: relative;
            left: 2px;
            font-weight:normal;
        }
    </style>
<script type="text/javascript">
    var interval = setInterval('refreshStatus()', 60000);
    
    // 设备页面自动刷新
    function refreshStatus() {
        window.location.reload();
    }
    
    // 停止页面自动刷新
    function disableAutoRefresh() {
        clearInterval(interval);
    }
    
    
    function doPrint() {
      $("#box").css("width","210mm");
      $("#box").css("height","297mm");
      bdhtml=window.document.body.innerHTML;   
      sprnstr="<!--startprint-->";   
      eprnstr="<!--endprint-->";   
      prnhtml=bdhtml.substr(bdhtml.indexOf(sprnstr)+17);   
      prnhtml=prnhtml.substring(0,prnhtml.indexOf(eprnstr));   
      window.document.body.innerHTML=prnhtml;  
      window.print();
    
  }   
</script>
</head>
<body>
    <div id="box" class="content-wrapper">
    <section class="content-header">
            <h1><a href="#" type='botton' style="float:left;" class='btn btn-success' onclick="doPrint()">打印架卡</a></h1>
            <ol class="breadcrumb">
                <li><a href="#">设备<i class="fa fa-dashboard"></i>架卡
                </a></li>
            </ol>
            
        </section>
    <!--startprint-->
    <div id="content">
        <h2 style="text-align: center;font-weight: normal;">鹤山恒保产品流程记录表</h2>
        <div style="width: 100%;height: 30px;position: relative;top: 10px;">
            <span style="margin-left: 10px;width:25%;">客户:&nbsp;&nbsp;&nbsp;${custormer}</span>
            <span style="margin-left: 18px;width:16%;">合同号:&nbsp;&nbsp;&nbsp;${apartid}</span>
            <span style="margin-left: 18px;width:16%;">色厚:&nbsp;&nbsp;&nbsp;${thickness}&nbsp;${color}</span>
             <span style="margin-left: 20px;width:10%;">架号:&nbsp;&nbsp;${rank}&nbsp;</span>
            <span style="margin-left: 22px;width:15%;">单号:&nbsp;&nbsp;<b>${ordernum}</b> </span>
        </div>
        <div style="margin-top: 10px;"></div>
        <table id="tabbox" border="1">
            <tr>
                <td style="height:28px;line-height: 28px;width: 40px;">工艺流程</td>
                <td colspan="2"></td>
                <td colspan="2"></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td style="height: 56px;line-height: 28px;">班组</td>
                <td colspan="2"></td>
                <td colspan="2"></td>
                <td></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
            <tr>
                <td>序号</td>
                <td>成品名称</td>
                <td class="tdcont">数量</td>
                <td class="tdcont">数量</td>
                <td>成品规格</td>
                <td>数量</td>
                <td>数量</td>
                <td>数量</td>
                <td>数量</td>
            </tr>
               ${allGlasseshtml}
            <tr style="width: 100%;font-size: 12px;text-align:left;"  class="flttr">
                 <td rowspan="9" colspan="3">
                                         &nbsp; 交接记录<br/>
                                         &nbsp; 本工序<br/>
                                         &nbsp; 备注:<br/><br/>
                                         &nbsp; 日期
                </td>
                <td rowspan="9" colspan="2">
                          &nbsp; 交接记录<br/>
                                         &nbsp; 本工序<br/>
                                         &nbsp; 备注:<br/><br/>
                                         &nbsp; 日期
                </td>
                <td rowspan="9">
                           &nbsp; 交接记录<br/>
                                         &nbsp; 本工序<br/>
                                         &nbsp; 备注:<br/><br/>
                                         &nbsp; 日期
                </td>
                <td rowspan="9">
                            &nbsp; 交接记录<br/>
                                         &nbsp; 本工序<br/>
                                         &nbsp; 备注:<br/><br/>
                                         &nbsp; 日期
                </td>
                <td rowspan="9">
                             &nbsp; 交接记录<br/>
                                         &nbsp; 本工序<br/>
                                         &nbsp; 备注:<br/><br/>
                                         &nbsp; 日期
                </td>
                <td rowspan="9">
                          &nbsp; 交接记录<br/>
                                         &nbsp; 本工序<br/>
                                         &nbsp; 备注:<br/><br/>
                                         &nbsp; 日期
                </td>
            </tr>
            
        </table>
        <p>此表已切割好的玻璃加工工序往下流转,各班班长清点接收数量及产品质量情况并如实记录,完工后随产品进仓库,发货后回生产调度员处保存.此表与生产指令单配合使用</p>
        
    </div>
    <!--endprint--> 
    </div>
    
</body>
</html>