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
<%@ 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">
        $.loadComboboxData($("#matProd1"),"MATPROD",false);
        $.loadComboboxData($("#shift1"),"SHIFT",false);
        $.loadComboboxData($("#team1"),"TEAM",false);
        $.loadComboboxData($("#eqps"),"ALLEQPS",false);
        $.loadComboboxData($("#unit"),"UNIT",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">
        <form id="form" method="post">
            <fieldset>
                <legend>工单基本信息</legend>
                <table class="table" style="width: 100%;">
                    <tr>
                        <th>工单号</th>
                        <td>
                            <input name="workOrderCode"  class="easyui-validatebox" style="width:123px"/>
                        </td>
                        <th>设备</th>
                        <td>
                            <input id="eqps" name="eqpId" class="easyui-combobox easyui-validatebox" data-options="textField:'name',valueField:'id',editable:false,width:130,required:false"/>
                            <!-- <input type="text" id="eqps" name="equipmentId" class="easyui-combobox easyui-validatebox" data-options="textField:'name',valueField:'id',width:130,editable:false"/> -->
                        </td>
                        <th>牌号</th>
                        <td>
                            <select id="matProd1" name="materialCode" data-options="panelHeight:'auto',width:130,editable:false,required:true"></select>
                        </td>
                    </tr>
                    <tr>
                        <th>日期</th>
                        <td>
                            <input name="qstim" type="text" class="easyui-my97" datefmt="yyyy-MM-dd" style="width:130px"/>
                        </td>
                        <th>班次</th>
                        <td>
                            <select id="shift1" name="shift" data-options="panelHeight:'auto',width:130,editable:false,required:true"></select>
                        </td>
                        <th>班组</th>
                        <td>
                            <select id="team1" name="team" data-options="panelHeight:'auto',width:130,editable:false,required:true"></select>
                        </td>
                    </tr>
                    <tr>
                        <th>批次号</th>
                        <td>
                            <input name="batchCode"  class="easyui-validatebox" style="width:123px"/>
                            <input name="orderType"  type="hidden" style="width:123px" value="1"/>
                            
                            
                        </td>
                        <th>生产类型</th>
                        <td>
                            <select name="productType"
                                class="easyui-combobox"
                                data-options="panelHeight:'auto',editable:false,width:130">
                                <option value="1">正式生产</option>
                                <option value="2">中试生产</option>                        
                            </select>
                        
                        <th>状态</th>
                        <td>
                            <select name="sts"
                                class="easyui-combobox"
                                data-options="panelHeight:'auto',editable:false,width:130">
                                <!-- 1,下发2,运行3,暂停4,完成,5,终止,6结束 -->
                                <option value="1">下发</option>
                                <option value="2">运行</option>
                                <option value="3">暂停</option>
                                <option value="4">完成</option>                            
                                <option value="5">终止</option>                            
                                <option value="6">结束</option>                            
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <th>计划产量</th>
                        <td>
                            <input name="planQuantity"  class="easyui-validatebox" style="width:70px"/>
                            <select id="unit" name="unit" data-options="panelHeight:200,width:50,panelWidth:120,editable:false,required:true"></select>
                        </td>
                        <th>开始时间</th>
                        <td>
                            <input name="stim" type="text" class="easyui-my97" datefmt="yyyy-MM-dd HH:mm:ss" style="width:130px"/>
                        </td>
                        <th>结束时间</th>
                        <td>
                            <input name="etim" type="text" class="easyui-my97" datefmt="yyyy-MM-dd HH:mm:ss" style="width:130px"/>
                        </td>
                    </tr>
                </table>
            </fieldset>
        </form>
    </div>
</div>