Selaa lähdekoodia

添加机器增加每次最多增加一百台

liujiankang 7 vuotta sitten
vanhempi
commit
453f81dcad

+ 4 - 0
watero-rst-web/src/main/webapp/WEB-INF/views/pts/machine/addRenovationMachine.ftl

@@ -220,6 +220,10 @@
             layer.msg("数量长度为2-10位",{icon: 5,time:3000});
             return false;
         }
+        if( number > 100){
+            layer.msg("每次最高生产数量为100",{icon: 5,time:3000});
+            return false;
+        }
         return true;
     }