Browse Source

提交waybill

lvhao 8 hours ago
parent
commit
1051a0c644
1 changed files with 7 additions and 0 deletions
  1. 7 0
      core/CoreApp/controllers/Systemprint.php

+ 7 - 0
core/CoreApp/controllers/Systemprint.php

@@ -1788,6 +1788,13 @@ class Systemprint extends Start_Controller {
 						$barcode = $this->express_tt->get_data($fullorder,"CBT");
 						$this->logic_ding->sendToDing($fullorder['number']."CBT获取快递面单".json_encode($barcode));
 						$pdf_width_model = 90;
+
+						if(!empty($barcode['waybill'])){
+							if(strpos($barcode['waybill'], '1Z') !== false){
+								$pdf_width_model = 95;
+							}
+						}
+						
 					}else{
 						$barcode = [
 							'x'=>0,