信呼OA版本v2.3.8
This commit is contained in:
28
webmain/flow/input/mode_finccbxAction.php
Normal file
28
webmain/flow/input/mode_finccbxAction.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* 此文件是流程模块【finccbx.出差报销】对应接口文件。
|
||||
* 可在页面上创建更多方法如:public funciton testactAjax(),用js.getajaxurl('testact','mode_finccbx|input','flow')调用到对应方法
|
||||
*/
|
||||
class mode_finccbxClassAction extends inputAction{
|
||||
|
||||
|
||||
protected function savebefore($table, $arr, $id, $addbo){
|
||||
$rows['type'] = '1';//一定要是1,不能去掉
|
||||
return array(
|
||||
'rows'=>$rows
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
protected function saveafter($table, $arr, $id, $addbo){
|
||||
|
||||
}
|
||||
|
||||
public function getlastAjax()
|
||||
{
|
||||
$rs = m('fininfom')->getone("`uid`='$this->adminid' and `type`<3 order by `optdt` desc",'paytype,cardid,openbank,fullname');
|
||||
if(!$rs)$rs='';
|
||||
$this->returnjson($rs);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user