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

oa付款单

上级 5ab6b145
......@@ -16,8 +16,8 @@ class flow_oayfkClassModel extends flowModel
$id=$this->rs['id'];
$sql = " mid ='$id' and `table`='c_fininfom_oayfk' ";
$flow_bill = m('flow_bill')->getone($sql,'allcheckid');
var_dump($flow_bill);
var_dump($explain);die;
$allcheckid=explode(',',$flow_bill['allcheckid']);
$option = m('option')->getall('pid = 1531 and num =1 order by sort desc','num,name,value,sort');
foreach ($option as $key => $value) {
......@@ -26,7 +26,7 @@ var_dump($explain);die;
break;
}
}
var_dump($checkid);die;
if(empty($checkid)){
$option = m('option')->getall('pid = 1531 and num =2 order by sort desc','num,name,value,sort,`explain`');
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论