南骏 池
2024-12-14 a6e5d667123496f0129c8e7c3d930c46e7a46ba1
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
 
<!doctype html>
<html>
 
    <head>
        <meta charset="UTF-8">
        <title>工序报工</title>
        <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <!-- <link href="../../lib/mui/css/mui.min.css" rel="stylesheet" />
        <!--<link rel="stylesheet" href="../../lib/base_js/css/common.css" />-->
        <script type="text/javascript" src="../../lib/jquery/js/jquery.min.js"></script>
        <script type="text/javascript" src="../../lib/easyui/js/jquery.easyui.min.js" ></script> 
        <script type="text/javascript" src="../../lib/base_js/js/PageCommonQuote.js"></script>
        <script src="../../lib/mui/js/mui.min.js"></script>
        <link href="../../lib/mui/css/mui.picker.min.css" rel="stylesheet" />
        <link href="../../lib/mui/css/mui.poppicker.css" rel="stylesheet" />
        <script src="../../lib/mui/js/mui.picker.min.js"></script>
        <script src="../../lib/mui/js/mui.poppicker.js"></script>        
         <script type="text/SetInputFoucsjavascript" src="../../lib/base_js/js/common.js" ></script>
        <script type="text/javascript" src="../../lib/base_js/js/app.js"></script>
        
        <script type="text/javascript" src="../../lib/base_js/js/common.js" ></script>
        
         
        <link rel="stylesheet" href="../../lib/base_js/css/common.css" />
        <style>
            #info {
                /*查询信息属性*/
                background-color: #FFE48D;
            }
        </style>
 
    </head>
 
    <body>
        <div class="mui-input-group mui-content" onclick="SetInputFoucs('#DAB001')">
            <!-- <div class="mui-input-row  ">
                <div style=" float: left; ">
                    <label class="row-title">人员</label>
                    <input class="row-content-split" type="text" name="txtBillNo" id="txtBillNo" placeholder="请选择报工人员"readonly="readonly">
                </div>            
            </div> -->
            <div class="mui-input-row" id="row001">
                <label>人员编码</label>
                <input id="txtBillNoN" type="text" value="" class="mui-input-clear text-color" placeholder="请扫描人员码" onkeypress="GetBarInfoT()" />
            </div>
            <div class="mui-input-row" id="row001">
                <label>人员名称</label>
                <input id="txtBillNo" type="text" value="" class="mui-input-clear text-color" readonly="readonly" onkeypress="GetBarInfoT()" />
            </div>
            <div class="mui-input-row" id="row001">
                <label>工序</label>
                <input id="txtGX" type="text" value="" class="mui-input-clear text-color" onkeypress="GetBarGX()"  />
            </div>
            <div class="mui-input-row" id="row001">
                <label>合并工单</label>
                <input id="txtHBGD" type="text" value="" class="mui-input-clear text-color" placeholder="请扫描合并工单" onkeypress="GetBarInfo()" />
            </div>
            <div class="mui-input-row" id="row001">
                <label>报工数量</label>
                <input id="txtSL" type="text" value="" class="mui-input-clear text-color"  onkeypress="HBBG()" />
            </div>
            <div id="txtInfo"><!--<div class="mui-input-row" style="height: 350px; margin-top: 10px;">-->
                <div class="link-area" id="div001">
                    <h4 style="color: #008000; text-align: center;">
                        已报工明细
                        <!-- <span id="dgWOMDAG-sum" class="mui-badge mui-badge-success easyui-draggable"
                            style="font-size: 15px;" data-options="onStopDrag:onStopDrag">0</span> -->
                    </h4>
                </div>
            </div>
            <div class="data-table-container" style="height: 100%; width: 100%;">
              <table class="data-table" id="myTable" style="height: 100%; width: 100%;">
                <!-- 表格代码 -->
                <table class="data-table" id="myTable" style="height:100% width: 100%;;">
                  <thead>
                    <tr>
                      <th>指令工单</th>
                      <th>工序名称</th>
                      <th>报工数量</th>
                      <th>生产人员</th>
                      <th>报工时间</th>
                    </tr>
                  </thead>
                  <tbody>
                    <!-- 表格内容将通过 JS 动态生成 -->
                  </tbody>
                </table>
              </table>
            </div>
 
                
        
        </div>
        <script type="text/javascript" src="../../js/CangKuManage_js/GS_GXBG_HBN.js" ></script>
    </body> 
 
</html>
<style>
          /* 添加表格样式 */
          .data-table {
            width: 100%;
            border-collapse: collapse;
            overflow-x: auto; /* 水平滚动条 */
          }
          
        
          .data-table th,
          .data-table td {
            border: 1px solid #ccc;
            padding: 3px;
            text-align: left;
            word-wrap: break-word;
            white-space: pre-wrap;
            text-overflow: ellipsis; /* 文本截断和省略号 */
            overflow: hidden;
            font-size: 10px;
          }
          
          /* 媒体查询 */
          @media (max-width: 768px) {
            .data-table {
              /* 调整表格样式以适应小屏幕 */
            }
          }
          
           option {
               font-size: 25px; /* 调整下拉选项的字体大小 */
               padding: 20px; /* 调整下拉选项的内边距 */
             }
        </style>