var merchantNum = $("#merchantNum").val();
        if (merchantNum == null || merchantNum == "") {
            alert("数量不能为空");
            return false;
        }
        else if (!(/(^[1-9]\d*$)/.test(merchantNum))) {
            alert("数量不是正整数!!!");
            return false;
        }

posted on 2019-07-27 15:31  vow007  阅读(10)  评论(0)    收藏  举报  来源