webmain/flow/input/inputjs/mode_hrsalary.js
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
var initshujubs=false,yunci=0;
function initbodys(){
$('#AltS').before('<input type="button" style="background:#888888" onclick="return initshuju()" value="初始数据" class="webbtn"> ');
$(form('uname')).blur(function(){
chuangeusername();
});
if(mid==0)jisuantongzi();
//核算的
var actlx = js.request('actlx');
if(actlx=='hesuan'){
if(isedit==1){
jisuantongzi();
setTimeout(function(){
initshuju(function(){
setTimeout('hesuanwancheng()',200); //延时保存
});
},100);
}else{
try{parent.js.msgerror('无权限核算编辑');}catch(e){}
}
}
}
//自动核算完成
function hesuanwancheng(){
c.boolint = 1;
c.save();
}
function saveerror(msg){
if(c.boolint!=1)return;
try{parent.js.msgerror(msg);}catch(e){}
}
c.onselectdata['month']=function(){
chuangeusername();
};
function initshuju(fun){
var xuid=form('xuid').value,month=form('month').value;
if(!fun)fun=function(){};
if(xuid==''){
js.msg('msg','请选择人员');
return;
}
if(month==''){
js.msg('msg','请选择月份');
return;
}
js.ajaxbool=false;
js.msg('wait','初始化中...');
js.setmsg();
initshujubs = false;
js.ajax(geturlact('initdatas'),{'xuid':xuid,'month':month},function(adds){
js.msg('success','初始化完成,请认真核对');
for(var i in adds){
后面还有 123 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
