zhuguifei
2026-03-10 2c1fd10c6fbabb8e9f0e9f07fe66fb36c008e883
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
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!-- 用户新增 -->
<script type="text/javascript" src="${pageContext.request.contextPath }/pms/pub/combobox/comboboxUtil.js" charset="utf-8"></script>
<script type="text/javascript">
$(function(){
    $.loadComboboxData($("#eqp"),"ALLROLLERS",true);
});
$(function(){
    //根据设备填充工单信息
    $("#eqp").combobox({
        onChange:function(param){
            $.ajax({
                type : "post",
                async : true,
                url : "${pageContext.request.contextPath}/pms/selfCheckStrip/queryOrderNumber.do",
                data : {eqp:param},
                dataType : "JSON",
                success : function(result) {
                    if(result !=null && result.length != 0){
                        $("#orderNumber").val(result[0].orderNumber);
                        $("#batchNo").val(result[0].batchNo);
                        $("#time").val(result[0].createTime);
                        $("#userName").val(result[0].userName);
                        $("#oid").val(result[0].oid);
                        $("#uid").val(result[0].uid);
                        $("#mat").val(result[0].mat);
                    }else{
                        $("#form input").val(null);
                        alert("该机台没有工单!");
                    }
                }
            });
        }
    })
});
</script>
<div class="easyui-layout" data-options="fit:true,border:false">
    <div data-options="region:'center',border:false" title="" style="overflow: hidden;padding:5px">
        <form id="form" method="post" enctype = "multipart/form-data" >
           <input name="oid" id="oid" type="hidden"/>
           <input name="uid" id="uid" type="hidden"/>
           <input name="mat" id="mat" type="hidden"/>
           <input name="param" id="param" value="ysd" type="hidden"/>
            <fieldset>
                <legend>压实端数据录入</legend>
                <table class="table" style="width: 100%;">
                    <tr>
                        <th>机台</th>
                        <td>
                        <select id="eqp" name="eqp" class="easyui-combobox" data-options="panelHeight:'300',width:100,editable:false"></select>
                        </td>
                        <th>工单号</th>
                        <td>
                            <input type="text" name="orderNumber" id="orderNumber"/>
                        </td>
                    </tr>
                    <tr>
                    <th>批次号</th>
                        <td>
                         <input type="text" name="batchNo" id="batchNo" readonly="readonly"/>
                        </td>
                        <th>检测时间</th>
                        <td>
                            <input name="time" id="time" readonly="readonly">
                        </td>
                     </tr>    
                    <tr>
                        <th>检测人</th>
                        <td>
                            <input name ="userName"  id="userName" readonly="readonly"/>
                        </td>
                        <th>压实端位置</th>
                        <td>
                            <input name ="ysd"  id="ysd"/>
                        </td>
                    </tr>
                    <tr>
                        <th>烟支数</th>
                        <td>
                            <input name ="num"  id="num" value="40" <%--readonly="readonly"--%>/>
                        </td>
                    </tr>        
                </table>
            </fieldset>
        </form>
        <s:debug/>
    </div>
</div>