|
|
|
@ -1531,7 +1531,7 @@ class MarketPercentageController extends ThinkController
|
|
|
|
|
|
|
|
|
|
M("company_belong_game","tab_")->add($data);
|
|
|
|
|
|
|
|
|
|
$this->ajaxReturn(['msg'=>"添加成功","status"=>1]);
|
|
|
|
|
$this->ajaxReturn(['msg'=>"添加成功,请到对应时间段市场业绩重新结算,否则数据可能无法对上","status"=>1]);
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
$this->display();
|
|
|
|
@ -1627,7 +1627,7 @@ class MarketPercentageController extends ThinkController
|
|
|
|
|
|
|
|
|
|
M("company_belong_game","tab_")->where(['id'=>$id])->save($data);
|
|
|
|
|
|
|
|
|
|
$this->ajaxReturn(['msg'=>"编辑成功","status"=>1]);
|
|
|
|
|
$this->ajaxReturn(['msg'=>"编辑成功,请到对应时间段市场业绩重新结算,否则数据可能无法对上","status"=>1]);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
@ -1708,7 +1708,7 @@ class MarketPercentageController extends ThinkController
|
|
|
|
|
->delete();
|
|
|
|
|
|
|
|
|
|
if ($is_del) {
|
|
|
|
|
$this->ajaxReturn(['msg'=>"删除成功","status"=>1]);
|
|
|
|
|
$this->ajaxReturn(['msg'=>"删除成功,请到对应时间段市场业绩重新结算,否则数据可能无法对上","status"=>1]);
|
|
|
|
|
} else {
|
|
|
|
|
$this->ajaxReturn(['msg'=>"删除失败","status"=>0]);
|
|
|
|
|
}
|
|
|
|
|