| | |
| | | $("#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); |
| | |
| | | $("#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].é»è®¤ç¹æ£è§ç¨); |
| | |
| | | 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(); |
| | | } |
| | | }); |
| | | } |
| | |
| | | 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(); |
| | | } |
| | | |
| | | }); |