|  | @@ -196,7 +196,7 @@ class CheckService extends Service
 | 
	
		
			
				|  |  |              ->where('del_time',0)
 | 
	
		
			
				|  |  |              ->first();
 | 
	
		
			
				|  |  |          if(empty($model)) return [false, '发货单不存在或已被删除'];
 | 
	
		
			
				|  |  | -        if($model->state != InvoiceOrder::STATE_ONE) return [false, '请确认发货单状态,操作失败'];
 | 
	
		
			
				|  |  | +        if($model->state != InvoiceOrder::STATE_ZERO) return [false, '请确认发货单状态,操作失败'];
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          InvoiceOrder::where('del_time',0)->where('id',$data['id'])
 | 
	
		
			
				|  |  |              ->update(['state' => InvoiceOrder::STATE_ONE]);
 |