提交 8e135592 authored 作者: fengzy's avatar fengzy

测试付款单

上级 25a8ed5a
...@@ -67,10 +67,10 @@ class flow_oafkClassModel extends flowModel ...@@ -67,10 +67,10 @@ class flow_oafkClassModel extends flowModel
$cbzx_code=$vo['cbzx_code']; $cbzx_code=$vo['cbzx_code'];
$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,account_balance,freeze_amount');//查询账户表成本中心id $cost = m('c_fund_account')->getone($sql, 'id,account_balance,freeze_amount');//查询账户表成本中心id
$id=$cost_id['id']; $id=$cost['id'];
$c_withhold = array( $c_withhold = array(
'fund_account_id' => $cost['id'], 'fund_account_id' => $id,
'docnum' => $this->rs['docnum'], 'docnum' => $this->rs['docnum'],
'cost_id' => $vo['cbzx_code'], 'cost_id' => $vo['cbzx_code'],
'amount' => $vo['charge_amount'], 'amount' => $vo['charge_amount'],
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论