提交 a6cac206 authored 作者: fengzy's avatar fengzy

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

上级 782ba4df
...@@ -140,7 +140,10 @@ class flow_emfkClassModel extends flowModel ...@@ -140,7 +140,10 @@ class flow_emfkClassModel extends flowModel
foreach ($withhold_cost as $key => $vo) { foreach ($withhold_cost as $key => $vo) {
//减去冻结金额 //减去冻结金额
$cost_id=$vo['cost_id']; $project=self::project($vo['cbzxid']);
$cost_id= self::dept($project['data'][0]['jz_cur_dept']);
$sql = " cost_id='$cost_id' and status = 1 and is_default=1"; $sql = " cost_id='$cost_id' and status = 1 and is_default=1";
$fund_account_cost = m('c_fund_account')->getone($sql, 'id,freeze_amount'); $fund_account_cost = m('c_fund_account')->getone($sql, 'id,freeze_amount');
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论