1
zrg
2024-06-08 d15c5f19c82cad175d8098540bf96c7ec9ac7ed3
WebTM/views/É豸¹ÜÀí/Sb_EqpMaintenanceBill_PDA.html
@@ -163,7 +163,7 @@
                                            </td>
                                        </tr>
                                        <tr>
                                            <th>部门</th>
                                            <th>部门<span style=" color:red">*</span></th>
                                            <td class="bz_td">
                                                <input type="text" name="HDeptName" class="layui-input" id="HDeptName" placeholder="选择部门" style="background-color:#efefef4d;">
                                                <input type="hidden" name="HDeptID" id="HDeptID" value="0" autocomplete="off" class="layui-input">
@@ -171,7 +171,7 @@
                                            </td>
                                        </tr>
                                        <tr>
                                            <th>维修人</th>
                                            <th>维修人<span style=" color:red">*</span></th>
                                            <td class="bz_td">
                                                <input type="text" name="HEmpName" class="layui-input" id="HEmpName" placeholder="选择维修人" style="background-color:#efefef4d;">
                                                <input type="hidden" name="HEmpID" id="HEmpID" value="0" autocomplete="off" class="layui-input">
@@ -179,7 +179,7 @@
                                            </td>
                                        </tr>
                                        <tr>
                                            <th>维修项目</th>
                                            <th>维修项目<span style=" color:red">*</span></th>
                                            <td class="bz_td">
                                                <input type="text" name="HRepair" class="layui-input" id="HRepair" placeholder="选择维修项目" style="background-color:#efefef4d;">
                                                <input type="hidden" name="HRepairID" id="HRepairID" value="0" autocomplete="off" class="layui-input">
@@ -203,7 +203,7 @@
                                            </td>
                                        </tr>
                                        <tr>
                                            <th>故障登记单</th>
                                            <th>故障登记单<span style=" color:red">*</span></th>
                                            <td class="bz_td">
                                                <input type="text" name="HMainSourceBillNo" class="layui-input" id="HMainSourceBillNo" placeholder="选择故障登记单" style="background-color:#efefef4d;">
                                                <input type="hidden" name="HMainSourceInterID" id="HMainSourceInterID" value="0" autocomplete="off" class="layui-input">
@@ -212,7 +212,7 @@
                                            </td>
                                        </tr>
                                        <tr>
                                            <th>负责人</th>
                                            <th>负责人<span style=" color:red">*</span></th>
                                            <td class="bz_td">
                                                <input type="text" name="HManagerName" class="layui-input" id="HManagerName" placeholder="选择负责人" style="background-color:#efefef4d;">
                                                <input type="hidden" name="HManagerID" id="HManagerID" value="0" autocomplete="off" class="layui-input">
@@ -851,10 +851,26 @@
            }
            //非空验证
            function AllowLoadData(sSubStr) {
                if ($("#HDeptID").val() == 0) {
                    layer.msg("部门没有选择!", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                    return;
                }
                if ($("#HEmpID").val() == 0) {
                    layer.msg("维修人没有选择!", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                    return;
                }
                if ($("#HRepairID").val() == 0) {
                    layer.msg("维修项目没有选择!", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                    return;
                }
                if ($("#HMainSourceInterID").val() == 0) {
                    layer.msg("故障登记单没有选择!", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                    return;
                }
                if ($("#HManagerID").val() == 0) {
                    layer.msg("负责人没有选择!", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                    return;
                }
                if (typeof (sSubStr) == "undefined" || sSubStr == "" || sSubStr == "[]") {
                    layer.msg("没有设备明细记录", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });