Bladeren bron

提交数据

lvhao 6 maanden geleden
bovenliggende
commit
432c6dabc1
3 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 1 1
      core/CoreApp/controllers/Systemprint.php
  2. 1 1
      template/erp/js/print.js
  3. 1 1
      template/erp/systemprint.html

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

@@ -995,7 +995,7 @@ class Systemprint extends Start_Controller {
 							$fullorder['printnumber'] = $fullorder['printnumber'] +1;//不能删
 							if($this->$fullorder_name->save(array('waybill'=>$Hwaybill,'libraryconfirm'=>2,'librarynot'=>'','printtime'=>$time,'printnumber'=>$fullorder['printnumber'],'print'=>3,'oldwaybill'=>$oldwaybill,'oldprinttime'=>$oldprinttime),$va[$n]))
 				   		 	{
-								$type = 1;
+								$type = 7;
 								$text = array('yd'=>base_url().'data/pdf/'.$bctime.'/y-'.$Hwaybill.'.pdf','mode'=>95,'fp'=>base_url().'data/pdf/'.$bctime.'/f-'.$Hwaybill.'.pdf');
 							}
 						}

+ 1 - 1
template/erp/js/print.js

@@ -107,7 +107,7 @@ function ajax(num, list, tf) {
 				 else if (c.rows['type'] == 5) {
                     wprinter.pdf2fhd(c.rows);
                 }else if (c.rows['type'] == 7) {
-                    
+                    alert("获取同时操作以2部打印机的数据"+JSON.stringify(c))
                     //同时两台打印机 一台打印快递单   一台打打印发票
                     wprinter.pdffhd(c.rows);
                     

+ 1 - 1
template/erp/systemprint.html

@@ -129,5 +129,5 @@ window.onload = function() {
 
 </script>
 <script type="text/javascript" src="{$theme}js/laydate.js"></script>
-<script type="text/javascript" src="{$theme}js/print.js?v=20220613331"></script>
+<script type="text/javascript" src="{$theme}js/print.js?v=20250207331"></script>
 {Template footer}