admin
2024-01-10 7f291910791bdb9a545dc12ef36c3c359cfa4e59
提交 | 用户 | 时间
71e81e 1 @layout("/common/_form.html",{js:["/assets/modular/em/equipmentMaintainTask/equipmentMaintainTask_add.js"],css:["/assets/expand/module/formSelects/formSelects-v4.css"]}){
2
3 <form class="layui-form" id="equipmentMaintainTaskForm" lay-filter="equipmentMaintainTaskForm">
4     <div class="layui-fluid" style="padding-bottom: 75px;">
5         <div class="layui-card">
6             <div class="layui-card-header">基本信息</div>
7             <div class="layui-card-body">
8                 <div class="layui-form-item layui-row">
9                     <input name="id" type="hidden"/>
10                     <input id="materialList" hidden/>
11
12
13                     <div class="layui-inline layui-col-md4">
14                         <label class="layui-form-label">设备编号<span style="color: red;">*</span></label>
15                         <div class="layui-input-block">
16                             <input id="equipmentNo" name="equipmentNo" placeholder="请输入设备编号" type="text" class="layui-input" lay-verify="required" required/>
17                         </div>
18                     </div>
19                     <div class="layui-inline layui-col-md4">
20                         <label class="layui-form-label">设备名称<span style="color: red;">*</span></label>
21                         <div class="layui-input-block">
22                             <input id="equipmentName" name="equipmentName" placeholder="请输入设备名称" type="text" class="layui-input" lay-verify="required" required/>
23                         </div>
24                     </div>
25                     <div class="layui-inline layui-col-md4">
26                         <label class="layui-form-label">任务编号<span style="color: red;">*</span></label>
27                         <div class="layui-input-block">
28                             <input id="taskNo" name="taskNo" placeholder="请输入任务编号" type="text" class="layui-input" lay-verify="required" required/>
29                         </div>
30                     </div>
31                     <div class="layui-inline layui-col-md4">
32                         <label class="layui-form-label">计划编号<span style="color: red;">*</span></label>
33                         <div class="layui-input-block">
34                             <input id="planNo" name="planNo" placeholder="请输入计划编号" type="text" class="layui-input" lay-verify="required" required/>
35                         </div>
36                     </div>
37                     <div class="layui-inline layui-col-md4">
38                         <label class="layui-form-label">计划名称<span style="color: red;">*</span></label>
39                         <div class="layui-input-block">
40                             <input id="planName" name="planName" placeholder="请输入计划名称" type="text" class="layui-input" lay-verify="required" required/>
41                         </div>
42                     </div>
43                     <div class="layui-inline layui-col-md4">
44                         <label class="layui-form-label">保养类别<span style="color: red;">*</span></label>
45                         <div class="layui-input-block">
46                             <input id="maintainType" name="maintainType" placeholder="请输入保养类别(日常保养、一级保养、二级保养、三级保养)" type="text" class="layui-input" lay-verify="required" required/>
47                         </div>
48                     </div>
49                     <div class="layui-inline layui-col-md4">
50                         <label class="layui-form-label">保养状态<span style="color: red;">*</span></label>
51                         <div class="layui-input-block">
52                             <input id="maintainState" name="maintainState" placeholder="请输入保养状态(待保养、保养中、已保养)" type="text" class="layui-input" lay-verify="required" required/>
53                         </div>
54                     </div>
55                     <div class="layui-inline layui-col-md4">
56                         <label class="layui-form-label">保养结果<span style="color: red;">*</span></label>
57                         <div class="layui-input-block">
58                             <input id="maintainResult" name="maintainResult" placeholder="请输入保养结果(通过、不通过)" type="text" class="layui-input" lay-verify="required" required/>
59                         </div>
60                     </div>
61                     <div class="layui-inline layui-col-md4">
62                         <label class="layui-form-label">保养描述<span style="color: red;">*</span></label>
63                         <div class="layui-input-block">
64                             <input id="reason" name="reason" placeholder="请输入保养描述" type="text" class="layui-input" lay-verify="required" required/>
65                         </div>
66                     </div>
67                     <div class="layui-inline layui-col-md4">
68                         <label class="layui-form-label">保养价格<span style="color: red;">*</span></label>
69                         <div class="layui-input-block">
70                             <input id="maintainPrice" name="maintainPrice" placeholder="请输入保养价格" type="text" class="layui-input" lay-verify="required" required/>
71                         </div>
72                     </div>
73                     <div class="layui-inline layui-col-md4">
74                         <label class="layui-form-label">外部保养<span style="color: red;">*</span></label>
75                         <div class="layui-input-block">
76                             <input id="externalMaintain" name="externalMaintain" placeholder="请输入外部保养(是、否)" type="text" class="layui-input" lay-verify="required" required/>
77                         </div>
78                     </div>
79                     <div class="layui-inline layui-col-md4">
80                         <label class="layui-form-label">保养人<span style="color: red;">*</span></label>
81                         <div class="layui-input-block">
82                             <input id="maintainUser" name="maintainUser" placeholder="请输入保养人" type="text" class="layui-input" lay-verify="required" required/>
83                         </div>
84                     </div>
85                     <div class="layui-row">
86                         <div class="layui-inline" style="margin-bottom: 10px">
87                             <button id="btnAdds" type="button" class="layui-btn icon-btn"><i class="layui-icon">&#xe654;</i>保养内容配置
88                             </button>
89                         </div>
90                     </div>
91                     <table class="layui-table" id="eqConfTable" lay-filter="eqConfTable"></table>
92 <!--                    <div class="layui-inline layui-col-md12">-->
93 <!--                        <label class="layui-form-label">预留字段1<span style="color: red;">*</span></label>-->
94 <!--                        <div class="layui-input-block">-->
95 <!--                            <input id="spareField1" name="spareField1" placeholder="请输入预留字段1" type="text" class="layui-input" lay-verify="required" required/>-->
96 <!--                        </div>-->
97 <!--                    </div>-->
98 <!--                    <div class="layui-inline layui-col-md12">-->
99 <!--                        <label class="layui-form-label">预留字段2<span style="color: red;">*</span></label>-->
100 <!--                        <div class="layui-input-block">-->
101 <!--                            <input id="spareField2" name="spareField2" placeholder="请输入预留字段2" type="text" class="layui-input" lay-verify="required" required/>-->
102 <!--                        </div>-->
103 <!--                    </div>-->
104 <!--                    <div class="layui-inline layui-col-md12">-->
105 <!--                        <label class="layui-form-label">保养时间<span style="color: red;">*</span></label>-->
106 <!--                        <div class="layui-input-block">-->
107 <!--                            <input id="finishTime" name="finishTime" placeholder="请输入保养时间" type="text" class="layui-input" lay-verify="required" required/>-->
108 <!--                        </div>-->
109 <!--                    </div>-->
110 <!--                    <div class="layui-inline layui-col-md12">-->
111 <!--                        <label class="layui-form-label">保养日期<span style="color: red;">*</span></label>-->
112 <!--                        <div class="layui-input-block">-->
113 <!--                            <input id="maintainTime" name="maintainTime" placeholder="请输入保养日期" type="text" class="layui-input" lay-verify="required" required/>-->
114 <!--                        </div>-->
115 <!--                    </div>-->
116 <!--                    <div class="layui-inline layui-col-md4">-->
117 <!--                        <label class="layui-form-label">备注<span style="color: red;">*</span></label>-->
118 <!--                        <div class="layui-input-block">-->
119 <!--                            <input id="remarks" name="remarks" placeholder="请输入备注" type="text" class="layui-input" lay-verify="required" required/>-->
120 <!--                        </div>-->
121 <!--                    </div>-->
122                 </div>
123             </div>
124         </div>
125     </div>
126     <div class="form-group-bottom text-center">
127         <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
128         <button id="cancel" type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
129     </div>
130
131 </form>
132 <script type="text/html" id="tableBar">
133     <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
134 </script>
135
136 @}