From f0dc45f02240ebdf3c71f4813c018c8d07d140a8 Mon Sep 17 00:00:00 2001 From: zhaocheng <578322713@qq.com> Date: Thu, 17 Oct 2019 18:04:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E9=87=8F=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/views/layouts/blue-main.php | 1 + frontend/views/statistics/work-info.bak.php | 65 ++ frontend/views/statistics/work-info.php | 648 ++++++++++++++++++-- frontend/views/statistics/work.bak.php | 108 ++++ frontend/views/statistics/work.php | 301 ++++++--- frontend/web/assets/js/myfunc.js | 64 ++ 6 files changed, 1025 insertions(+), 162 deletions(-) create mode 100644 frontend/views/statistics/work-info.bak.php create mode 100644 frontend/views/statistics/work.bak.php create mode 100644 frontend/web/assets/js/myfunc.js diff --git a/frontend/views/layouts/blue-main.php b/frontend/views/layouts/blue-main.php index 8387c9a..32ffc29 100644 --- a/frontend/views/layouts/blue-main.php +++ b/frontend/views/layouts/blue-main.php @@ -39,6 +39,7 @@ use yii\helpers\Html; + blocks['footer_js'])): ?> = $this->blocks['footer_js'] ?> diff --git a/frontend/views/statistics/work-info.bak.php b/frontend/views/statistics/work-info.bak.php new file mode 100644 index 0000000..019139e --- /dev/null +++ b/frontend/views/statistics/work-info.bak.php @@ -0,0 +1,65 @@ + + + + + + +
车主 | +车牌号 | +商业总净保费 | +折扣后商业净保费 | +减免金额 | +商业折扣率 | +状态 | +详情 | +
=$item->car_man?> | +=$item->car_no?> | +='¥'.$item->total1_clear?> | +='¥'.$item->total1_real?> | +='¥'.$item->total1_dis?> | +=$item->total1_percent?> | +=$item->status->name?> | ++ [详情] + | +
汇总 | ++ | =$total[2]?'¥'.number_format($total[2],2):''?> | +=$total[8]?'¥'.number_format($total[8],2):''?> | +=$total[9]?'¥'.number_format($total[9],2):''?> | ++ | + | + |
车主 | -车牌号 | -商业总净保费 | -折扣后商业净保费 | -减免金额 | -商业折扣率 | -状态 | -详情 | -
=$item->car_man?> | -=$item->car_no?> | -='¥'.$item->total1_clear?> | -='¥'.$item->total1_real?> | -='¥'.$item->total1_dis?> | -=$item->total1_percent?> | -=$item->status->name?> | -- [详情] - | -
汇总 | -- | =$total[2]?'¥'.number_format($total[2],2):''?> | -=$total[8]?'¥'.number_format($total[8],2):''?> | -=$total[9]?'¥'.number_format($total[9],2):''?> | -- | - | - |
工号 | +真实姓名 | +通时 | +提车总数 | +提单总数 | +商业总净保费 | +交强总净保费 | +商业已收净保费 | +交强已收净保费 | +总签单净保费 | +详情 | +
=$row['username']?> | +=$row['truename']?> | +=$row['total'][0]!=''?$row['total'][0]:''?> | +=$row['total'][7]>0?$row['total'][7]:''?> | +=$row['total'][1]>0?$row['total'][1]:''?> | +=$row['total'][2]>0?'¥'.number_format($row['total'][2],2):''?> | +=$row['total'][3]>0?'¥'.number_format($row['total'][3],2):''?> | +=$row['total'][4]>0?'¥'.number_format($row['total'][4],2):''?> | +=$row['total'][5]>0?'¥'.number_format($row['total'][5],2):''?> | +=$row['total'][6]>0?'¥'.number_format($row['total'][6],2):''?> | +[详情] | +
汇总 | ++ | + | =$sum_total[7]?$sum_total[7]:''?> | +=$sum_total[1]?$sum_total[1]:''?> | +=$sum_total[2]?'¥'.number_format($sum_total[2],2):''?> | +=$sum_total[3]?'¥'.number_format($sum_total[3],2):''?> | +=$sum_total[4]?'¥'.number_format($sum_total[4],2):''?> | +=$sum_total[5]?'¥'.number_format($sum_total[5],2):''?> | +=$sum_total[6]?'¥'.number_format($sum_total[6],2):''?> | ++ |
工号 | -真实姓名 | -通时 | -提车总数 | -提单总数 | -商业总净保费 | -交强总净保费 | -商业已收净保费 | -交强已收净保费 | -总签单净保费 | -详情 | -
=$row['username']?> | -=$row['truename']?> | -=$row['total'][0]!=''?$row['total'][0]:''?> | -=$row['total'][7]>0?$row['total'][7]:''?> | -=$row['total'][1]>0?$row['total'][1]:''?> | -=$row['total'][2]>0?'¥'.number_format($row['total'][2],2):''?> | -=$row['total'][3]>0?'¥'.number_format($row['total'][3],2):''?> | -=$row['total'][4]>0?'¥'.number_format($row['total'][4],2):''?> | -=$row['total'][5]>0?'¥'.number_format($row['total'][5],2):''?> | -=$row['total'][6]>0?'¥'.number_format($row['total'][6],2):''?> | -[详情] | -
汇总 | -- | - | =$sum_total[7]?$sum_total[7]:''?> | -=$sum_total[1]?$sum_total[1]:''?> | -=$sum_total[2]?'¥'.number_format($sum_total[2],2):''?> | -=$sum_total[3]?'¥'.number_format($sum_total[3],2):''?> | -=$sum_total[4]?'¥'.number_format($sum_total[4],2):''?> | -=$sum_total[5]?'¥'.number_format($sum_total[5],2):''?> | -=$sum_total[6]?'¥'.number_format($sum_total[6],2):''?> | -- |