提交 9752475a authored 作者: fengzy's avatar fengzy

oa付款单

上级 3d098a85
......@@ -65,12 +65,17 @@ class mode_fund_transferClassAction extends inputAction{
if($cdata['level']==1){
$level=$cdata['level'];
$levelto=$cdata['level']+1;
}else{
$sqla = " id !=$numb and level =$level or level =$levelto";
}elseif($cdata['level']==2){
$level=$cdata['level'];
$levelto=$cdata['level']-1;
$levelto=$cdata['level']+1;
$sqla = " id !=$numb and level =1 and level =2 or level =3";
}else{
$sqla = " id !=$numb and level =3 or level =2";
}
$sqla = " id !=$numb and level =$level or level =$levelto";
$data = m($model)->getall($sqla,'id as value,name');
$this->returnjson($data);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论