提交 3ae0d577 authored 作者: fengzy's avatar fengzy

oa付款单

上级 9a875f06
...@@ -27,6 +27,8 @@ class flow_oayfkClassModel extends flowModel ...@@ -27,6 +27,8 @@ class flow_oayfkClassModel extends flowModel
if(empty($checkid)){ if(empty($checkid)){
$option = m('option')->getall('pid = 1531 and num =2 order by sort desc','num,name,value,sort,`explain`'); $option = m('option')->getall('pid = 1531 and num =2 order by sort desc','num,name,value,sort,`explain`');
var_dump($option);
var_dump($explain);die;
foreach ($option as $key => $value) { foreach ($option as $key => $value) {
if(in_array($value['value'], $allcheckid)){ if(in_array($value['value'], $allcheckid)){
$checkid= $value['value']; $checkid= $value['value'];
...@@ -37,8 +39,7 @@ class flow_oayfkClassModel extends flowModel ...@@ -37,8 +39,7 @@ class flow_oayfkClassModel extends flowModel
} }
//zt 1代表同意 //zt 1代表同意
if($zt==1){ if($zt==1){
var_dump($checkid);
var_dump($explain);die;
$flowid=$this->getflow(); $flowid=$this->getflow();
if($explain){ if($explain){
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论