zhuguifei
2026-03-10 58402bd5e762361363a0f7d7907153c77dbb819f
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
<%@ 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($("#shiftId"),"SHIFT",false);
        $.loadComboboxData($("#eqpId"),"ALLROLLERS",false);
        $("#eqptype").on('change',function(){
            var selectText = $(this).find('option:selected').text();
            console.log(selectText);
            if(selectText=="卷接机组"){
                $.loadComboboxData($("#eqpId"),"ALLROLLERS",false);
            }else if(selectText=="包装机组"){
                $.loadComboboxData($("#eqpId"),"ALLPACKERS",false);
            }else if(selectText=="成型机组"){
                $.loadComboboxData($("#eqpId"),"ALLFILTERS",false);
            }
 
        })
    });
</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="actualDate" type="text" class="easyui-my97" datefmt="yyyy-MM-dd" style="width:130px"/>
                        </td>
                    </tr>
                    <tr>
                        <th>结束日期</th>
                        <td>
                            <input name="actualDateEnd" type="text" class="easyui-my97" datefmt="yyyy-MM-dd" style="width:130px"/>
                        </td>
                    </tr>
                    <tr>
                        <th><span class="label">班次</span></th>
                        <td>
                            <select id="shiftId" name="shiftId" class="easyui-combobox" data-options="panelHeight:'auto',width:130,editable:false,required:true,multiple:true">
                            </select>
                        </td>
                    </tr>
                    <tr>
                    <tr>
                        <th><span class="label">设备类型:</span></th>
                        <td><select id="eqptype" name="eqptype" data-options="panelHeight:'auto',width:130,editable:false,required:true">
                                <option value="4028998349c6880e0149c688e9fb0001">卷接机组</option>
                                <option value="4028998349c6880e0149c688e9fb0000">包装机组</option>
                                <option value="4028998349c6880e0149c688e9fb0003">成型机组</option>
                            </select></td>
 
                    </tr>
                    <tr>
                        <th><span class="label">机台</span></th>
                        <td>
                            <select id="eqpId" name="eqpId" class="easyui-combobox" data-options="panelHeight:'100',width:130,editable:false,multiple:true">
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <th>停机内容</th>
                        <td>
                            <select name="content" class="easyui-combobox" data-options="panelHeight:'100',width:130,editable:false,required:true,multiple:true">
                                 <option value="日常保养">日常保养</option>
                                 <option value="停电">停电</option>
                                 <option value="停气">停气</option>
                                 <option value="用餐">用餐</option>
                                 <option value="生产准备">生产准备</option>
                                 <option value="换牌">换牌</option>
                                 <option value="轮保">轮保</option>
                                 <option value="外部供保">外部供保</option>
                                 <option value="等烟丝">等烟丝</option>
                                 <option value="等烟支">等烟支</option>
                                 <option value="月终提前">月终提前</option>
                                 <option value="测试">测试</option>
                                 <option value="中试">中试</option>
                                 <option value="生产样品烟">生产样品烟</option>
                                 <option value="剔除转班晚班时间">剔除转班晚班时间</option>
                                 <option value="等配件时间">等配件时间</option>
                                 <option value="等材料时间">等材料时间</option>
                                 <option value="其它">其它</option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <th>停机时间(分)</th>
                        <td>
                            <input id="num" name="num" type="text" style="width:130px" class="easyui-numberspinner" required="required"/>
                        </td>
                    </tr>
                    <tr>
                        <th>备注</th>
                        <td>
                            <input id="free" name="free" data-options="panelHeight:'auto',width:130,editable:false,required:true" value=""/>
                        </td>
                    </tr>
                    <tr>
                        <th>启用状态</th>
                        <td>
                            <select name="free1" class="easyui-combobox" data-options="panelHeight:'100',width:130,editable:false,required:true">
                                 <option value="1">启用</option>
                                 <option value="0">禁用</option>
                            </select>
                        </td>
                    </tr>
                </table>
            </fieldset>
        </form>
    </div>
</div>