Browse Source

订单列表简化bugfix

chao 3 years ago
parent
commit
047969dd06
1 changed files with 9 additions and 0 deletions
  1. 9 0
      src/main/webapp/WEB-INF/views/modules/order/newOrderList.jsp

+ 9 - 0
src/main/webapp/WEB-INF/views/modules/order/newOrderList.jsp

@@ -35,6 +35,15 @@
             $("#searchForm").submit();
             $("#searchForm").submit();
             return false;
             return false;
         }
         }
+        function checkfun() {
+            var orderID = $('#orderID').val();
+            var reg = /^[0-9]*$/;
+            if (!reg.test(orderID) && orderID.trim() != "") {
+                    alertx("请输入正确的订单ID!");
+                    return false;
+                }
+            return true;
+        }
     </script>
     </script>
 </head>
 </head>
 <body>
 <body>