Browse Source

修改新加扫描打印

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

+ 5 - 2
core/CoreApp/controllers/Systemprint.php

@@ -2510,7 +2510,10 @@ class Systemprint extends Start_Controller {
 	 * 此方法是为了临时解决一下打印的问题
 	 */
 	public function _getInfoByNumber(){
-		$param = $this->input->post(NULL, TRUE);
+		$param = $this->input->get(NULL, TRUE);
+		var_dump($param);
+		die;
+		//$param = $this->input->post(NULL, TRUE);
 		if(empty($param['number'])){
 			 echo json_encode([
 				'code'=>-1,
@@ -2556,7 +2559,7 @@ class Systemprint extends Start_Controller {
 		$oldprinttime = ($fullorder['printtime'] > 0)?$fullorder['oldprinttime'].$fullorder['printtime'].'-':'';
 		$fullorder['printtime'] = date('m-d H:i',$time);//打印用时间、发货单用,不能删
 		$pdfnum = 1;//PDF打印几遍
-
+		
 		if($fullorder['waybillid'] != '')
 		{
 			$del = $this->cne->get_del($fullorder['waybillid']);