提交 a2ae5fab authored 作者: chengye's avatar chengye

test

上级 318d3059
...@@ -204,11 +204,12 @@ class Useage extends Base ...@@ -204,11 +204,12 @@ class Useage extends Base
$this->assign('staffs',(new Staff())->getStaffs($user['is_admin'])); $this->assign('staffs',(new Staff())->getStaffs($user['is_admin']));
} }
if($useage->pricing_type == 1) $useage->price = $useage->pay_price;
$useage->repo_numb = round(round($useage->current_sum_numb - $useage->last_sum_numb,2) * $useage->rate,2); $useage->repo_numb = round(round($useage->current_sum_numb - $useage->last_sum_numb,2) * $useage->rate,2);
$this->assign('em',$em); $this->assign('em',$em);
$this->assign('useage',$useage); $this->assign('useage',$useage);
dd($useage);
return $this->fetch('detail'); return $this->fetch('detail');
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论