比例功能提交

master
zhengyongxing 4 years ago
parent 823e241f2e
commit a5c7c224aa

@ -982,6 +982,7 @@ class CompanyGameRatioController extends AdminController
$radio = explode('|',$v['ratio']); $radio = explode('|',$v['ratio']);
$turnover_ratio = explode('|',$v['turnover_ratio']); $turnover_ratio = explode('|',$v['turnover_ratio']);
$turnover_type = $v['turnover_types'];
$sec_row = 1; $sec_row = 1;
@ -997,12 +998,12 @@ class CompanyGameRatioController extends AdminController
if(array_key_exists("instanceof",$va)){ if(array_key_exists("instanceof",$va)){
//存在 //存在
if($va['instanceof']=='1'){ if($va['instanceof']=='1'){
$t['name']="月流水≥".$va['turnover']; $t['name']="{$turnover_type[$key]}≥".$va['turnover'];
}else{ }else{
$t['name']="月流水".$va['turnover']; $t['name']="{$turnover_type[$key]}".$va['turnover'];
} }
}else{ }else{
$t['name']="月流水≥".$va['turnover']; $t['name']="{$turnover_type[$key]}≥".$va['turnover'];
} }
$sec_row++; $sec_row++;
$v['turnover_ratios'][$key][]=$t; $v['turnover_ratios'][$key][]=$t;

@ -368,6 +368,7 @@ class GameRatioMouldController extends AdminController
$radio = explode('|',$v['ratio']); $radio = explode('|',$v['ratio']);
$turnover_ratio = explode('|',$v['turnover_ratio']); $turnover_ratio = explode('|',$v['turnover_ratio']);
$turnover_type = $v['turnover_types'];
$sec_row = 1; $sec_row = 1;
@ -383,12 +384,12 @@ class GameRatioMouldController extends AdminController
if(array_key_exists("instanceof",$va)){ if(array_key_exists("instanceof",$va)){
//存在 //存在
if($va['instanceof']=='1'){ if($va['instanceof']=='1'){
$t['name']="月流水≥".$va['turnover']; $t['name']="{$turnover_type[$key]}≥".$va['turnover'];
}else{ }else{
$t['name']="月流水".$va['turnover']; $t['name']="{$turnover_type[$key]}".$va['turnover'];
} }
}else{ }else{
$t['name']="月流水≥".$va['turnover']; $t['name']="{$turnover_type[$key]}≥".$va['turnover'];
} }
$sec_row++; $sec_row++;
$v['turnover_ratios'][$key][]=$t; $v['turnover_ratios'][$key][]=$t;

Loading…
Cancel
Save