Преглед на файлове

提交数据3pe打印数据

lvhao преди 2 месеца
родител
ревизия
fa91edc4e1
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      core/CoreApp/controllers/Systemprint.php

+ 1 - 1
core/CoreApp/controllers/Systemprint.php

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