提交 2718d490 authored 作者: fengzy's avatar fengzy

测试付款单

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