|
|
@@ -25,7 +25,7 @@ var bootstrap = function ($, learun) { |
|
|
|
allowSearch: true, |
|
|
|
maxHeight: 225, |
|
|
|
select: function (item) { |
|
|
|
if (item&&item.id!='-1') { |
|
|
|
if (item && item.id != '-1') { |
|
|
|
$('#BuildType').lrselectSet(item.title); |
|
|
|
$('#BuildType').attr('readonly', 'readonly'); |
|
|
|
} else { |
|
|
@@ -43,7 +43,7 @@ var bootstrap = function ($, learun) { |
|
|
|
type: 'radio', |
|
|
|
code: 'HasToilet', |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
//$('#StudentID').lrDataSourceSelect({ code: 'StuInfoBasic', value: 'stuid', text: 'stuname' }); |
|
|
|
//$('#StudentID').lrDataSourceSelect({ code: 'StuInfoTwo', value: 'stuid', text: 'stuname' }); |
|
|
|
$('#StudentID').lrselect({ |
|
|
@@ -51,7 +51,7 @@ var bootstrap = function ($, learun) { |
|
|
|
text: "stuname", |
|
|
|
url: top.$.rootUrl + '/LR_SystemModule/DataSource/GetDataTable?code=StuInfoBasic' |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
$('#Class').lrselect({ |
|
|
|
value: "classno", |
|
|
|
text: "classname" |
|
|
@@ -115,7 +115,7 @@ var bootstrap = function ($, learun) { |
|
|
|
|
|
|
|
if (!!keyValue) { |
|
|
|
$.lrSetForm(top.$.rootUrl + '/LogisticsManagement/Accommodation/GetFormData?keyValue=' + keyValue, |
|
|
|
function(data) { |
|
|
|
function (data) { |
|
|
|
for (var id in data) { |
|
|
|
if (!!data[id].length && data[id].length > 0) { |
|
|
|
$('#' + id).jfGridSet('refreshdata', data[id]); |
|
|
@@ -141,7 +141,7 @@ var bootstrap = function ($, learun) { |
|
|
|
param: { parentId: '0' }, |
|
|
|
} |
|
|
|
$('#Campus').lrselect(dfop); |
|
|
|
|
|
|
|
$('#Campus').lrselectSet(learun.clientdata.get(['userinfo']).companyId); |
|
|
|
} |
|
|
|
}; |
|
|
|
// 保存数据 |
|
|
|