Browse Source

修改数据

lvhao 2 months ago
parent
commit
f27ccbd420
1 changed files with 3 additions and 0 deletions
  1. 3 0
      core/CoreApp/controllers/Systemprint.php

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

@@ -1647,6 +1647,9 @@ class Systemprint extends Start_Controller {
 						$this->$fullorder_name->save(array('print'=>1,'failed'=>$failed),$va[$n]);
 					}
 				}elseif(($fullorder['printcode'] == "3PE_XB")){
+					if($fullorder['waybillid'] != ''){
+						$this->itsxb->cancel_order($fullorder['number']);
+					}
 					$barcode = $this->itsxb->get_data($fullorder);
 					if($barcode['x'] == 1)
 					{