提交 22eee67a authored 作者: fengzy's avatar fengzy

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

上级 00d627d4
...@@ -142,10 +142,10 @@ class flow_emfkClassModel extends flowModel ...@@ -142,10 +142,10 @@ class flow_emfkClassModel extends flowModel
$project=self::project($vo['cost_id']); $project=self::project($vo['cost_id']);
$cost_id= self::dept($project['data'][0]['jz_cur_dept']); $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"; $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');
var_dump($fund_account_cost);die;
$id=$fund_account_cost['id']; $id=$fund_account_cost['id'];
$freeze = array( $freeze = array(
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论