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

费用报销脚本

上级 dfa173ce
...@@ -47,6 +47,7 @@ class flow_finfybxClassModel extends flowModel ...@@ -47,6 +47,7 @@ class flow_finfybxClassModel extends flowModel
default: default:
$arr['FPAYBILLENTRY'][$k]['F_KXType']['FNUMBER']="00";
$arr['FPAYBILLENTRY'][$k]['F_PAEZ_Cbzx']['FNUMBER']=$cbxmid; $arr['FPAYBILLENTRY'][$k]['F_PAEZ_Cbzx']['FNUMBER']=$cbxmid;
$arr['FPAYBILLENTRY'][$k]['FSETTLETYPEID']['FNumber']='JSFS04_SYS'; $arr['FPAYBILLENTRY'][$k]['FSETTLETYPEID']['FNumber']='JSFS04_SYS';
$arr['FPAYBILLENTRY'][$k]['FPURPOSEID']['FNumber']='SFKYT10_SYS'; $arr['FPAYBILLENTRY'][$k]['FPURPOSEID']['FNumber']='SFKYT10_SYS';
......
...@@ -76,7 +76,6 @@ protected function flowcheckafter($zt, $sm){ ...@@ -76,7 +76,6 @@ protected function flowcheckafter($zt, $sm){
$cookie_jar = tempnam('/tmp','CloudSession'); $cookie_jar = tempnam('/tmp','CloudSession');
$post_content = self::create_postdata($data); $post_content = self::create_postdata($data);
$result = self::invoke_login($cloudUrl,$post_content,$cookie_jar); $result = self::invoke_login($cloudUrl,$post_content,$cookie_jar);
var_dump($result);die;
header("Content-type: text/html; charset=utf8"); header("Content-type: text/html; charset=utf8");
$applicant=$this->rs['applicant'];//申请人 $applicant=$this->rs['applicant'];//申请人
$applicationdpt=$this->rs['applicationdpt'];//申请部门 $applicationdpt=$this->rs['applicationdpt'];//申请部门
......
...@@ -53,6 +53,7 @@ class openoayfkClassAction extends openapiAction ...@@ -53,6 +53,7 @@ class openoayfkClassAction extends openapiAction
$post_content = self::create_postdata($data); $post_content = self::create_postdata($data);
$result = self::invoke_save($cloudUrl,$post_content,$cookie_jar); $result = self::invoke_save($cloudUrl,$post_content,$cookie_jar);
var_dump($result);die;
$array = json_decode($result,true); $array = json_decode($result,true);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论