提交 00d627d4 authored 作者: fengzy's avatar fengzy

'调整费用报销与借款单逻辑'

上级 1979c392
......@@ -141,8 +141,9 @@ class flow_emfkClassModel extends flowModel
//减去冻结金额
$project=self::project($vo['cost_id']);
var_dump($project);die;
$cost_id= self::dept($project['data'][0]['jz_cur_dept']);
var_dump($cost_id);die;
$sql = " cost_id='$cost_id' and status = 1 and is_default=1";
$fund_account_cost = m('c_fund_account')->getone($sql, 'id,freeze_amount');
......@@ -166,7 +167,6 @@ var_dump($project);die;
//流程全部完成后调用
protected function flowcheckfinsh($zt){
m('log')->addlog('电费付款','审核通过');
$this->sendMess(1,3);
$docnum=$this->rs['docnum'];
$withhold_cost = m('c_withhold_emfk')->getall("docnum='$docnum' and status =1", 'id,cost_id,amount');
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论