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
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
<%@ 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($("#teamId"),"TEAM",false);
        $.loadComboboxData($("#eqpId"),"ALLROLLERS",false);
        var eqptype =   $("#eqptype option:selected") .text();
        if(eqptype == '卷接机组'){
            $('#tscore').show();
 
            $('#tmassDefect').show();
 
            $('#tnoInnerLine').hide();
            $('#tjkDefect').hide();
        }else if(eqptype == '成型机组'){
            $('#tscore').show();
            $('#tmassDefect').show();
            $('#tnoInnerLine').show();
            $('#tjkDefect').show();
 
 
        }
 
        $("#eqptype").combobox({
            onSelect: function () {
                console.info($("#eqptype").combobox('getText'));
                var selectText = $("#eqptype").combobox('getText');
                if(selectText=="卷接机组"){
                    $.loadComboboxData($("#eqpId"),"ALLROLLERS",false);
                    $('#tscore').show();
 
                    $('#tmassDefect').show();
 
                    $('#tnoInnerLine').hide();
                    $('#tjkDefect').hide();
                    $("#noInnerLine").val(null);
                    $("#jkDefect").val(null);
 
                }else if(selectText=="成型机组"){
                    $.loadComboboxData($("#eqpId"),"ALLFILTERS",false);
 
                    $('#tscore').show();
                    $('#tmassDefect').show();
                    $('#tnoInnerLine').show();
                    $('#tjkDefect').show();
 
 
 
                }
            }
        })
        /*$("#eqptype").on('change',function(){
            var selectText = $(this).find('option:selected').text();
            console.log(selectText);
 
            if(selectText=="卷接机组"){
                $.loadComboboxData($("#eqpId"),"ALLROLLERS",false);
                $('#tscore').show();
                $('#tprocessFault').show();
                $('#tmassDefect').show();
 
                $('#tnoInnerLine').hide();
                $('#tjkDefect').hide();
                $("#noInnerLine").val(null);
                $("#jkDefect").val(null);
 
            }else if(selectText=="成型机组"){
                $.loadComboboxData($("#eqpId"),"ALLFILTERS",false);
 
                $('#tscore').show();
                $('#tmassDefect').show();
                $('#tnoInnerLine').show();
                $('#tjkDefect').show();
 
                $('#tprocessFault').hide();
                $("#processFault").val(null);
 
 
            }
            
        })*/
    });
</script>
<div class="easyui-layout" data-options="fit:true,border:false">
    <div data-options="region:'center',border:false" title="" style="overflow: hidden;padding:5px; height:1000px;">
        <form id="form" method="post">
            <fieldset>
                <!-- <legend>添加</legend> -->
                <table class="table" style="width: 100%;">
                    <tr>
                        <th>日期</th>
                        <td>
                            <input name="dat" type="text" class="easyui-my97" datefmt="yyyy-MM-dd" style="width:130px"/>
                        </td>
                    </tr>
                    <tr>
                        <th><span class="label">班组</span></th>
                        <td>
                            <select id="teamId" name="team" class="easyui-combobox" data-options="panelHeight:'auto',width:130,editable:false,required:true">
                            </select>
                        </td>
                    </tr>
                    <tr>
                    <tr>
                        <th><span class="label">设备类型:</span></th>
                        <td><select id="eqptype"  name="eqpType"  class="easyui-combobox"   data-options="panelHeight:'auto',width:130,editable:false,required:true">
                            <option value="4028998349c6880e0149c688e9fb0001">卷接机组</option>
                            <option value="4028998349c6880e0149c688e9fb0003">成型机组</option>
                            </select></td>
                        
                    </tr>
                    <tr>
                        <th><span class="label">机台</span></th>
                        <td>
                            <select id="eqpId" name="eqp" class="easyui-combobox" data-options="panelHeight:'100',width:130,editable:false,required:true">
                            </select>
                        </td>
                    </tr>
                    <tr id="tscore">
                        <th>检验得分奖罚</th>
                        <td>
                            <input id="score" name="score" type="text" style="width:130px" class="easyui-validatebox" />
                        </td>
                    </tr>
                    <tr id="tprocessFault">
                        <th>工序过失奖罚</th>
                        <td>
                            <input id="processFault" name="processFault" type="text" style="width:130px" class="easyui-validatebox" />
                        </td>
                    </tr>
                    <tr id="tmassA">
                        <th>A类质量缺陷</th>
                        <td>
                            <input id="massA" name="massA" type="text" style="width:130px" class="easyui-validatebox"  />
                        </td>
                    </tr>
                    <tr id="tmassB">
                        <th>B类质量缺陷</th>
                        <td>
                            <input id="massB" name="massB" type="text" style="width:130px" class="easyui-validatebox"  />
                        </td>
                    </tr>
                    <tr id="tmassDefect">
                        <th>C/D类质量缺陷</th>
                        <td>
                            <input id="massDefect" name="massDefect" type="text" style="width:130px" class="easyui-validatebox"  />
                        </td>
                    </tr>
                <%--    <tr id="tnoInnerLine">
                        <th>无内粘线</th>
                        <td>
                            <input id="noInnerLine" name="noInnerLine" type="text" style="width:130px" class="easyui-validatebox"  />
                        </td>
                    </tr>
                    <tr id="tjkDefect">
                        <th>胶孔缺陷</th>
                        <td>
                            <input id="jkDefect" name="jkDefect" type="text" style="width:130px" class="easyui-validatebox"/>
                        </td>
                    </tr>--%>
 
                </table>
            </fieldset>
        </form>
    </div>
</div>