提交 7efbf229 authored 作者: fengzy's avatar fengzy

测试付款单

上级 b9466c32
...@@ -33,7 +33,7 @@ class flow_oafkClassModel extends flowModel ...@@ -33,7 +33,7 @@ class flow_oafkClassModel extends flowModel
if($zt==1){ if($zt==1){
$deptdata = m('admin')->getone('id='.$this->adminid,'deptname'); $deptdata = m('admin')->getone('id='.$this->adminid,'deptname');
// $deptdata['deptname'];//当前人部门 // $deptdata['deptname'];//当前人部门
$deptdata['deptname']='建设运营中心合规部'; $deptdata['deptname']='建设运营中心合规部';
$option = m('option')->getall('pid = 1497','num,name');//当前部门 $option = m('option')->getall('pid = 1497','num,name');//当前部门
foreach ($option as $key => $vo) { foreach ($option as $key => $vo) {
if($vo['name']==$deptdata['deptname']){ if($vo['name']==$deptdata['deptname']){
...@@ -43,9 +43,7 @@ class flow_oafkClassModel extends flowModel ...@@ -43,9 +43,7 @@ class flow_oafkClassModel extends flowModel
$flowid=$this->getflow(); $flowid=$this->getflow();
if($flowid['nowcheckname']==$num){ if($flowid['nowcheckname']==$num){
var_dump($flowid['nowcheckname']);
echo '1111';
var_dump($num);
$data = m('c_fund_details_fk')->getall('mid='.$this->rs['id'], 'id,cbzx_code,charge_amount'); $data = m('c_fund_details_fk')->getall('mid='.$this->rs['id'], 'id,cbzx_code,charge_amount');
foreach ($data as $key => $vo) { foreach ($data as $key => $vo) {
$cbzx_code=$vo['cbzx_code']; $cbzx_code=$vo['cbzx_code'];
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论