diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-form.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-form.js index fedd0277b..33ee658e6 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-form.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-form.js @@ -710,7 +710,7 @@ } }; // 多条件查询框 - $.fn.lrMultipleQuery = function (search, height, width) { + $.fn.lrMultipleQuery = function (search, height, width, isreadcard, readcallback) { var $this = $(this); var contentHtml = $this.html(); $this.addClass('lr-query-wrap'); @@ -724,6 +724,8 @@ //_html += ''; _html += '
'; _html += '
'; + if (!!isreadcard) + _html += ' 读  取'; _html += ' 重  置'; _html += ' 查  询'; _html += '
'; @@ -758,7 +760,11 @@ } $content.lrSetFormData(query); }); - + if (!!readcallback) { + $this.find('#lr_btn_readcard').on('click', function () { + readcallback(); + }); + } $(document).click(function (e) { var et = e.target || e.srcElement; var $et = $(et);