Parcourir la source

提交3pe打单 修改pdf

lvhao il y a 13 heures
Parent
commit
964bb2bedf

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

@@ -1760,7 +1760,7 @@ class Systemprint extends Start_Controller {
 							$fullorder['printnumber'] = $fullorder['printnumber'] +1;//不能删
 							if($this->$fullorder_name->save(array('waybill'=>$Hwaybill,'waybill2'=>$barcode['waybill2'],'waybillid'=>$barcode['waybillid'],'libraryconfirm'=>2,'librarynot'=>'','printtime'=>$time,'printnumber'=>$fullorder['printnumber'],'print'=>3,'oldwaybill'=>$oldwaybill,'oldprinttime'=>$oldprinttime),$va[$n]))
 				   		 	{
-								$type = 1;
+								$type = 9;//维库的根据仓库要求调整了
 								$pdfnum = 1;
 								$text = array('yd'=>base_url().'data/pdf/'.$bctime.'/y-'.$Hwaybill.'.pdf','mode'=>100);
 							}

+ 2 - 0
template/erp/js/print.js

@@ -115,6 +115,8 @@ function ajax(num, list, tf) {
                 }else if (c.rows['type'] == 8) {
                     //负责打印竖版
                    wprinter.sbpdffhd(c.rows);
+                }else if(c.rows['type'] == 11){
+                    wprinter.pdffhd3pe(c.rows);
                 }
                 
                 if (c.rows['n'] > -1) {

Fichier diff supprimé car celui-ci est trop grand
+ 35 - 0
template/erp/js/print_yd.js


+ 3 - 1
template/erp/systemprintmc.html

@@ -135,7 +135,7 @@ $(this).find('td:eq(10)').css("font-size","12px");
 <script type="text/javascript" src="{$theme}lodop/LodopFuncs.js"></script>
 <script type="text/javascript" src="{$theme}lodop/dolodop.js"></script>
 <script type="text/javascript" src="{$theme}js/jquery-barcode.min.js"></script>
-<script type="text/javascript" src="{$theme}js/print_yd.js?202512041200"></script>
+<script type="text/javascript" src="{$theme}js/print_yd.js?202512041201"></script>
 <script>
 //获取打印机列表
 let lodop;
@@ -232,6 +232,8 @@ function ajax(num, list, tf) {
                 }else if (c.rows['type'] == 8) {
                     //负责打印竖版
                   sbpdffhd(c.rows);
+                }else if(c.rows['type'] == 11){
+                  pdffhd3pe(c.rows);
                 }
                 
                 if (c.rows['n'] > -1) {