Browse Source

借书证回显

应县
ndbs 7 months ago
parent
commit
6acd3a9180
1 changed files with 30 additions and 6 deletions
  1. +30
    -6
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookCard/Index.js

+ 30
- 6
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/EducationalAdministration/Views/BookCard/Index.js View File

@@ -72,13 +72,37 @@ var bootstrap = function ($, learun) {
$('#gridtable').lrAuthorizeJfGrid({
url: top.$.rootUrl + '/EducationalAdministration/BookCard/GetPageList',
headData: [
{ label: "借书证号", name: "LibraryCard", width: 100, align: "left"},
{ label: "借书人编号", name: "BorrowerID", width: 100, align: "left"},
{ label: "借书证号", name: "LibraryCard", width: 120, align: "left"},
{ label: "借书人编号", name: "BorrowerID", width: 120, align: "left"},
{ label: "借书数量", name: "AllowNum", width: 100, align: "left"},
{ label: "借书人类型", name: "BorrowerType", width: 100, align: "left"},
{ label: "办证时间", name: "RegistrationTime", width: 100, align: "left"},
{ label: "系部名称", name: "DeptNo", width: 100, align: "left"},
{ label: "校区名称", name: "CompanyID", width: 100, align: "left"},
{ label: "借书人类型", name: "BorrowerType", width: 120, align: "left"},
{ label: "办证时间", name: "RegistrationTime", width: 140, align: "left"},
{
label: "系部名称", name: "DeptNo", width: 100, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'CdDeptInfo',
key: value,
keyId: 'deptno',
callback: function (_data) {
callback(_data['deptname']);
}
});
}
},
{
label: "校区名称", name: "CompanyID", width: 200, align: "left",
formatterAsync: function (callback, value, row, op, $cell) {
learun.clientdata.getAsync('custmerData', {
url: '/LR_SystemModule/DataSource/GetDataTable?code=' + 'company',
key: value,
keyId: 'f_companyid',
callback: function (_data) {
callback(_data['f_fullname']);
}
});
}
},
{ label: "审核标志", name: "CheckMark", width: 100, align: "left"},
],
mainId:'ID',


Loading…
Cancel
Save