|
|
@@ -37,9 +37,24 @@ var bootstrap = function ($, learun) { |
|
|
|
$('#ATId').lrselect({ allowSearch: true }); |
|
|
|
$('#GetWay').lrDataItemSelect({ code: 'GetWay' }); |
|
|
|
$('#UseCondition').lrDataItemSelect({ code: 'AssState' }); |
|
|
|
$('#UseDepartment').lrDepartmentSelect(); |
|
|
|
$('#UseDepartment').lrDepartmentSelect({ |
|
|
|
select: function (item) { |
|
|
|
$('#UsePeople').lrselectRefresh({ |
|
|
|
url: top.$.rootUrl + '/LR_OrganizationModule/User/GetList', |
|
|
|
param: { departmentId: item.value } |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
|
$('#ManageDepartment').lrDepartmentSelect(); |
|
|
|
$('#UsePeople').lrUserSelect(0); |
|
|
|
$('#UsePeople').lrselect({ |
|
|
|
value: 'F_UserId', |
|
|
|
text: 'F_RealName', |
|
|
|
title: 'F_RealName', |
|
|
|
// 展开最大高度 |
|
|
|
maxHeight: 110, |
|
|
|
// 是否允许搜索 |
|
|
|
allowSearch: true |
|
|
|
}); |
|
|
|
$('#CardStatus').lrDataItemSelect({ code: 'CardStatus' }); |
|
|
|
$('#StorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' }); |
|
|
|
$('#DepreciationStatus').lrDataItemSelect({ code: 'DepreciationStatus' }); |
|
|
|