cdk
2025-06-16 d27cd18610ef82671bc57151e86158d16877b5a3
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
 
<!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 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 src="../../lib/mui/js/mui.min.js"></script>
        <link href="../../lib/mui/css/mui.min.css" rel="stylesheet" />
        <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" >
            <!-- <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="txtSL" type="text" value="" class="mui-input-clear text-color"  onkeypress="GetBarInfoT()" />
            </div> -->
                <!-- <div class="mui-input-row" id="div002">
                    <div style="width:20%;float: left;">
                        <label style="width: 100%;float: left;">工单</label>
                    </div>
                    <div style="width: 45%;float: left;">
                        <input id="DAA001" type="text" value="" class="text-color" placeholder="请扫描工单" 
                            style="width: 100%;float: left;" onkeypress="GetStore()" />
                    </div>
                    <div style="width: 35%;float: left;" class="mui-checkbox mui-left">
                        <label style="width: 100%;float: left;">默认</label>
                        <input id="checkdefault" name="checkbox" value="Item1" type="checkbox">
                    </div>
                </div> -->
<!--                 <div class="mui-input-row" id="row001">
                    <label>条码</label>
                    <input id="DAB001" type="text" value="" class="mui-input-clear text-color" placeholder="请扫描条码" onkeypress="SCLL_Confrim()" />
                </div> -->
                <div class="mui-input-row" id="row001">
                    <label>指令工单</label>
                    <input id="txtGD" type="text" value="" class="mui-input-clear text-color"  placeholder="请扫描工单" onkeypress="GetBarInfoGD_confrim()"  />
                </div>        
                <tr>
                  <td class="quantity-cell">
                    <div class="center-content">
                      <button class="confirm-button" onclick="confirmQuantity()">确认领料</button>
                    </div>
                  </td>
                </tr>
                <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>
                                    </tr>
                                  </thead>
                                  <tbody>
                                    <!-- 表格内容将通过 JS 动态生成 -->
                                  </tbody>
                                </table>
                              </table>
                            </div>
                
        </div>
        <script type="text/javascript" src="../../js/CangKuManage_js/SCLL_Confrim.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; /* 调整下拉选项的内边距 */
             }
             
             
             .confirm-button {
               margin-top: 5px; /* 设置按钮与数量文本的垂直距离 */
               font-size: 15px; /* 设置按钮的字体大小 */
               padding: 5px 10px; /* 设置按钮的内边距 */
               background-color: #f0f0f0; /* 设置按钮的背景颜色 */
               border: none; /* 移除按钮的边框 */
               cursor: pointer; /* 设置鼠标样式为手型 */
                width: 150px;
             }
             
             .center-content {
               display: flex;
               justify-content: center;
               align-items: center;
               height: 100%;
             }
        </style>