|
|
@@ -147,7 +147,11 @@ class Boss extends Start_Controller
|
|
|
if (isset($post['order'])) {
|
|
|
$time = $this->input->post('time', true);
|
|
|
$time = strtotime($time);
|
|
|
-
|
|
|
+ $now_month_time = strtotime(date("Y-m",time()));
|
|
|
+ if($time <= $now_month_time){
|
|
|
+ echo json_encode(array('msg' => '当月业务当月完成,不允许跨月份操作!', 'success' => false));
|
|
|
+ exit;
|
|
|
+ }
|
|
|
$order = $this->input->post('order', true);
|
|
|
$weight = $this->input->post('weight', true);
|
|
|
if (!isset($weight)) //测试没问题后可以删
|