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