|
|
@@ -51,13 +51,16 @@ class Review extends Start_Controller {
|
|
|
$review = $this->input->post('review',true);
|
|
|
$sb = 0;
|
|
|
$fu = $arg_array[0];
|
|
|
+ $fulltt_str = "";
|
|
|
foreach ($id_arr as $v)
|
|
|
{
|
|
|
$fullorder = $this->$fu->read($v);
|
|
|
|
|
|
if($fu == 'fullordertt'){
|
|
|
if($fullorder['is_edit'] == 0){
|
|
|
- echo json_encode(array('msg'=>$fullorder['number'].',请保存后再提交审核!','success'=>true));exit;
|
|
|
+ $fulltt_str.= $fullorder['number'].',';
|
|
|
+ continue;
|
|
|
+ //echo json_encode(array('msg'=>$fullorder['number'].',请保存后再提交审核!','success'=>true));exit;
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -103,6 +106,10 @@ class Review extends Start_Controller {
|
|
|
}
|
|
|
$this->$fu->save(array('review'=>$review,'reviewtime'=>time(),'librarynot'=>$a,'print'=>$b),$v);
|
|
|
}
|
|
|
+ if($fulltt_str != "")
|
|
|
+ {
|
|
|
+ echo json_encode(array('msg'=>$fulltt_str.'请保存后再提交审核!','success'=>true));exit;
|
|
|
+ }
|
|
|
if(count($id_arr) > 1)
|
|
|
{
|
|
|
echo json_encode(array('msg'=>'操作完成!'.$sb.'条订单异常','success'=>true));exit;
|