zrg
2024-09-25 1219311a5bf435e52a66379b7d97c24e6707de66
WebTM/views/É豸¹ÜÀí/É豸¹æ³Ìµ¥/Sb_EquipMaintainRuleEdit.html
@@ -53,13 +53,13 @@
                                                </div>
                                            </div>
                                            <div class="layui-inline">
                                                <label class="layui-form-label">保养安全天数</label>
                                                <label class="layui-form-label">保养安全天数<label style="color:red"> * </label></label>
                                                <div class="layui-input-inline">
                                                    <input type="text" name="HSafeDays" id="HSafeDays" class="layui-input" value="1">
                                                </div>
                                            </div>
                                            <div class="layui-inline">
                                                <label class="layui-form-label">保养预警天数</label>
                                                <label class="layui-form-label">保养预警天数<label style="color:red"> * </label></label>
                                                <div class="layui-input-inline">
                                                    <input type="text" name="HErrWarDays" id="HErrWarDays" class="layui-input" value="1">
                                                </div>
@@ -922,6 +922,14 @@
                    layer.msg("请输入保养周期", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                    return Result = false;
                }
                if ($("#HSafeDays").val() == '' || $("#HSafeDays").val() == null) {
                    layer.msg("保养安全天数不能为空", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                    return Result = false;
                }
                if ($("#HErrWarDays").val() == '' || $("#HErrWarDays").val() == null) {
                    layer.msg("保养预警天数不能为空", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                    return Result = false;
                }
                if (typeof (sSubStr) == "undefined" || sSubStr == "" || sSubStr == "[]") {
                    layer.msg("保养项明细记录不能为空", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                    return Result = false;