lvhao 1 день назад
Родитель
Сommit
827961f082
1 измененных файлов с 13 добавлено и 13 удалено
  1. 13 13
      core/CoreApp/controllers/Systemprint.php

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

@@ -56,7 +56,7 @@ class Systemprint extends Start_Controller {
 		$this->load->_model("Model_itsxb","itsxb");
 		$this->load->_model("Model_express_tt","express_tt");
 		$this->load->_model("Model_logic_u9tools","logic_u9tools");
-		$this->load->_model("Model_waybilldowns","waybilldowns");
+		//$this->load->_model("Model_waybilldowns","waybilldowns");
 	}
 	//定义方法的调用规则 获取URI第二段值
     public function _remap($arg,$arg_array)
@@ -1795,17 +1795,17 @@ class Systemprint extends Start_Controller {
 					{
 						$bctime = date('Ymd',$time);
 						$Hwaybill = $barcode['waybill'];
-						//$Hyd = $this->_pdfurl($barcode['label'],'y-'.$Hwaybill,$bctime);
+						$Hyd = $this->_pdfurl($barcode['label'],'y-'.$Hwaybill,$bctime);
 
-						$this->waybilldowns->insert([
-							'date_dir'=>$bctime,
-							'pdf_name'=>'y-'.$Hwaybill,
-							'url'=>$barcode['label'],
-							'waybill'=>$Hwaybill,
-							'number'=>$fullorder['number'],
-							'status'=>0,
-							'create_time'=>time(),
-						]);
+						// $this->waybilldowns->insert([
+						// 	'date_dir'=>$bctime,
+						// 	'pdf_name'=>'y-'.$Hwaybill,
+						// 	'url'=>$barcode['label'],
+						// 	'waybill'=>$Hwaybill,
+						// 	'number'=>$fullorder['number'],
+						// 	'status'=>0,
+						// 	'create_time'=>time(),
+						// ]);
 
 						//$Hfp = $this->_pdfurl($barcode['fp'],'f-'.$Hwaybill,$bctime);//保留PDF,不需要打印
 						if(isset($barcode['label']) && isset($Hwaybill))
@@ -1824,8 +1824,8 @@ class Systemprint extends Start_Controller {
 				   		 	{
 								$type = 1;
 								$pdfnum = 1;
-								//$text = array('yd'=>base_url().'data/pdf/'.$bctime.'/y-'.$Hwaybill.'.pdf','mode'=>$pdf_width_model);
-								$text = array('yd'=>$barcode['label'],'mode'=>$pdf_width_model);
+								$text = array('yd'=>base_url().'data/pdf/'.$bctime.'/y-'.$Hwaybill.'.pdf','mode'=>$pdf_width_model);
+								//$text = array('yd'=>$barcode['label'],'mode'=>$pdf_width_model);
 							}
 						}
 					}