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

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

上级 a6cac206
...@@ -136,7 +136,7 @@ class flow_emfkClassModel extends flowModel ...@@ -136,7 +136,7 @@ class flow_emfkClassModel extends flowModel
$docnum=$this->rs['docnum']; $docnum=$this->rs['docnum'];
//将单据状态作废余额 //将单据状态作废余额
$withhold_cost = m('c_withhold_emfk')->getall("docnum='$docnum' and status =1", 'id,cost_id,amount'); $withhold_cost = m('c_withhold_emfk')->getall("docnum='$docnum' and status =9", 'id,cost_id,amount');
foreach ($withhold_cost as $key => $vo) { foreach ($withhold_cost as $key => $vo) {
//减去冻结金额 //减去冻结金额
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论