|
|
@@ -25,10 +25,11 @@ var bootstrap = function ($, learun) { |
|
|
|
$('#ClockStatus').lrDataItemSelect({ code: 'ADStatus' }); |
|
|
|
$('#AIsOut').lrDataItemSelect({ code: 'YesOrNoBit' }); |
|
|
|
$('#ADPhoto').lrUploader(); |
|
|
|
$('#UserNo').lrDataSourceSelect({ code: 'BaseUser', value: 'f_account', text: 'f_realname', |
|
|
|
$('#UserNo').lrDataSourceSelect({ |
|
|
|
code: 'EmpInfo', value: 'empno', text: 'empname', |
|
|
|
select: function(item){ |
|
|
|
if(item){ |
|
|
|
$('#UserName').val(item.f_realname); |
|
|
|
$('#UserName').val(item.empname); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|