浏览代码

修改数据

lvhao 2 月之前
父节点
当前提交
f27ccbd420
共有 1 个文件被更改,包括 3 次插入0 次删除
  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)
 					{