1
zrg
2024-06-08 d15c5f19c82cad175d8098540bf96c7ec9ac7ed3
WebTM/views/É豸¹ÜÀí/Sb_EquipRepairCheckBill_PDA.html
@@ -111,7 +111,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">
@@ -119,7 +119,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">
@@ -127,7 +127,7 @@
                                            </td>
                                        </tr>
                                        <tr>
                                            <th>验证项目</th>
                                            <th>验证项目<span style=" color :red">*</span></th>
                                            <td class="bz_td">
                                                <input type="text" name="HRepairCheckMainName" class="layui-input" id="HRepairCheckMainName" placeholder="选择验证项目" style="background-color:#efefef4d;">
                                                <input type="hidden" name="HRepairCheckMainID" id="HRepairCheckMainID" value="0" autocomplete="off" class="layui-input">
@@ -135,7 +135,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">
@@ -819,6 +819,24 @@
            }
            //非空验证
            function AllowLoadData(sSubStr) {
                if ($("#HManagerID").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 ($("#HRepairCheckMainID").val() == 0) {
                    layer.msg("验收项目没有选择!", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                    return;
                }
                if ($("#HDeptID").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: "温馨提示" });
                    return false;