Ver código fonte

打印机页面修改

liujiankang 7 anos atrás
pai
commit
6ddf154cc8

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

@@ -381,13 +381,18 @@
                     }
 
                 }
-                $("#printlist").printArea();
-                $("#printlist").html("");
-                 if(${machineIsPrint} == '1')
-                 {
-                     updatePrint(machineBarcode, false);
-                     $("#" + machineBarcode).remove();
+                 if(settingNumber > 24){
+                     layer.msg('一次最多支持打印24张条形码', {icon: 2, time: 2000});
+                 }else{
+                     $("#printlist").printArea();
+                     $("#printlist").html("");
+                     if(${machineIsPrint} == '1')
+                     {
+                         updatePrint(machineBarcode, false);
+                         $("#" + machineBarcode).remove();
+                     }
                  }
+
             }
 
             /*获取产品信息*/