xian 3 роки тому
батько
коміт
abc355bd70

+ 14 - 14
watero-rst-web/src/main/webapp/WEB-INF/views/pts/machine/machine_print_List.ftl

@@ -214,7 +214,7 @@
                                         /* '<span style="position: absolute;padding-top: 100px;padding-left: -100px;" id="barcodeId">'+machineBarcode+'</span>' +*/
                                         '</div>'
                                 );
-                            } else if(produceName == "熊小夕F10净饮机PLUS款 白色"){
+                            } else if(produceName == "熊小夕F10净饮机PLUS款 白色" || produceName == "熊小夕F10翻新机PLUS版 白色"){
                                 code128(machineBarcode);
                                 var barcodes2 = $("#bcTarget").html();
                                 $("#printlist").append(
@@ -226,7 +226,7 @@
                                         /* '<span style="position: absolute;padding-top: 100px;padding-left: -100px;" id="barcodeId">'+machineBarcode+'</span>' +*/
                                         '</div>'
                                 );
-                            } else if(produceName == "熊小夕F10净饮机PLUS款 天青色") {
+                            } else if(produceName == "熊小夕F10净饮机PLUS款 天青色" || produceName == "熊小夕F10翻新机PLUS版 天青色") {
                                 code128(machineBarcode);
                                 var barcodes2 = $("#bcTarget").html();
                                 $("#printlist").append(
@@ -238,7 +238,7 @@
                                         /* '<span style="position: absolute;padding-top: 100px;padding-left: -100px;" id="barcodeId">'+machineBarcode+'</span>' +*/
                                         '</div>'
                                 );
-                            } else if(produceName == "熊小夕F10净饮机升级款 白色") {
+                            } else if(produceName == "熊小夕F10净饮机升级款 白色" || produceName == "熊小夕F10翻新机升级版 白色") {
                                 code128(machineBarcode);
                                 var barcodes2 = $("#bcTarget").html();
                                 $("#printlist").append(
@@ -250,7 +250,7 @@
                                         /* '<span style="position: absolute;padding-top: 100px;padding-left: -100px;" id="barcodeId">'+machineBarcode+'</span>' +*/
                                         '</div>'
                                 );
-                            } else if(produceName == "熊小夕F10净饮机升级款 天青色") {
+                            } else if(produceName == "熊小夕F10净饮机升级款 天青色" || produceName == "熊小夕F10翻新机升级版 天青") {
                                 code128(machineBarcode);
                                 var barcodes2 = $("#bcTarget").html();
                                 $("#printlist").append(
@@ -262,7 +262,7 @@
                                         /* '<span style="position: absolute;padding-top: 100px;padding-left: -100px;" id="barcodeId">'+machineBarcode+'</span>' +*/
                                         '</div>'
                                 );
-                            } else if(produceName == "熊小夕F20净饮机 白色") {
+                            } else if(produceName == "熊小夕F20净饮机 白色" || produceName == "熊小夕F20翻新机 白色") {
                                 code128(machineBarcode);
                                 var barcodes2 = $("#bcTarget").html();
                                 $("#printlist").append(
@@ -274,7 +274,7 @@
                                         /* '<span style="position: absolute;padding-top: 100px;padding-left: -100px;" id="barcodeId">'+machineBarcode+'</span>' +*/
                                         '</div>'
                                 );
-                            } else if(produceName == "熊小夕F20净饮机 天青色") {
+                            } else if(produceName == "熊小夕F20净饮机 天青色" || produceName == "熊小夕F20翻新机 天青色") {
                                 code128(machineBarcode);
                                 var barcodes2 = $("#bcTarget").html();
                                 $("#printlist").append(
@@ -322,7 +322,7 @@
                                         /* '<span style="position: absolute;padding-top: 100px;padding-left: -100px;" id="barcodeId">'+machineBarcode+'</span>' +*/
                                         '</div>'
                                 );
-                            } else if(produceName == "熊小夕F255富氢机 冷灰") {
+                            } else if(produceName == "熊小夕F255富氢机 冷灰" || produceName == "熊小夕F255富氢翻新机 冷灰色") {
                                 code128(machineBarcode);
                                 var barcodes2 = $("#bcTarget").html();
                                 $("#printlist").append(
@@ -634,7 +634,7 @@
                 // 不需要二维码
                 if(berGenerateRules === 3){
                     // 博乐宝生成规则
-                    if(produceName === "熊小夕F10净饮机PLUS款 白色"){
+                    if(produceName === "熊小夕F10净饮机PLUS款 白色" || produceName == "熊小夕F10翻新机PLUS版 白色"){
                         code128(machineBarcode);
                         var barcodes2 = $("#bcTarget").html();
                         $("#printlist").append(
@@ -646,7 +646,7 @@
                                 /* '<span style="position: absolute;padding-top: 100px;padding-left: -100px;" id="barcodeId">'+machineBarcode+'</span>' +*/
                                 '</div>'
                         );
-                    } else if(produceName == "熊小夕F10净饮机PLUS款 天青色") {
+                    } else if(produceName == "熊小夕F10净饮机PLUS款 天青色"  || produceName == "熊小夕F10翻新机PLUS版 天青色") {
                         code128(machineBarcode);
                         var barcodes2 = $("#bcTarget").html();
                         $("#printlist").append(
@@ -658,7 +658,7 @@
                                 /* '<span style="position: absolute;padding-top: 100px;padding-left: -100px;" id="barcodeId">'+machineBarcode+'</span>' +*/
                                 '</div>'
                         );
-                    } else if(produceName == "熊小夕F10净饮机升级款 白色") {
+                    } else if(produceName == "熊小夕F10净饮机升级款 白色" || produceName == "熊小夕F10翻新机升级版 白色") {
                         code128(machineBarcode);
                         var barcodes2 = $("#bcTarget").html();
                         $("#printlist").append(
@@ -670,7 +670,7 @@
                                 /* '<span style="position: absolute;padding-top: 100px;padding-left: -100px;" id="barcodeId">'+machineBarcode+'</span>' +*/
                                 '</div>'
                         );
-                    } else if(produceName == "熊小夕F10净饮机升级款 天青色") {
+                    } else if(produceName == "熊小夕F10净饮机升级款 天青色" || produceName == "熊小夕F10翻新机升级版 天青") {
                         code128(machineBarcode);
                         var barcodes2 = $("#bcTarget").html();
                         $("#printlist").append(
@@ -682,7 +682,7 @@
                                 /* '<span style="position: absolute;padding-top: 100px;padding-left: -100px;" id="barcodeId">'+machineBarcode+'</span>' +*/
                                 '</div>'
                         );
-                    }else if(produceName == "熊小夕F20净饮机 白色") {
+                    }else if(produceName == "熊小夕F20净饮机 白色" || produceName == "熊小夕F20翻新机 白色") {
                         code128(machineBarcode);
                         var barcodes2 = $("#bcTarget").html();
                         $("#printlist").append(
@@ -694,7 +694,7 @@
                                 /* '<span style="position: absolute;padding-top: 100px;padding-left: -100px;" id="barcodeId">'+machineBarcode+'</span>' +*/
                                 '</div>'
                         );
-                    } else if(produceName == "熊小夕F20净饮机 天青色") {
+                    } else if(produceName == "熊小夕F20净饮机 天青色" || produceName == "熊小夕F20翻新机 天青色") {
                         code128(machineBarcode);
                         var barcodes2 = $("#bcTarget").html();
                         $("#printlist").append(
@@ -718,7 +718,7 @@
                                 /* '<span style="position: absolute;padding-top: 100px;padding-left: -100px;" id="barcodeId">'+machineBarcode+'</span>' +*/
                                 '</div>'
                         );
-                    } else if(produceName == "熊小夕F255富氢机 冷灰") {
+                    } else if(produceName == "熊小夕F255富氢机 冷灰" || produceName == "熊小夕F255富氢翻新机 冷灰色") {
                         code128(machineBarcode);
                         var barcodes2 = $("#bcTarget").html();
                         $("#printlist").append(