提交 39ab2925 authored 作者: fengzy's avatar fengzy

'测试费用报销与借款抵扣'

上级 52125783
......@@ -16,6 +16,20 @@ class flow_finfybxClassModel extends flowModel
//二级 或一级审批同意之后进行预扣款
protected function flowcheckbefore($zt, $sm){
if($this->rs['dikouid']){
$dikouid = $this->rs['dikouid'];
$jk_num=substr($dikouid,0,strrpos($dikouid,'金'));
var_dump(substr($dikouid,0,strrpos($dikouid,'(')));die;
}
$id=$this->rs['id'];
$sql = " mid ='$id' and `table`='fininfom' ";
$flow_bill = m('flow_bill')->getone($sql,'allcheckid');
......@@ -486,11 +500,7 @@ class flow_finfybxClassModel extends flowModel
if($this->rs['dikouid']){
$dikouid = $this->rs['dikouid'];
$jk_num=substr($dikouid,0,strrpos($dikouid,'金'));
var_dump(substr($dikouid,0,strrpos($dikouid,'(')));
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论