lvhao il y a 1 jour
Parent
commit
46666fe888
1 fichiers modifiés avec 8 ajouts et 8 suppressions
  1. 8 8
      core/CoreApp/controllers/Fullordersmt.php

+ 8 - 8
core/CoreApp/controllers/Fullordersmt.php

@@ -3761,14 +3761,14 @@ class Fullordersmt extends Start_Controller {
 			{
 			{
 				echo json_encode(array('msg'=>'不允许修改运单号','success'=>true));exit;
 				echo json_encode(array('msg'=>'不允许修改运单号','success'=>true));exit;
 			}
 			}
-			$post['express'] = $data['express']; 
-			$post['qm'] = $data['qm'];
-			$post['country'] = $data['country'];
-			$post['zipcode'] = $data['zipcode'];
-			$post['dtsbjz'] =$data['dtsbjz'];
-			$post['zsbjz'] = $data['zsbjz'];
-			$post['zzl'] = $data['zzl'];
-			$post['bx'] = $data['bx'];
+			$post['express'] =  empty($post['express'])?$data['express']:$post['express']; 
+			$post['qm'] = 		empty($post['qm'])?$data['qm']:$post['qm'];
+			$post['country'] =  empty($post['country'])?$data['country']:$post['country'];
+			$post['zipcode'] =  empty($post['zipcode'])?$data['zipcode']:$post['zipcode'];
+			$post['dtsbjz'] =   empty($post['dtsbjz'])?$data['dtsbjz']:$post['dtsbjz'];
+			$post['zsbjz'] =    empty($post['zsbjz'])?$data['zsbjz']:$post['zsbjz'];
+			$post['zzl'] =      empty($post['zzl'])?$data['zzl']:$post['zzl'];
+			$post['bx'] =       empty($post['bx'])? $data['bx'] :$post['bx'];
 			$post['library'] = $data['library'];
 			$post['library'] = $data['library'];
 
 
 			//南非 限制邮箱
 			//南非 限制邮箱