lvhao 2 months ago
parent
commit
d7d30a0f49
1 changed files with 5 additions and 0 deletions
  1. 5 0
      core/CoreApp/controllers/Amazonbarcode.php

+ 5 - 0
core/CoreApp/controllers/Amazonbarcode.php

@@ -478,6 +478,11 @@ class Amazonbarcode extends Start_Controller {
 					$info_list[$key]['addtime'] = '';
 				}
 				$info_list[$key]['out_num'] = $value['out_num']*1;
+				if(empty($value['batch_no'])){
+					$info_list[$key]['batch_no'] = '';
+				}else if($value['batch_no'] == 'null'){
+					$info_list[$key]['batch_no'] = '';
+				}
             }
 			$total = $this->amazonbarcode->find_count($where);
 		    $pagenum = ceil($total/$perpage);