yangle
2022-08-08 d71ab44ea0f9e29a5fe3a164e0c12583811a3918
WebTM/views/É豸¹ÜÀí/É豸µµ°¸/Gy_EquipFileMainEdit.html
@@ -848,7 +848,7 @@
                        $("#HUnitName").val(d.data[0].单位);
                        $("#HEquipFileTypeID").val(d.data[0].HEquipFileTypeID);
                        $("#HEquipFileTypeName").val(d.data[0].设备类型);
                        $("#HOutComDate").val(d.data[0].设备出厂日期);
                        $("#HOutComDate").val(formatDate(d.data[0].设备出厂日期));
                        $("#HSellSupID").val(d.data[0].HSellSupID);
                        $("#HSellSupName").val(d.data[0].供应商);
                        $("#HMakeSupID").val(d.data[0].HMakeSupID);
@@ -860,8 +860,8 @@
                        $("#HRepairEmpID").val(d.data[0].HRepairEmpID);
                        $("#HRepairEmpName").val(d.data[0].维护负责人);
                        $("#HAddress").val(d.data[0].安装地点);
                        $("#HSetupDate").val(d.data[0].安装日期);
                        $("#HStartupDate").val(d.data[0].运行开始日期);
                        $("#HSetupDate").val(formatDate(d.data[0].安装日期));
                        $("#HStartupDate").val(formatDate(d.data[0].运行开始日期));
                        $("#HStatus").val(d.data[0].当前状态);
                        $("#HEquipDotCheckRuleInterID").val(d.data[0].HEquipDotCheckRuleInterID);
                        $("#HEquipDotCheckRuleInterName").val(d.data[0].默认点检规程);
@@ -912,15 +912,13 @@
                        dataType: "json",
                        success: function (data) {
                            if (data.count == 1) {
                                layer.msg(data.Message, { time: 1 * 1000, icon: 1 }, function () {
                                layer.msg(data.Message, { time: 1 * 10000, icon: 1 }, function () {
                                    if (linterid == undefined) {
                                        $('#btnSave').addClass("layui-btn-disabled").attr("disabled", true);
                                        var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
                                        parent.layer.close(index); //再执行关闭
                                        location.reload();
                                    }
                                    else {
                                        var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
                                        parent.layer.close(index); //再执行关闭
                                        location.reload();
                                    }
                                });
                            }
@@ -949,10 +947,10 @@
                                layer.msg(data.Message, { time: 1 * 1000, icon: 1 }, function () {
                                    if (linterid == undefined) {
                                        $('#btnSave').addClass("layui-btn-disabled").attr("disabled", true);
                                        location.reload();
                                    }
                                    else {
                                        var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引
                                        parent.layer.close(index); //再执行关闭
                                        location.reload();
                                    }
                                });