瀏覽代碼

借书证回显

应县
ndbs 7 月之前
父節點
當前提交
6acd3a9180
共有 1 個檔案被更改,包括 30 行新增6 行删除
  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 查看文件

@@ -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…
取消
儲存