diff --git a/erp_web/pages/manage/plugin.html b/erp_web/pages/manage/plugin.html
index 53ca7148..84f41118 100644
--- a/erp_web/pages/manage/plugin.html
+++ b/erp_web/pages/manage/plugin.html
@@ -33,7 +33,7 @@
重置
@@ -364,6 +364,27 @@
$("#searchBtn").click();
}
});
+
+ //获取序列号
+ $("#serialNumber").unbind().bind({
+ click: function () {
+ $.ajax({
+ type: "get",
+ url: "/plugin/getMacWithSecret",
+ dataType: "json",
+ success: function (res) {
+ if(res && res.code == 200) {
+ $.messager.alert('序列号', res.data);
+ }
+ },
+ //此处添加错误处理
+ error: function () {
+ $.messager.alert('查询提示', '查询数据后台异常,请稍后再试!', 'error');
+ return;
+ }
+ });
+ }
+ });