提交 696096c3 authored 作者: chengye's avatar chengye

test

上级 6bfd313b
......@@ -198,6 +198,8 @@ class Useage extends Base
$em = (new \app\em\model\Em())->getBaseInfo($useage->em_id);
$user = Session::get('user');
dd($useage);
if($useage){
$this->assign('staffs',(new Staff())->getStaffs($user['is_admin'],$useage->staff_id));
} else {
......@@ -205,7 +207,6 @@ class Useage extends Base
}
$useage->price = $useage->pricing_type == 1 ? $useage->pay_price : $useage->price;
dd($useage);
$useage->repo_numb = round(round($useage->current_sum_numb - $useage->last_sum_numb,2) * $useage->rate,2);
$this->assign('em',$em);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论