lvhao 20 timmar sedan
förälder
incheckning
61a1d1cf4b
1 ändrade filer med 20 tillägg och 4 borttagningar
  1. 20 4
      core/CoreApp/controllers/Fullordertt.php

+ 20 - 4
core/CoreApp/controllers/Fullordertt.php

@@ -1423,7 +1423,11 @@ class Fullordertt extends Start_Controller {
 					    	$wzid = $this->$bdck->read(trim($val,$warehouse['hz']));
 							if($wzid['details'] != '')
 						    {
-					    	    $xxv['zd'] .= '<p>位置:'.$wzid['details'].'</p>';
+					    	    if($fullordertt['type'] == 5){
+									$xxv['zd'] .= '<p>位置:'.$wzid['details'].'</p>';
+								}else{
+									$xxv['zd'] .= '<p>位置:'.$wzid['details'].' - '.$wzid['cpid'].'</p>';
+								}
 							}
 						}
 					}
@@ -1432,7 +1436,11 @@ class Fullordertt extends Start_Controller {
 					    $wzid = $this->$bdck->read(trim($xxv[9],$warehouse['hz']));
 						if($wzid['details'] != '')
 						{
-					        $xxv['zd'] .= '<p>位置:'.$wzid['details'].'</p>';
+					        if($fullordertt['type'] == 5){
+								$xxv['zd'] .= '<p>位置:'.$wzid['details'].'</p>';
+							}else{
+								$xxv['zd'] .= '<p>位置:'.$wzid['details'].' - '.$wzid['cpid'].'</p>';
+							}
 						}
 					}
 				}
@@ -1981,7 +1989,11 @@ class Fullordertt extends Start_Controller {
 					    	$wzid = $this->$bdck->read(trim($val,$warehouse['hz']));
 							if($wzid['details'] != '')
 						    {
-					    	    $xxv['zd'] .= '<p>位置:'.$wzid['details'].'</p>';
+					    	    if($fullordertt['type'] == 5){
+									$xxv['zd'] .= '<p>位置:'.$wzid['details'].'</p>';
+								}else{
+									$xxv['zd'] .= '<p>位置:'.$wzid['details'].' - '.$wzid['cpid'].'</p>';
+								}
 							}
 						}
 					}
@@ -1990,7 +2002,11 @@ class Fullordertt extends Start_Controller {
 					    $wzid = $this->$bdck->read(trim($xxv[9],$warehouse['hz']));
 						if($wzid['details'] != '')
 						{
-					        $xxv['zd'] .= '<p>位置:'.$wzid['details'].'</p>';
+					        if($fullordertt['type'] == 5){
+								$xxv['zd'] .= '<p>位置:'.$wzid['details'].'</p>';
+							}else{
+								$xxv['zd'] .= '<p>位置:'.$wzid['details'].' - '.$wzid['cpid'].'</p>';
+							}
 						}
 					}
 				}