|
|
@@ -71,736 +71,736 @@ class PeriodBonusList extends \common\libs\dataList\DataList implements DataList
|
|
|
* 要展示和导出的所有字段
|
|
|
* @return array
|
|
|
*/
|
|
|
- public function getColumn(){
|
|
|
- if(!$this->columns){
|
|
|
- $this->columns = [
|
|
|
- 'ID' => null,
|
|
|
- 'PERIOD_NUM' => [
|
|
|
- 'header' => 'Pay Cycle(PC)', // 结算期数
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '150',
|
|
|
- ],
|
|
|
- 'valueOther' => [
|
|
|
- 'tag'=>['type'=>'', 'size' => 'small', 'class'=>'no-border'],
|
|
|
- ],
|
|
|
- ],
|
|
|
- 'CALCULATED_AT' => [
|
|
|
- 'header' => 'Date', // 结算时间
|
|
|
- 'value' => function($row) {
|
|
|
- return (new DateTime([
|
|
|
- 'value' => $row['CALCULATED_AT'],
|
|
|
- ]))->result();
|
|
|
- },
|
|
|
- 'headerOther' => ['width' => '170'],
|
|
|
- ],
|
|
|
- 'LAST_USER_NAME' => [
|
|
|
- 'header' => 'Member code',//会员编号
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '150',
|
|
|
- ],
|
|
|
- 'valueOther' => [
|
|
|
- 'tag'=>['type'=>'info', 'size' => 'small', 'class'=>'no-border']
|
|
|
- ],
|
|
|
- ],
|
|
|
- 'LAST_REAL_NAME' => [
|
|
|
- 'header' => 'Member name',//会员姓名
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '120',
|
|
|
- ],
|
|
|
- 'valueOther' => [
|
|
|
- 'tag'=>['type'=>'success', 'size' => 'small', 'class'=>'no-border']
|
|
|
- ],
|
|
|
- ],
|
|
|
- 'LAST_DEC_LV_NAME' => [
|
|
|
- 'header' => 'Member level at settlement',//结算时会员级别
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '120',
|
|
|
- ],
|
|
|
- ],
|
|
|
- 'LAST_EMP_LV_NAME' => [
|
|
|
- 'header' => 'Member rank at settlement',//结算时会员聘级
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '140',
|
|
|
- ],
|
|
|
- ],
|
|
|
- 'LAST_STAR_LV_NAME' => [
|
|
|
- 'header' => 'Member star at settlement',//结算时会员聘级
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '140',
|
|
|
- ],
|
|
|
- ],
|
|
|
- 'LAST_MOBILE' => [
|
|
|
- 'header' => 'Phone Number',//手机号码
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '120',
|
|
|
- ],
|
|
|
- ],
|
|
|
- 'LAST_PERIOD_AT' => [
|
|
|
- 'header' => 'Joining Period', // 加入期数
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '100',
|
|
|
- ],
|
|
|
- ],
|
|
|
- 'LAST_CREATED_AT' => [
|
|
|
- 'header' => 'Joining Date', // 加入时间
|
|
|
- 'value' => function($row) {
|
|
|
- return (new DateTime([
|
|
|
- 'value' => $row['LAST_CREATED_AT'],
|
|
|
- ]))->result();
|
|
|
- },
|
|
|
- 'headerOther' => ['width' => '170'],
|
|
|
- ],
|
|
|
- 'LAST_REC_USER_NAME' => [
|
|
|
- 'header' => 'Sponsor No',//开拓者编号
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '150',
|
|
|
- ],
|
|
|
- ],
|
|
|
- 'LAST_REC_REAL_NAME' => [
|
|
|
- 'header' => 'Sponsor Name',//开拓者姓名
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '120',
|
|
|
- ],
|
|
|
- ],
|
|
|
- 'LAST_CON_USER_NAME' => [
|
|
|
- 'header' => 'Superior code',//上级编号
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '150',
|
|
|
- ],
|
|
|
- ],
|
|
|
- 'LAST_CON_REAL_NAME' => [
|
|
|
- 'header' => 'Superior name',//上级姓名
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '120',
|
|
|
- ],
|
|
|
- ],
|
|
|
-// 'PV_1L' => [
|
|
|
-// 'header' => '一市场新增业绩',
|
|
|
-// 'value' => function($row) {
|
|
|
-// return (new Price([
|
|
|
-// 'value' => $row['PV_1L'],
|
|
|
-// ]))->result();
|
|
|
-// },
|
|
|
+// public function getColumn(){
|
|
|
+// if(!$this->columns){
|
|
|
+// $this->columns = [
|
|
|
+// 'ID' => null,
|
|
|
+// 'PERIOD_NUM' => [
|
|
|
+// 'header' => 'Pay Cycle(PC)', // 结算期数
|
|
|
// 'headerOther' => [
|
|
|
-// 'width' => '120',
|
|
|
-// 'prop'=>'PV_1L',
|
|
|
+// 'width' => '150',
|
|
|
// ],
|
|
|
-// ],
|
|
|
-// 'SURPLUS_1L' => [
|
|
|
-// 'header' => '一市场结余业绩',
|
|
|
-// 'value' => function($row) {
|
|
|
-// return (new Price([
|
|
|
-// 'value' => $row['SURPLUS_1L'],
|
|
|
-// ]))->result();
|
|
|
-// },
|
|
|
-// 'headerOther' => [
|
|
|
-// 'width' => '120',
|
|
|
-// 'prop'=>'SURPLUS_1L',
|
|
|
+// 'valueOther' => [
|
|
|
+// 'tag'=>['type'=>'', 'size' => 'small', 'class'=>'no-border'],
|
|
|
// ],
|
|
|
// ],
|
|
|
-// 'UP_SURPLUS_1L' => [
|
|
|
-// 'header' => '当前一市场结余业绩',
|
|
|
+// 'CALCULATED_AT' => [
|
|
|
+// 'header' => 'Date', // 结算时间
|
|
|
// 'value' => function($row) {
|
|
|
-// return (new Price([
|
|
|
-// 'value' => $row['UP_SURPLUS_1L'],
|
|
|
+// return (new DateTime([
|
|
|
+// 'value' => $row['CALCULATED_AT'],
|
|
|
// ]))->result();
|
|
|
// },
|
|
|
-// 'headerOther' => [
|
|
|
-// 'width' => '120',
|
|
|
-// 'prop'=>'UP_SURPLUS_1L',
|
|
|
-// ],
|
|
|
+// 'headerOther' => ['width' => '170'],
|
|
|
// ],
|
|
|
-// 'PV_2L' => [
|
|
|
-// 'header' => '二市场新增业绩',
|
|
|
-// 'value' => function($row) {
|
|
|
-// return (new Price([
|
|
|
-// 'value' => $row['PV_2L'],
|
|
|
-// ]))->result();
|
|
|
-// },
|
|
|
+// 'LAST_USER_NAME' => [
|
|
|
+// 'header' => 'Member code',//会员编号
|
|
|
// 'headerOther' => [
|
|
|
-// 'width' => '120',
|
|
|
-// 'prop'=>'PV_2L',
|
|
|
+// 'width' => '150',
|
|
|
// ],
|
|
|
-// ],
|
|
|
-// 'SURPLUS_2L' => [
|
|
|
-// 'header' => '二市场结余业绩',
|
|
|
-// 'value' => function($row) {
|
|
|
-// return (new Price([
|
|
|
-// 'value' => $row['SURPLUS_2L'],
|
|
|
-// ]))->result();
|
|
|
-// },
|
|
|
-// 'headerOther' => [
|
|
|
-// 'width' => '120',
|
|
|
-// 'prop'=>'SURPLUS_2L',
|
|
|
+// 'valueOther' => [
|
|
|
+// 'tag'=>['type'=>'info', 'size' => 'small', 'class'=>'no-border']
|
|
|
// ],
|
|
|
// ],
|
|
|
-// 'UP_SURPLUS_2L' => [
|
|
|
-// 'header' => '当前二市场结余业绩',
|
|
|
-// 'value' => function($row) {
|
|
|
-// return (new Price([
|
|
|
-// 'value' => $row['UP_SURPLUS_2L'],
|
|
|
-// ]))->result();
|
|
|
-// },
|
|
|
+// 'LAST_REAL_NAME' => [
|
|
|
+// 'header' => 'Member name',//会员姓名
|
|
|
// 'headerOther' => [
|
|
|
// 'width' => '120',
|
|
|
-// 'prop'=>'UP_SURPLUS_2L',
|
|
|
// ],
|
|
|
-// ],
|
|
|
-// 'PV_3L' => [
|
|
|
-// 'header' => '三市场新增业绩',
|
|
|
-// 'value' => function($row) {
|
|
|
-// return (new Price([
|
|
|
-// 'value' => $row['PV_3L'],
|
|
|
-// ]))->result();
|
|
|
-// },
|
|
|
-// 'headerOther' => [
|
|
|
-// 'width' => '120',
|
|
|
-// 'prop'=>'PV_3L',
|
|
|
+// 'valueOther' => [
|
|
|
+// 'tag'=>['type'=>'success', 'size' => 'small', 'class'=>'no-border']
|
|
|
// ],
|
|
|
// ],
|
|
|
-// 'SURPLUS_3L' => [
|
|
|
-// 'header' => '三市场结余业绩',
|
|
|
-// 'value' => function($row) {
|
|
|
-// return (new Price([
|
|
|
-// 'value' => $row['SURPLUS_3L'],
|
|
|
-// ]))->result();
|
|
|
-// },
|
|
|
+// 'LAST_DEC_LV_NAME' => [
|
|
|
+// 'header' => 'Member level at settlement',//结算时会员级别
|
|
|
// 'headerOther' => [
|
|
|
// 'width' => '120',
|
|
|
-// 'prop'=>'SURPLUS_3L',
|
|
|
// ],
|
|
|
// ],
|
|
|
-// 'UP_SURPLUS_3L' => [
|
|
|
-// 'header' => '当前三市场结余业绩',
|
|
|
-// 'value' => function($row) {
|
|
|
-// return (new Price([
|
|
|
-// 'value' => $row['UP_SURPLUS_3L'],
|
|
|
-// ]))->result();
|
|
|
-// },
|
|
|
+// 'LAST_EMP_LV_NAME' => [
|
|
|
+// 'header' => 'Member rank at settlement',//结算时会员聘级
|
|
|
// 'headerOther' => [
|
|
|
-// 'width' => '120',
|
|
|
-// 'prop'=>'UP_SURPLUS_3L',
|
|
|
+// 'width' => '140',
|
|
|
// ],
|
|
|
// ],
|
|
|
- 'BONUS_TG' => [
|
|
|
- 'header' => 'Welcome Bonus',//销售奖金
|
|
|
- 'value' => function($row) {
|
|
|
- return (new Price([
|
|
|
- 'value' => $row['BONUS_TG'],
|
|
|
- ]))->result();
|
|
|
- },
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '130',
|
|
|
- 'prop'=>'BONUS_TG',
|
|
|
- ],
|
|
|
- ],
|
|
|
- 'ORI_BONUS_TG' => [
|
|
|
- 'header' => 'Original amount of Welcome Bonus',//销售奖金原金额
|
|
|
- 'value' => function($row) {
|
|
|
- return (new Price([
|
|
|
- 'value' => $row['ORI_BONUS_TG'],
|
|
|
- ]))->result();
|
|
|
- },
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '120',
|
|
|
- 'prop'=>'ORI_BONUS_TG',
|
|
|
- ],
|
|
|
- ],
|
|
|
- 'BONUS_QY' => [
|
|
|
- 'header' => 'Team Bonus',//绩效奖金
|
|
|
- 'value' => function($row) {
|
|
|
- return (new Price([
|
|
|
- 'value' => $row['BONUS_QY'],
|
|
|
- ]))->result();
|
|
|
- },
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '120',
|
|
|
- 'prop'=>'BONUS_QY',
|
|
|
- ],
|
|
|
- ],
|
|
|
- 'ORI_BONUS_QY' => [
|
|
|
- 'header' => 'Original amount of Team Bonus',//绩效奖金原金额
|
|
|
- 'value' => function($row) {
|
|
|
- return (new Price([
|
|
|
- 'value' => $row['ORI_BONUS_QY'],
|
|
|
- ]))->result();
|
|
|
- },
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '120',
|
|
|
- 'prop'=>'ORI_BONUS_QY',
|
|
|
- ],
|
|
|
- ],
|
|
|
- 'ORI_CAPPED_BONUS_QY' => [
|
|
|
- 'header' => 'Uncapped amount of Team Award',//绩效奖未封顶金额
|
|
|
- 'value' => function($row) {
|
|
|
- return (new Price([
|
|
|
- 'value' => $row['ORI_CAPPED_BONUS_QY'],
|
|
|
- ]))->result();
|
|
|
- },
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '120',
|
|
|
- 'prop'=>'ORI_CAPPED_BONUS_QY',
|
|
|
- ],
|
|
|
- ],
|
|
|
-// 'ORI_BONUS_QY_BD' => [
|
|
|
-// 'header' => 'Original amount of declaration Team Award',//报单团队奖原金额
|
|
|
-// 'value' => function($row) {
|
|
|
-// return (new Price([
|
|
|
-// 'value' => $row['ORI_BONUS_QY_BD'],
|
|
|
-// ]))->result();
|
|
|
-// },
|
|
|
+// 'LAST_STAR_LV_NAME' => [
|
|
|
+// 'header' => 'Member star at settlement',//结算时会员聘级
|
|
|
// 'headerOther' => [
|
|
|
-// 'width' => '120',
|
|
|
-// 'prop'=>'ORI_BONUS_QY_BD',
|
|
|
+// 'width' => '140',
|
|
|
// ],
|
|
|
// ],
|
|
|
- 'BONUS_BS' => [
|
|
|
- 'header' => 'Director Bonus',// 管理奖/蓝星奖
|
|
|
- 'value' => function($row) {
|
|
|
- return (new Price([
|
|
|
- 'value' => $row['BONUS_BS'],
|
|
|
- ]))->result();
|
|
|
- },
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '120',
|
|
|
- 'prop'=>'BONUS_BS',
|
|
|
- ],
|
|
|
- ],
|
|
|
- 'ORI_BONUS_BS' => [
|
|
|
- 'header' => 'Original amount of Director Bonus',
|
|
|
- 'value' => function($row) {
|
|
|
- return (new Price([
|
|
|
- 'value' => $row['ORI_BONUS_BS'],
|
|
|
- ]))->result();
|
|
|
- },
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '120',
|
|
|
- 'prop'=>'ORI_BONUS_BS',
|
|
|
- ],
|
|
|
- ],
|
|
|
- // 'REAL_BONUS_BS' => [
|
|
|
- // 'header' => '实发蓝星管理奖',
|
|
|
- // 'value' => function($row) {
|
|
|
- // return (new Price([
|
|
|
- // 'value' => $row['REAL_BONUS_BS'],
|
|
|
- // ]))->result();
|
|
|
- // },
|
|
|
- // 'headerOther' => [
|
|
|
- // 'width' => '120',
|
|
|
- // 'prop'=>'REAL_BONUS_BS',
|
|
|
- // ],
|
|
|
- // ],
|
|
|
-// 'BONUS_BS_MNT' => [
|
|
|
-// 'header' => 'Bluestar Management Award',//蓝星管理奖
|
|
|
-// 'value' => function($row) {
|
|
|
-// return (new Price([
|
|
|
-// 'value' => $row['BONUS_BS_MNT'],
|
|
|
-// ]))->result();
|
|
|
-// },
|
|
|
+// 'LAST_MOBILE' => [
|
|
|
+// 'header' => 'Phone Number',//手机号码
|
|
|
// 'headerOther' => [
|
|
|
// 'width' => '120',
|
|
|
-// 'prop' => 'BONUS_BS_MNT',
|
|
|
// ],
|
|
|
// ],
|
|
|
-// 'ORI_BONUS_BS_MNT' => [
|
|
|
-// 'header' => 'Original amount of Bluestar Management Award',//蓝星管理奖原金额
|
|
|
-// 'value' => function($row) {
|
|
|
-// return (new Price([
|
|
|
-// 'value' => $row['ORI_BONUS_BS_MNT'],
|
|
|
-// ]))->result();
|
|
|
-// },
|
|
|
+// 'LAST_PERIOD_AT' => [
|
|
|
+// 'header' => 'Joining Period', // 加入期数
|
|
|
// 'headerOther' => [
|
|
|
-// 'width' => '120',
|
|
|
-// 'prop' => 'ORI_BONUS_BS_MNT',
|
|
|
+// 'width' => '100',
|
|
|
// ],
|
|
|
// ],
|
|
|
-// 'BONUS_BS_ABBR' => [
|
|
|
-// 'header' => 'Blue star performance award',//蓝星业绩奖
|
|
|
+// 'LAST_CREATED_AT' => [
|
|
|
+// 'header' => 'Joining Date', // 加入时间
|
|
|
// 'value' => function($row) {
|
|
|
-// return (new Price([
|
|
|
-// 'value' => $row['BONUS_BS_ABBR'],
|
|
|
+// return (new DateTime([
|
|
|
+// 'value' => $row['LAST_CREATED_AT'],
|
|
|
// ]))->result();
|
|
|
// },
|
|
|
-// 'headerOther' => [
|
|
|
-// 'width' => '120',
|
|
|
-// 'prop' => 'BONUS_BS_ABBR',
|
|
|
-// ],
|
|
|
-// ],
|
|
|
-// 'ORI_BONUS_BS_ABBR' => [
|
|
|
-// 'header' => 'Original amount of blue star performance award',//蓝星业绩奖原金额
|
|
|
-// 'value' => function($row) {
|
|
|
-// return (new Price([
|
|
|
-// 'value' => $row['ORI_BONUS_BS_ABBR'],
|
|
|
-// ]))->result();
|
|
|
-// },
|
|
|
-// 'headerOther' => [
|
|
|
-// 'width' => '120',
|
|
|
-// 'prop' => 'ORI_BONUS_BS_ABBR',
|
|
|
-// ],
|
|
|
-// ],
|
|
|
-// 'BONUS_GX' => [
|
|
|
-// 'header' => '共享奖',
|
|
|
-// 'value' => function($row) {
|
|
|
-// return (new Price([
|
|
|
-// 'value' => $row['BONUS_GX'],
|
|
|
-// ]))->result();
|
|
|
-// },
|
|
|
-// 'headerOther' => [
|
|
|
-// 'width' => '120',
|
|
|
-// 'prop'=>'BONUS_GX',
|
|
|
-// ],
|
|
|
+// 'headerOther' => ['width' => '170'],
|
|
|
// ],
|
|
|
-// 'ORI_BONUS_GX' => [
|
|
|
-// 'header' => '共享奖原金额',
|
|
|
-// 'value' => function($row) {
|
|
|
-// return (new Price([
|
|
|
-// 'value' => $row['ORI_BONUS_GX'],
|
|
|
-// ]))->result();
|
|
|
-// },
|
|
|
+// 'LAST_REC_USER_NAME' => [
|
|
|
+// 'header' => 'Sponsor No',//开拓者编号
|
|
|
// 'headerOther' => [
|
|
|
-// 'width' => '120',
|
|
|
-// 'prop'=>'ORI_BONUS_GX',
|
|
|
+// 'width' => '150',
|
|
|
// ],
|
|
|
// ],
|
|
|
-// 'REAL_BONUS_GX' => [
|
|
|
-// 'header' => '实发共享奖',
|
|
|
-// 'value' => function($row) {
|
|
|
-// return (new Price([
|
|
|
-// 'value' => $row['REAL_BONUS_GX'],
|
|
|
-// ]))->result();
|
|
|
-// },
|
|
|
+// 'LAST_REC_REAL_NAME' => [
|
|
|
+// 'header' => 'Sponsor Name',//开拓者姓名
|
|
|
// 'headerOther' => [
|
|
|
// 'width' => '120',
|
|
|
-// 'prop'=>'REAL_BONUS_GX',
|
|
|
// ],
|
|
|
// ],
|
|
|
- 'BONUS_BD' => [
|
|
|
- 'header' => 'Stockist Commission',// 服务奖
|
|
|
- 'value' => function($row) {
|
|
|
- return (new Price([
|
|
|
- 'value' => $row['BONUS_BD'],
|
|
|
- ]))->result();
|
|
|
- },
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '120',
|
|
|
- 'prop'=>'BONUS_BD',
|
|
|
- ],
|
|
|
- ],
|
|
|
- 'ORI_BONUS_BD' => [
|
|
|
- 'header' => 'Original amount of Stockist Commission',//服务奖原金额
|
|
|
- 'value' => function($row) {
|
|
|
- return (new Price([
|
|
|
- 'value' => $row['ORI_BONUS_BD'],
|
|
|
- ]))->result();
|
|
|
- },
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '120',
|
|
|
- 'prop'=>'ORI_BONUS_BD',
|
|
|
- ],
|
|
|
- ],
|
|
|
- 'REAL_BONUS_QUARTER' => [
|
|
|
- 'header' => 'Quarterly Bonus',// 季度分红
|
|
|
- 'value' => function($row) {
|
|
|
- return (new Price([
|
|
|
- 'value' => $row['REAL_BONUS_QUARTER'],
|
|
|
- ]))->result();
|
|
|
- },
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '120',
|
|
|
- 'prop'=>'REAL_BONUS_QUARTER',
|
|
|
- ],
|
|
|
- ],
|
|
|
- 'ORI_BONUS_QUARTER' => [
|
|
|
- 'header' => 'Original amount of Quarterly Bonus',//季度分红原金额
|
|
|
- 'value' => function($row) {
|
|
|
- return (new Price([
|
|
|
- 'value' => $row['ORI_BONUS_QUARTER'],
|
|
|
- ]))->result();
|
|
|
- },
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '120',
|
|
|
- 'prop'=>'ORI_BONUS_QUARTER',
|
|
|
- ],
|
|
|
- ],
|
|
|
- 'BONUS_REAL' => [
|
|
|
- 'header' => 'Actual Bonus',//实发奖金
|
|
|
- 'value' => function($row) {
|
|
|
- return (new Price([
|
|
|
- 'value' => $row['BONUS_REAL'],
|
|
|
- ]))->result();
|
|
|
- },
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '120',
|
|
|
- 'prop'=>'BONUS_REAL',
|
|
|
- ],
|
|
|
- ],
|
|
|
- 'BONUS_TOTAL' => [
|
|
|
- 'header' => 'Total Bonus',//总奖金
|
|
|
- 'value' => function($row) {
|
|
|
- return (new Price([
|
|
|
- 'value' => $row['BONUS_TOTAL'],
|
|
|
- ]))->result();
|
|
|
- },
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '120',
|
|
|
- 'prop'=>'BONUS_TOTAL',
|
|
|
- ],
|
|
|
- ],
|
|
|
-// 'MANAGE_TAX' => [
|
|
|
-// 'header' => 'Management Expense',//管理费
|
|
|
-// 'value' => function($row) {
|
|
|
-// return (new Price([
|
|
|
-// 'value' => $row['MANAGE_TAX'],
|
|
|
-// ]))->result();
|
|
|
-// },
|
|
|
+// 'LAST_CON_USER_NAME' => [
|
|
|
+// 'header' => 'Superior code',//上级编号
|
|
|
// 'headerOther' => [
|
|
|
-// 'width' => '120',
|
|
|
-// 'prop'=>'MANAGE_TAX',
|
|
|
+// 'width' => '150',
|
|
|
// ],
|
|
|
// ],
|
|
|
-// 'RECONSUME_POINTS' => [
|
|
|
-// 'header' => '复销积分',
|
|
|
-// 'value' => function($row) {
|
|
|
-// return (new Price([
|
|
|
-// 'value' => $row['RECONSUME_POINTS'],
|
|
|
-// ]))->result();
|
|
|
-// },
|
|
|
+// 'LAST_CON_REAL_NAME' => [
|
|
|
+// 'header' => 'Superior name',//上级姓名
|
|
|
// 'headerOther' => [
|
|
|
// 'width' => '120',
|
|
|
-// 'prop'=>'RECONSUME_POINTS',
|
|
|
// ],
|
|
|
// ],
|
|
|
- 'BONUS_INCOME' => [
|
|
|
- 'header' => 'Total revenue',//总收入
|
|
|
- 'value' => function($row) {
|
|
|
- return (new Price([
|
|
|
- 'value' => $row['BONUS_INCOME'],
|
|
|
- ]))->result();
|
|
|
- },
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '120',
|
|
|
- 'prop'=>'BONUS_INCOME',
|
|
|
- ],
|
|
|
- ],
|
|
|
-// 'ORI_BONUS_STANDARD' => [
|
|
|
-// 'header' => '团队成长奖',
|
|
|
+//// 'PV_1L' => [
|
|
|
+//// 'header' => '一市场新增业绩',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['PV_1L'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'PV_1L',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'SURPLUS_1L' => [
|
|
|
+//// 'header' => '一市场结余业绩',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['SURPLUS_1L'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'SURPLUS_1L',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'UP_SURPLUS_1L' => [
|
|
|
+//// 'header' => '当前一市场结余业绩',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['UP_SURPLUS_1L'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'UP_SURPLUS_1L',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'PV_2L' => [
|
|
|
+//// 'header' => '二市场新增业绩',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['PV_2L'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'PV_2L',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'SURPLUS_2L' => [
|
|
|
+//// 'header' => '二市场结余业绩',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['SURPLUS_2L'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'SURPLUS_2L',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'UP_SURPLUS_2L' => [
|
|
|
+//// 'header' => '当前二市场结余业绩',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['UP_SURPLUS_2L'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'UP_SURPLUS_2L',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'PV_3L' => [
|
|
|
+//// 'header' => '三市场新增业绩',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['PV_3L'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'PV_3L',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'SURPLUS_3L' => [
|
|
|
+//// 'header' => '三市场结余业绩',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['SURPLUS_3L'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'SURPLUS_3L',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'UP_SURPLUS_3L' => [
|
|
|
+//// 'header' => '当前三市场结余业绩',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['UP_SURPLUS_3L'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'UP_SURPLUS_3L',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+// 'BONUS_TG' => [
|
|
|
+// 'header' => 'Welcome Bonus',//销售奖金
|
|
|
// 'value' => function($row) {
|
|
|
// return (new Price([
|
|
|
-// 'value' => $row['ORI_BONUS_STANDARD'],
|
|
|
+// 'value' => $row['BONUS_TG'],
|
|
|
// ]))->result();
|
|
|
// },
|
|
|
// 'headerOther' => [
|
|
|
-// 'width' => '120',
|
|
|
-// 'prop'=>'ORI_BONUS_STANDARD',
|
|
|
+// 'width' => '130',
|
|
|
+// 'prop'=>'BONUS_TG',
|
|
|
// ],
|
|
|
// ],
|
|
|
- 'CALC_MONTH' => [
|
|
|
- 'header' => 'Bonus Month',//结算月
|
|
|
- 'headerOther' => [
|
|
|
- 'width' => '100',
|
|
|
- ],
|
|
|
- ],
|
|
|
-// 'BONUS_XF' => [
|
|
|
-// 'header' => '消费奖',
|
|
|
+// 'ORI_BONUS_TG' => [
|
|
|
+// 'header' => 'Original amount of Welcome Bonus',//销售奖金原金额
|
|
|
// 'value' => function($row) {
|
|
|
// return (new Price([
|
|
|
-// 'value' => $row['BONUS_XF'],
|
|
|
+// 'value' => $row['ORI_BONUS_TG'],
|
|
|
// ]))->result();
|
|
|
// },
|
|
|
// 'headerOther' => [
|
|
|
// 'width' => '120',
|
|
|
-// 'prop'=>'BONUS_XF',
|
|
|
+// 'prop'=>'ORI_BONUS_TG',
|
|
|
// ],
|
|
|
// ],
|
|
|
-// 'ORI_BONUS_XF' => [
|
|
|
-// 'header' => '消费奖原金额',
|
|
|
+// 'BONUS_QY' => [
|
|
|
+// 'header' => 'Team Bonus',//绩效奖金
|
|
|
// 'value' => function($row) {
|
|
|
// return (new Price([
|
|
|
-// 'value' => $row['ORI_BONUS_XF'],
|
|
|
+// 'value' => $row['BONUS_QY'],
|
|
|
// ]))->result();
|
|
|
// },
|
|
|
// 'headerOther' => [
|
|
|
// 'width' => '120',
|
|
|
-// 'prop'=>'ORI_BONUS_XF',
|
|
|
+// 'prop'=>'BONUS_QY',
|
|
|
// ],
|
|
|
// ],
|
|
|
-// 'BONUS_YJ' => [
|
|
|
-// 'header' => '业绩奖',
|
|
|
+// 'ORI_BONUS_QY' => [
|
|
|
+// 'header' => 'Original amount of Team Bonus',//绩效奖金原金额
|
|
|
// 'value' => function($row) {
|
|
|
// return (new Price([
|
|
|
-// 'value' => $row['BONUS_YJ'],
|
|
|
+// 'value' => $row['ORI_BONUS_QY'],
|
|
|
// ]))->result();
|
|
|
// },
|
|
|
// 'headerOther' => [
|
|
|
// 'width' => '120',
|
|
|
-// 'prop'=>'BONUS_YJ',
|
|
|
+// 'prop'=>'ORI_BONUS_QY',
|
|
|
// ],
|
|
|
// ],
|
|
|
-// 'ORI_BONUS_YJ' => [
|
|
|
-// 'header' => '业绩奖原金额',
|
|
|
+// 'ORI_CAPPED_BONUS_QY' => [
|
|
|
+// 'header' => 'Uncapped amount of Team Award',//绩效奖未封顶金额
|
|
|
// 'value' => function($row) {
|
|
|
// return (new Price([
|
|
|
-// 'value' => $row['ORI_BONUS_YJ'],
|
|
|
+// 'value' => $row['ORI_CAPPED_BONUS_QY'],
|
|
|
// ]))->result();
|
|
|
// },
|
|
|
// 'headerOther' => [
|
|
|
// 'width' => '120',
|
|
|
-// 'prop'=>'ORI_BONUS_YJ',
|
|
|
+// 'prop'=>'ORI_CAPPED_BONUS_QY',
|
|
|
// ],
|
|
|
// ],
|
|
|
-// 'BONUS_YC' => [
|
|
|
-// 'header' => '荣衔奖',
|
|
|
+//// 'ORI_BONUS_QY_BD' => [
|
|
|
+//// 'header' => 'Original amount of declaration Team Award',//报单团队奖原金额
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['ORI_BONUS_QY_BD'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'ORI_BONUS_QY_BD',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+// 'BONUS_BS' => [
|
|
|
+// 'header' => 'Director Bonus',// 管理奖/蓝星奖
|
|
|
// 'value' => function($row) {
|
|
|
// return (new Price([
|
|
|
-// 'value' => $row['BONUS_YC'],
|
|
|
+// 'value' => $row['BONUS_BS'],
|
|
|
// ]))->result();
|
|
|
// },
|
|
|
// 'headerOther' => [
|
|
|
// 'width' => '120',
|
|
|
-// 'prop'=>'BONUS_YC',
|
|
|
+// 'prop'=>'BONUS_BS',
|
|
|
// ],
|
|
|
// ],
|
|
|
-// 'ORI_BONUS_YC' => [
|
|
|
-// 'header' => '荣衔奖原金额',
|
|
|
+// 'ORI_BONUS_BS' => [
|
|
|
+// 'header' => 'Original amount of Director Bonus',
|
|
|
// 'value' => function($row) {
|
|
|
// return (new Price([
|
|
|
-// 'value' => $row['ORI_BONUS_YC'],
|
|
|
+// 'value' => $row['ORI_BONUS_BS'],
|
|
|
// ]))->result();
|
|
|
// },
|
|
|
// 'headerOther' => [
|
|
|
// 'width' => '120',
|
|
|
-// 'prop'=>'ORI_BONUS_YC',
|
|
|
+// 'prop'=>'ORI_BONUS_BS',
|
|
|
// ],
|
|
|
// ],
|
|
|
-// 'BONUS_VIP' => [
|
|
|
-// 'header' => 'VIP奖',
|
|
|
+// // 'REAL_BONUS_BS' => [
|
|
|
+// // 'header' => '实发蓝星管理奖',
|
|
|
+// // 'value' => function($row) {
|
|
|
+// // return (new Price([
|
|
|
+// // 'value' => $row['REAL_BONUS_BS'],
|
|
|
+// // ]))->result();
|
|
|
+// // },
|
|
|
+// // 'headerOther' => [
|
|
|
+// // 'width' => '120',
|
|
|
+// // 'prop'=>'REAL_BONUS_BS',
|
|
|
+// // ],
|
|
|
+// // ],
|
|
|
+//// 'BONUS_BS_MNT' => [
|
|
|
+//// 'header' => 'Bluestar Management Award',//蓝星管理奖
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['BONUS_BS_MNT'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop' => 'BONUS_BS_MNT',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'ORI_BONUS_BS_MNT' => [
|
|
|
+//// 'header' => 'Original amount of Bluestar Management Award',//蓝星管理奖原金额
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['ORI_BONUS_BS_MNT'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop' => 'ORI_BONUS_BS_MNT',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'BONUS_BS_ABBR' => [
|
|
|
+//// 'header' => 'Blue star performance award',//蓝星业绩奖
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['BONUS_BS_ABBR'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop' => 'BONUS_BS_ABBR',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'ORI_BONUS_BS_ABBR' => [
|
|
|
+//// 'header' => 'Original amount of blue star performance award',//蓝星业绩奖原金额
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['ORI_BONUS_BS_ABBR'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop' => 'ORI_BONUS_BS_ABBR',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'BONUS_GX' => [
|
|
|
+//// 'header' => '共享奖',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['BONUS_GX'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'BONUS_GX',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'ORI_BONUS_GX' => [
|
|
|
+//// 'header' => '共享奖原金额',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['ORI_BONUS_GX'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'ORI_BONUS_GX',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'REAL_BONUS_GX' => [
|
|
|
+//// 'header' => '实发共享奖',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['REAL_BONUS_GX'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'REAL_BONUS_GX',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+// 'BONUS_BD' => [
|
|
|
+// 'header' => 'Stockist Commission',// 服务奖
|
|
|
// 'value' => function($row) {
|
|
|
// return (new Price([
|
|
|
-// 'value' => $row['BONUS_VIP'],
|
|
|
+// 'value' => $row['BONUS_BD'],
|
|
|
// ]))->result();
|
|
|
// },
|
|
|
// 'headerOther' => [
|
|
|
// 'width' => '120',
|
|
|
-// 'prop'=>'BONUS_VIP',
|
|
|
+// 'prop'=>'BONUS_BD',
|
|
|
// ],
|
|
|
// ],
|
|
|
-// 'ORI_BONUS_VIP' => [
|
|
|
-// 'header' => 'VIP奖原金额',
|
|
|
+// 'ORI_BONUS_BD' => [
|
|
|
+// 'header' => 'Original amount of Stockist Commission',//服务奖原金额
|
|
|
// 'value' => function($row) {
|
|
|
// return (new Price([
|
|
|
-// 'value' => $row['ORI_BONUS_VIP'],
|
|
|
+// 'value' => $row['ORI_BONUS_BD'],
|
|
|
// ]))->result();
|
|
|
// },
|
|
|
// 'headerOther' => [
|
|
|
// 'width' => '120',
|
|
|
-// 'prop'=>'ORI_BONUS_VIP',
|
|
|
+// 'prop'=>'ORI_BONUS_BD',
|
|
|
// ],
|
|
|
// ],
|
|
|
-// 'BONUS_GL' => [
|
|
|
-// 'header' => '管理奖',
|
|
|
+// 'REAL_BONUS_QUARTER' => [
|
|
|
+// 'header' => 'Quarterly Bonus',// 季度分红
|
|
|
// 'value' => function($row) {
|
|
|
// return (new Price([
|
|
|
-// 'value' => $row['BONUS_GL'],
|
|
|
+// 'value' => $row['REAL_BONUS_QUARTER'],
|
|
|
// ]))->result();
|
|
|
// },
|
|
|
// 'headerOther' => [
|
|
|
// 'width' => '120',
|
|
|
-// 'prop'=>'BONUS_GL',
|
|
|
+// 'prop'=>'REAL_BONUS_QUARTER',
|
|
|
// ],
|
|
|
// ],
|
|
|
-// 'ORI_BONUS_GL' => [
|
|
|
-// 'header' => '管理奖原金额',
|
|
|
+// 'ORI_BONUS_QUARTER' => [
|
|
|
+// 'header' => 'Original amount of Quarterly Bonus',//季度分红原金额
|
|
|
// 'value' => function($row) {
|
|
|
// return (new Price([
|
|
|
-// 'value' => $row['ORI_BONUS_GL'],
|
|
|
+// 'value' => $row['ORI_BONUS_QUARTER'],
|
|
|
// ]))->result();
|
|
|
// },
|
|
|
// 'headerOther' => [
|
|
|
// 'width' => '120',
|
|
|
-// 'prop'=>'ORI_BONUS_GL',
|
|
|
+// 'prop'=>'ORI_BONUS_QUARTER',
|
|
|
// ],
|
|
|
// ],
|
|
|
-// 'REAL_BONUS_GL' => [
|
|
|
-// 'header' => '实发管理奖',
|
|
|
+// 'BONUS_REAL' => [
|
|
|
+// 'header' => 'Actual Bonus',//实发奖金
|
|
|
// 'value' => function($row) {
|
|
|
// return (new Price([
|
|
|
-// 'value' => $row['REAL_BONUS_GL'],
|
|
|
+// 'value' => $row['BONUS_REAL'],
|
|
|
// ]))->result();
|
|
|
// },
|
|
|
// 'headerOther' => [
|
|
|
// 'width' => '120',
|
|
|
-// 'prop'=>'REAL_BONUS_GL',
|
|
|
+// 'prop'=>'BONUS_REAL',
|
|
|
// ],
|
|
|
// ],
|
|
|
-// 'BONUS_FW' => [
|
|
|
-// 'header' => '服务奖',
|
|
|
+// 'BONUS_TOTAL' => [
|
|
|
+// 'header' => 'Total Bonus',//总奖金
|
|
|
// 'value' => function($row) {
|
|
|
// return (new Price([
|
|
|
-// 'value' => $row['BONUS_FW'],
|
|
|
+// 'value' => $row['BONUS_TOTAL'],
|
|
|
// ]))->result();
|
|
|
// },
|
|
|
// 'headerOther' => [
|
|
|
// 'width' => '120',
|
|
|
-// 'prop'=>'BONUS_FW',
|
|
|
+// 'prop'=>'BONUS_TOTAL',
|
|
|
// ],
|
|
|
// ],
|
|
|
-// 'ORI_BONUS_FW' => [
|
|
|
-// 'header' => '服务奖原金额',
|
|
|
+//// 'MANAGE_TAX' => [
|
|
|
+//// 'header' => 'Management Expense',//管理费
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['MANAGE_TAX'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'MANAGE_TAX',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'RECONSUME_POINTS' => [
|
|
|
+//// 'header' => '复销积分',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['RECONSUME_POINTS'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'RECONSUME_POINTS',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+// 'BONUS_INCOME' => [
|
|
|
+// 'header' => 'Total revenue',//总收入
|
|
|
// 'value' => function($row) {
|
|
|
// return (new Price([
|
|
|
-// 'value' => $row['ORI_BONUS_FW'],
|
|
|
+// 'value' => $row['BONUS_INCOME'],
|
|
|
// ]))->result();
|
|
|
// },
|
|
|
// 'headerOther' => [
|
|
|
// 'width' => '120',
|
|
|
-// 'prop'=>'ORI_BONUS_FW',
|
|
|
+// 'prop'=>'BONUS_INCOME',
|
|
|
// ],
|
|
|
// ],
|
|
|
-
|
|
|
-
|
|
|
- ];
|
|
|
- }
|
|
|
- return $this->columns;
|
|
|
- }
|
|
|
-
|
|
|
- /**
|
|
|
- * 前台用于筛选的类型集合
|
|
|
- * @return mixed
|
|
|
- */
|
|
|
- public function getFilterTypes()
|
|
|
- {
|
|
|
- if(!$this->filterTypes){
|
|
|
- $this->filterTypes = [
|
|
|
- 'LAST_USER_NAME'=> ['isUserTable'=> false, 'name'=> 'Member code'],//会员编号
|
|
|
- 'LAST_REAL_NAME'=> ['isUserTable'=> false, 'name'=> 'Member name'],//会员姓名
|
|
|
- 'LAST_DEC_LV_NAME'=> ['isUserTable'=> false, 'name'=> 'Member level at settlement', 'other'=> 'decLevel'],//结算时会员级别
|
|
|
- 'LAST_EMP_LV_NAME'=> ['isUserTable'=> false, 'name'=> 'Member rank at settlement', 'other'=> 'empLevel'],//结算时会员聘级
|
|
|
- 'LAST_MOBILE'=> ['isUserTable'=> false, 'name'=> 'Phone Number'],//手机号
|
|
|
- 'LAST_PERIOD_AT'=> ['isUserTable'=> false, 'name'=> 'Joining Period'], // 加入期数
|
|
|
+//// 'ORI_BONUS_STANDARD' => [
|
|
|
+//// 'header' => '团队成长奖',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['ORI_BONUS_STANDARD'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'ORI_BONUS_STANDARD',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+// 'CALC_MONTH' => [
|
|
|
+// 'header' => 'Bonus Month',//结算月
|
|
|
+// 'headerOther' => [
|
|
|
+// 'width' => '100',
|
|
|
+// ],
|
|
|
+// ],
|
|
|
+//// 'BONUS_XF' => [
|
|
|
+//// 'header' => '消费奖',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['BONUS_XF'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'BONUS_XF',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'ORI_BONUS_XF' => [
|
|
|
+//// 'header' => '消费奖原金额',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['ORI_BONUS_XF'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'ORI_BONUS_XF',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'BONUS_YJ' => [
|
|
|
+//// 'header' => '业绩奖',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['BONUS_YJ'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'BONUS_YJ',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'ORI_BONUS_YJ' => [
|
|
|
+//// 'header' => '业绩奖原金额',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['ORI_BONUS_YJ'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'ORI_BONUS_YJ',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'BONUS_YC' => [
|
|
|
+//// 'header' => '荣衔奖',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['BONUS_YC'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'BONUS_YC',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'ORI_BONUS_YC' => [
|
|
|
+//// 'header' => '荣衔奖原金额',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['ORI_BONUS_YC'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'ORI_BONUS_YC',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'BONUS_VIP' => [
|
|
|
+//// 'header' => 'VIP奖',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['BONUS_VIP'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'BONUS_VIP',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'ORI_BONUS_VIP' => [
|
|
|
+//// 'header' => 'VIP奖原金额',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['ORI_BONUS_VIP'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'ORI_BONUS_VIP',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'BONUS_GL' => [
|
|
|
+//// 'header' => '管理奖',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['BONUS_GL'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'BONUS_GL',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'ORI_BONUS_GL' => [
|
|
|
+//// 'header' => '管理奖原金额',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['ORI_BONUS_GL'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'ORI_BONUS_GL',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'REAL_BONUS_GL' => [
|
|
|
+//// 'header' => '实发管理奖',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['REAL_BONUS_GL'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'REAL_BONUS_GL',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'BONUS_FW' => [
|
|
|
+//// 'header' => '服务奖',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['BONUS_FW'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'BONUS_FW',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//// 'ORI_BONUS_FW' => [
|
|
|
+//// 'header' => '服务奖原金额',
|
|
|
+//// 'value' => function($row) {
|
|
|
+//// return (new Price([
|
|
|
+//// 'value' => $row['ORI_BONUS_FW'],
|
|
|
+//// ]))->result();
|
|
|
+//// },
|
|
|
+//// 'headerOther' => [
|
|
|
+//// 'width' => '120',
|
|
|
+//// 'prop'=>'ORI_BONUS_FW',
|
|
|
+//// ],
|
|
|
+//// ],
|
|
|
+//
|
|
|
+//
|
|
|
+// ];
|
|
|
+// }
|
|
|
+// return $this->columns;
|
|
|
+// }
|
|
|
+//
|
|
|
+// /**
|
|
|
+// * 前台用于筛选的类型集合
|
|
|
+// * @return mixed
|
|
|
+// */
|
|
|
+// public function getFilterTypes()
|
|
|
+// {
|
|
|
+// if(!$this->filterTypes){
|
|
|
+// $this->filterTypes = [
|
|
|
+// 'LAST_USER_NAME'=> ['isUserTable'=> false, 'name'=> 'Member code'],//会员编号
|
|
|
+// 'LAST_REAL_NAME'=> ['isUserTable'=> false, 'name'=> 'Member name'],//会员姓名
|
|
|
+// 'LAST_DEC_LV_NAME'=> ['isUserTable'=> false, 'name'=> 'Member level at settlement', 'other'=> 'decLevel'],//结算时会员级别
|
|
|
+// 'LAST_EMP_LV_NAME'=> ['isUserTable'=> false, 'name'=> 'Member rank at settlement', 'other'=> 'empLevel'],//结算时会员聘级
|
|
|
+// 'LAST_MOBILE'=> ['isUserTable'=> false, 'name'=> 'Phone Number'],//手机号
|
|
|
+// 'LAST_PERIOD_AT'=> ['isUserTable'=> false, 'name'=> 'Joining Period'], // 加入期数
|
|
|
// 'LAST_CREATED_AT'=> ['isUserTable'=> false, 'name'=> 'Joining Date', 'other'=> 'date'], // 加入时间
|
|
|
// 'CALCULATED_AT'=> ['isUserTable'=> false, 'name'=> 'Date', 'other'=> 'date'], // 备份时间
|
|
|
- 'LAST_REC_USER_NAME'=> ['isUserTable'=> false, 'name'=> 'Sponsor No'],//开拓者编号
|
|
|
- 'LAST_REC_REAL_NAME'=> ['isUserTable'=> false, 'name'=> 'Sponsor Name'],//开拓者姓名
|
|
|
- 'LAST_CON_USER_NAME'=> ['isUserTable'=> false, 'name'=> 'Superior Number'],//上级编号
|
|
|
- 'LAST_CON_REAL_NAME'=> ['isUserTable'=> false, 'name'=> 'Name of superior'],//上级姓名
|
|
|
- 'PV_1L'=> ['isUserTable'=> false, 'name'=> 'I. new market performance'],//一市场新增业绩
|
|
|
- 'SURPLUS_1L'=> ['isUserTable'=> false, 'name'=> 'I. market balance performance'],//一市场结余业绩
|
|
|
- 'PV_2L'=> ['isUserTable'=> false, 'name'=> 'II. new market performance'],//二市场新增业绩
|
|
|
- 'SURPLUS_2L'=> ['isUserTable'=> false, 'name'=> 'II. market balance performance'],//二市场结余业绩
|
|
|
-// 'PV_3L'=> ['isUserTable'=> false, 'name'=> 'III. new market performance'],//三市场新增业绩
|
|
|
-// 'SURPLUS_3L'=> ['isUserTable'=> false, 'name'=> 'III. market balance performance'],//三市场结余业绩
|
|
|
- 'BONUS_BD'=> ['isUserTable'=> false, 'name'=> 'Stockist Commission'],//服务奖
|
|
|
-// 'BONUS_TG'=> ['isUserTable'=> false, 'name'=> 'Promotion Award'],//推广奖
|
|
|
-// 'BONUS_XF'=> ['isUserTable'=> false, 'name'=> 'Consumption Award'],//消费奖
|
|
|
-// 'BONUS_YJ'=> ['isUserTable'=> false, 'name'=> 'Performance Award'],//业绩奖
|
|
|
-// 'BONUS_GX'=> ['isUserTable'=> false, 'name'=> 'Sharing Award'],//共享奖
|
|
|
- 'BONUS_GL'=> ['isUserTable'=> false, 'name'=> 'Management Award'],//管理奖
|
|
|
- 'BONUS_QY'=> ['isUserTable'=> false, 'name'=> 'Team award'],//团队奖
|
|
|
-// 'BONUS_YC'=> ['isUserTable'=> false, 'name'=> 'Honor Award'],//荣衔奖
|
|
|
-// 'ORI_BONUS_STANDARD'=> ['isUserTable'=> false, 'name'=> 'Team growth Award'],//团队成长奖
|
|
|
- 'CALC_MONTH'=> ['isUserTable'=> false, 'name'=> 'Bonus Month'],//结算月
|
|
|
- ];
|
|
|
- }
|
|
|
- return $this->filterTypes;
|
|
|
- }
|
|
|
+// 'LAST_REC_USER_NAME'=> ['isUserTable'=> false, 'name'=> 'Sponsor No'],//开拓者编号
|
|
|
+// 'LAST_REC_REAL_NAME'=> ['isUserTable'=> false, 'name'=> 'Sponsor Name'],//开拓者姓名
|
|
|
+// 'LAST_CON_USER_NAME'=> ['isUserTable'=> false, 'name'=> 'Superior Number'],//上级编号
|
|
|
+// 'LAST_CON_REAL_NAME'=> ['isUserTable'=> false, 'name'=> 'Name of superior'],//上级姓名
|
|
|
+// 'PV_1L'=> ['isUserTable'=> false, 'name'=> 'I. new market performance'],//一市场新增业绩
|
|
|
+// 'SURPLUS_1L'=> ['isUserTable'=> false, 'name'=> 'I. market balance performance'],//一市场结余业绩
|
|
|
+// 'PV_2L'=> ['isUserTable'=> false, 'name'=> 'II. new market performance'],//二市场新增业绩
|
|
|
+// 'SURPLUS_2L'=> ['isUserTable'=> false, 'name'=> 'II. market balance performance'],//二市场结余业绩
|
|
|
+//// 'PV_3L'=> ['isUserTable'=> false, 'name'=> 'III. new market performance'],//三市场新增业绩
|
|
|
+//// 'SURPLUS_3L'=> ['isUserTable'=> false, 'name'=> 'III. market balance performance'],//三市场结余业绩
|
|
|
+// 'BONUS_BD'=> ['isUserTable'=> false, 'name'=> 'Stockist Commission'],//服务奖
|
|
|
+//// 'BONUS_TG'=> ['isUserTable'=> false, 'name'=> 'Promotion Award'],//推广奖
|
|
|
+//// 'BONUS_XF'=> ['isUserTable'=> false, 'name'=> 'Consumption Award'],//消费奖
|
|
|
+//// 'BONUS_YJ'=> ['isUserTable'=> false, 'name'=> 'Performance Award'],//业绩奖
|
|
|
+//// 'BONUS_GX'=> ['isUserTable'=> false, 'name'=> 'Sharing Award'],//共享奖
|
|
|
+// 'BONUS_GL'=> ['isUserTable'=> false, 'name'=> 'Management Award'],//管理奖
|
|
|
+// 'BONUS_QY'=> ['isUserTable'=> false, 'name'=> 'Team award'],//团队奖
|
|
|
+//// 'BONUS_YC'=> ['isUserTable'=> false, 'name'=> 'Honor Award'],//荣衔奖
|
|
|
+//// 'ORI_BONUS_STANDARD'=> ['isUserTable'=> false, 'name'=> 'Team growth Award'],//团队成长奖
|
|
|
+// 'CALC_MONTH'=> ['isUserTable'=> false, 'name'=> 'Bonus Month'],//结算月
|
|
|
+// ];
|
|
|
+// }
|
|
|
+// return $this->filterTypes;
|
|
|
+// }
|
|
|
}
|