12.28功能提交

master
zhengyongxing 4 years ago
parent 6a86a5e76f
commit 552a6f8181

@ -475,6 +475,17 @@ class MarketPercentageController extends ThinkController
unset($_GET['is_get']);
$data = $_GET;
$if_coefficientSave = M("market_altogether","tab_")
->where([
'pay_time'=>$pay_time,
'market_check'=>1
])
->find();
if ($if_coefficientSave) {
$this->ajaxReturn(['status'=>0,'msg'=>"市场部已确认,绩效系数再不可修改"]);
}
$admin = $_SESSION['onethink_admin']['user_auth']['username'];
$coefficient_check_detail = "已审批({$admin}<br>".date("Y-m-d H:i:s",time());
$marketSave['coefficient_check'] = 1;
@ -525,7 +536,7 @@ class MarketPercentageController extends ThinkController
}
$this->ajaxReturn(['status'=>1,'msg'=>"绩效编辑成功"]);
$this->ajaxReturn(['status'=>1,'msg'=>"绩效系数编辑成功"]);
} else {

Loading…
Cancel
Save