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

'费用报销'

上级 8954583a
......@@ -22,7 +22,7 @@ class flow_finfybxClassModel extends flowModel
$allcheckid=explode(',',$flow_bill['allcheckid']);
$option = m('option')->getall('pid = 1567 and num =1 order by sort desc','num,name,value,sort');
$option = m('option')->getall('pid = 1546 and num =1 order by sort desc','num,name,value,sort');
foreach ($option as $key => $value) {
if(in_array($value['value'], $allcheckid)){
$checkid= $value['value'];
......@@ -31,7 +31,7 @@ class flow_finfybxClassModel extends flowModel
}
if(empty($checkid)){
$option = m('option')->getall('pid = 1567 and num =2 order by sort desc','num,name,value,sort,`explain`');
$option = m('option')->getall('pid = 1546 and num =2 order by sort desc','num,name,value,sort,`explain`');
foreach ($option as $key => $value) {
if(in_array($value['value'], $allcheckid)){
$checkid= $value['value'];
......@@ -154,7 +154,7 @@ class flow_finfybxClassModel extends flowModel
// 金蝶
$id=$this->rs['id'];
$sql = " mid ='$id' and `table`='fininfom' ";
$option = m('option')->getall('pid = 1585','`explain`');
$option = m('option')->getall('pid = 1568','`explain`');
foreach ($option as $key => $value) {
$allcheckid[]=$value['explain'];
}
......@@ -207,7 +207,7 @@ class flow_finfybxClassModel extends flowModel
$cloudUrl = "http://36.110.39.211/k3cloud/";
//登陆参数
$data = array(
'5e64f6ff0bd47f',//帐套Id
'5ef2c166ad1afa',//帐套Id
'Administrator',//用户名
'666666',//密码
'2052'//语言标识359010087
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论