|
@@ -168,6 +168,9 @@ class Returngoods extends Start_Controller {
|
|
|
if(empty($post['jjcd'])){
|
|
|
echo json_encode(array('msg'=>'紧急程度必须选择!请选择','success'=>false));exit;
|
|
|
}
|
|
|
+ if(empty($post['shpjxx'])){
|
|
|
+ echo json_encode(array('msg'=>'评价选项必须选择!请选择','success'=>false));exit;
|
|
|
+ }
|
|
|
}
|
|
|
if(empty($type)){
|
|
|
echo json_encode(array('msg'=>'订单信息存储表单异常','success'=>false));exit;
|
|
@@ -269,6 +272,9 @@ class Returngoods extends Start_Controller {
|
|
|
if(empty($post['jjcd'])){
|
|
|
echo json_encode(array('msg'=>'紧急程度必须选择!请选择','success'=>false));exit;
|
|
|
}
|
|
|
+ if(empty($post['shpjxx'])){
|
|
|
+ echo json_encode(array('msg'=>'评价选项必须选择!请选择','success'=>false));exit;
|
|
|
+ }
|
|
|
}
|
|
|
$insert_data =[
|
|
|
'recorder'=>$post['recorder'],
|
|
@@ -534,7 +540,7 @@ class Returngoods extends Start_Controller {
|
|
|
if($jjcd){
|
|
|
$where .= " and jjcd = '$jjcd'";
|
|
|
}
|
|
|
- if($shpjxx >= 0){
|
|
|
+ if($shpjxx){
|
|
|
$where .= " and shpjxx = '$shpjxx'";
|
|
|
}
|
|
|
|