提交 1a543a2c authored 作者: fengzy's avatar fengzy

费用报销脚本

上级 d2221693
......@@ -299,7 +299,7 @@ class flow_projectfkClassModel extends flowModel
}
foreach ($data as $key => $va) {
$project=self::project(substr($vo['cbzxid'],0,strpos($vo['cbzxid'], "(")));
$project=self::project(substr($va['cbzxid'],0,strpos($va['cbzxid'], "(")));
$cbzx_code= self::dept($project['data'][0]['jz_cur_dept']);
$sql = " cost_id='$cbzx_code' and status = 1 and is_default=1";
......@@ -316,7 +316,7 @@ class flow_projectfkClassModel extends flowModel
'uid' => $this->rs['uid'],
);
m('c_withhold_projectfk')->insert($c_withhold);
var_dump($amount);
var_dump($va['amount']);
var_dump($id);
//修改冻结余额
$freeze = array(
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论