chengwl 4 anni fa
parent
commit
18a171a99d
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      public/script/common_wigsout.js

+ 2 - 2
public/script/common_wigsout.js

@@ -301,9 +301,9 @@ $(document).ready(function(){
 					for(var i = 0; i < arr.length; i++) {
 						(function(i) {
 						 setTimeout(function() {
-						  LODOP.ADD_PRINT_BARCODE(3, 2, 400, 35, "128Auto", arr[x].barcode);
+						  LODOP.ADD_PRINT_BARCODE(3, 2, 400, 35, "128Auto", arr[i].barcode);
 						  LODOP.SET_PRINT_STYLEA(0, "showBarText", 0)
-						  str=arr[x].str;
+						  str=arr[i].str;
 						  if(str.length>=130){
 						   str1=str.slice(0,130);
 						   str2=str.slice(130);