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

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

上级 5dcbde87
...@@ -103,7 +103,7 @@ class flow_emfkClassModel extends flowModel ...@@ -103,7 +103,7 @@ class flow_emfkClassModel extends flowModel
$cbzx_code=self::project($vo['cbzxid']); $cbzx_code=self::project($vo['cbzxid']);
$cbzx_code= self::dept($cbzx_code['data'][0]['jz_cur_dept']); $cbzx_code= self::dept($cbzx_code['data'][0]['jz_cur_dept']);
echo "<pre>"; echo "<pre>";
var_dump($cbzx_code['data'][0]['jz_cur_dept']);die; var_dump($cbzx_code['data']);die;
$sql = " cost_id='$cbzx_code' and status = 1 and is_default=1"; $sql = " cost_id='$cbzx_code' and status = 1 and is_default=1";
$cost = m('c_fund_account')->getone($sql, 'id,type,freeze_amount,account_balance');//查询账户表成本中心id $cost = m('c_fund_account')->getone($sql, 'id,type,freeze_amount,account_balance');//查询账户表成本中心id
if($cost['type']=='1'){ if($cost['type']=='1'){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论