{$Think.config.WEB_SITE_TITLE} Power by 连云港信友科技有限公司 服务热线：400-000-9981

if(isset($_REQUEST['time1']) && $_REQUEST['time1'] != ''&&isset($_REQUEST['time2']) && $_REQUEST['time2'] != ''){ $map =" addtime>='".I('time1')." 00:00:00' and addtime<='".I('time2')." 59:59:59' "; }else{ $map=" id<>0 "; } $yue=date("Y-m",time()); $nian=date("Y",time()); $ri=date("Y-m-d",time());

### 员工提成统计 {:I('juname')}

编号 | 姓名 | 店铺 | 部门 | 职位 | 本日提成 | 本月提成 | 本年提成 | {:I('time1')}-{:I('time2')}
{$v.id} | {$v.truename} | {$v.shopid|get_shop_name=###} | {$v.depname} | {$v.posname} | $rticheng=M('ticheng')->where("addtime like '%".$ri."%' and juid=".$v['id']." ")->sum('jine');echo $rticheng/1; | $yticheng=M('ticheng')->where("addtime like '%".$yue."%' and juid=".$v['id']." ")->sum('jine');echo $yticheng/1; | $nticheng=M('ticheng')->where("addtime like '%".$nian."%' and juid=".$v['id']." ")->sum('jine');echo $nticheng/1; | $ticheng=M('ticheng')->where($map." and juid=".$v['id']." ")->sum('jine');echo $ticheng/1;

审核人: | 接收人: | 交接人: {$Rs.uname} | 打印: echo date("Y-m-d H:i:s",time());