chengwl 4 yıl önce
ebeveyn
işleme
962b559881
1 değiştirilmiş dosya ile 6 ekleme ve 6 silme
  1. 6 6
      public/script/common_wigsout.js

+ 6 - 6
public/script/common_wigsout.js

@@ -249,9 +249,9 @@ $(document).ready(function(){
 		LODOP.ADD_PRINT_BARCODE(3, 2, 400, 35, "128Auto", order_barcode);
 		LODOP.SET_PRINT_STYLEA(0, "showBarText", 0)
 		var str=order_barcode+'*'+goods_info + '*' + transport + '*' + print_time;
-		if(str.length>=130){
-			str1=str.slice(0,130);
-			str2=str.slice(130);
+		if(str.length>=120){
+			str1=str.slice(0,120);
+			str2=str.slice(120);
 			LODOP.ADD_PRINT_TEXT(47, "0mm",400,"45mm", str1);
 			LODOP.SET_PRINT_STYLEA(0, "FontSize", 13);
 			LODOP.SET_PRINT_STYLEA(0, "Bold", 1);
@@ -304,9 +304,9 @@ $(document).ready(function(){
 						  LODOP.ADD_PRINT_BARCODE(3, 2, 400, 35, "128Auto", arr[i].barcode);
 						  LODOP.SET_PRINT_STYLEA(0, "showBarText", 0)
 						  str=arr[i].str;
-						  if(str.length>=130){
-						   str1=str.slice(0,130);
-						   str2=str.slice(130);
+						  if(str.length>=120){
+						   str1=str.slice(0,120);
+						   str2=str.slice(120);
 						   LODOP.ADD_PRINT_TEXT(47, "0mm",400,"45mm", str1);
 						   LODOP.SET_PRINT_STYLEA(0, "FontSize", 13);
 						   LODOP.SET_PRINT_STYLEA(0, "Bold", 1);