信呼OA版本v2.3.8

This commit is contained in:
雨中磐石
2022-08-14 16:47:40 +08:00
parent 4640677d27
commit e3fcd913e3
1405 changed files with 133635 additions and 73 deletions

View File

@@ -0,0 +1,36 @@
<?php
/**
* 此文件是流程模块【receipt.回执确认】对应控制器接口文件。
*/
class mode_receiptClassAction extends inputAction{
protected function savebefore($table, $arr, $id, $addbo){
$modenum = $arr['modenum'];
$rows = array();
$rows['table'] = m('flow_set')->getmou('`table`', "`num`='$modenum'");
$where = "`uid`='$this->adminid' and `modenum`='$modenum' and `mid`='".$arr['mid']."' and `id`<>$id";
if($this->flow->rows($where)>0)return '你已设置这单据的回执确认了';
$receid = $arr['receid'];
if(isempt($receid))return '没有选择需确认回执人员1';
$receid = $this->flow->adminmodel->gjoin($receid);
if(isempt($receid))return '没有选择需确认回执人员2';
$rows['receid'] = $receid;
$rows['receids'] = '';
$rows['ushuy'] = '0';
$rows['ushuz'] = count(explode(',', $receid));
return array(
'rows' => $rows
);
}
protected function saveafter($table, $arr, $id, $addbo){
}
}