|
|
@@ -33,7 +33,26 @@ var bootstrap = function ($, learun) { |
|
|
|
$('#multiple_condition_query').lrMultipleQuery(function (queryJson) { |
|
|
|
page.search(queryJson); |
|
|
|
}, 400, 400); |
|
|
|
$('#AIIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' }); |
|
|
|
//$('#AIIStorageId').lrDataSourceSelect({ code: 'Ass_StorageData', value: 'sid', text: 'sname' }); |
|
|
|
$('#AIIStorageId').lrselect({ |
|
|
|
type: 'tree', |
|
|
|
allowSearch: true, |
|
|
|
url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetTree', |
|
|
|
param: {}, |
|
|
|
select: function (val) { |
|
|
|
var storageId = ""; |
|
|
|
if (val) { |
|
|
|
storageId = val.value; |
|
|
|
} |
|
|
|
$('#AIIStoragePosition').lrselectRefresh({ |
|
|
|
url: top.$.rootUrl + '/AssetManagementSystem/AssStorageRoom/GetListForStorageId?storageId=' + storageId, |
|
|
|
text: "RCode", |
|
|
|
value: "RId" |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
|
//房间 |
|
|
|
$('#AIIStoragePosition').lrselect({ value: 'RId', text: 'RCode' }); |
|
|
|
$('#AIASSState').lrDataItemSelect({ code: 'AssState' }); |
|
|
|
$('#AIAssType').lrDataItemSelect({ code: 'AssType' }); |
|
|
|
$('#AIDepartment').lrDepartmentSelect(); |
|
|
|