|  | @@ -198,7 +198,7 @@ class Order
 | 
	
		
			
				|  |  |          if ($info['status'] != -1) {
 | 
	
		
			
				|  |  |              Dever::alert('验证失败');
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -        $update['sign'] = Dever::input('sign');
 | 
	
		
			
				|  |  | +        $update['sign'] = $sign = Dever::input('sign');
 | 
	
		
			
				|  |  |          if (!$update['sign']) {
 | 
	
		
			
				|  |  |              Dever::alert('请上传签名');
 | 
	
		
			
				|  |  |          }
 | 
	
	
		
			
				|  | @@ -206,6 +206,10 @@ class Order
 | 
	
		
			
				|  |  |          $update['where_id'] = $info['id'];
 | 
	
		
			
				|  |  |          $state = Dever::db('agent/order')->update($update);
 | 
	
		
			
				|  |  |          if ($state) {
 | 
	
		
			
				|  |  | +            $update = array();
 | 
	
		
			
				|  |  | +            $update['sign'] = $sign;
 | 
	
		
			
				|  |  | +            $update['where_id'] = $mid;
 | 
	
		
			
				|  |  | +            $state = Dever::db('agent/member')->update($update);
 | 
	
		
			
				|  |  |              $result = Dever::load('passport/reg')->getSign($mid);
 | 
	
		
			
				|  |  |              return $result;
 | 
	
		
			
				|  |  |          } else {
 | 
	
	
		
			
				|  | @@ -430,7 +434,12 @@ class Order
 | 
	
		
			
				|  |  |          if ($info['idcard_back']) {
 | 
	
		
			
				|  |  |              $idcard_pic .= '  <a href="'.$info['idcard_back'].'" target="_blank"><img src="'.$info['idcard_back'].'" width="150" /></a>';
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -        $sign_pic = '<a href="'.$info['sign'].'" target="_blank"><img src="'.$info['sign'].'" width="150" /></a>';
 | 
	
		
			
				|  |  | +        if ($info['sign']) {
 | 
	
		
			
				|  |  | +            $sign_pic = '<a href="'.$info['sign'].'" target="_blank"><img src="'.$info['sign'].'" width="150" /></a>';
 | 
	
		
			
				|  |  | +        } else {
 | 
	
		
			
				|  |  | +            $sign_pic = '暂无';
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          $pay_pic = '';
 | 
	
		
			
				|  |  |          if ($info['pay_pic']) {
 | 
	
	
		
			
				|  | @@ -551,7 +560,7 @@ class Order
 | 
	
		
			
				|  |  |              //$soft = '【<a href="" style="color:blue">拆分代理费</a>】';
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -        if ($info['status'] <= 3) {
 | 
	
		
			
				|  |  | +        if ($info['status'] <= 3 && $info['status'] > 0) {
 | 
	
		
			
				|  |  |              # 未完成审核的订单,可以随时挂起
 | 
	
		
			
				|  |  |              $button[] = array
 | 
	
		
			
				|  |  |              (
 |