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

oa付款单

上级 364cf678
......@@ -154,21 +154,22 @@ class flow_finfybxClassModel extends flowModel
$id=$this->rs['id'];
$sql = " mid ='$id' and `table`='fininfom' ";
$flow_bill = m('flow_bill')->getone($sql,'allcheckid');
$option = m('option')->getall('pid = 1568','num,name,value,sort,`explain`');
foreach ($option as $key => $value) {
if(in_array($value['value'], $allcheckid)){
$checkid= $value['value'];
$explain= $value['explain'];
break;
}
}
$option = m('option')->getall('pid = 1568','`explain`');
$allcheckid=explode(',',$option['explain']);
//查询流程为财务确认
$flowid = $this->getflow();
var_dump($flowid);
if($flowid['nowcheckid']==$checkid && $flowid['nowcourseid']==$explain){
echo 11111111;
if(in_array($flowid['nowcourseid'], $allcheckid)){
echo 11111111;die;
}else{
echo 22222;die;
}
if($flowid['nowcheckid']==$checkid && $flowid['nowcourseid']==$explain){
$data=$this->db->getone('oa_personfile',"name='".$this->rs['applicant']."'");
$gonncode=$data['gonncode'];
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论