摘要:
``` IdCodeValid(code) { //身份证号合法性验证 //支持15位和18位身份证号 //支持地址编码、出生日期、校验位验证 var city = { 11: "北京", 12: "天津", 13: "河北", 14: "山西", 15: "内蒙古", 21: "辽宁", 22: "吉林", 23: "黑龙江 ", 31: "上海", 32: "江苏", 33: "浙江 阅读全文
posted @ 2020-05-22 17:18
漫漫码农路
阅读(279)
评论(0)
推荐(0)
摘要:
``` CheckSocialCreditCode(Code) { var patrn = /^[0-9A-Z]+$/; //18位校验及大写校验 if (Code.length != 18 || patrn.test(Code) == false) { console.log(1234); return false; } else { var Ancode; //统一社会信用代码的每一个值 va 阅读全文
posted @ 2020-05-22 14:59
漫漫码农路
阅读(3364)
评论(0)
推荐(1)
摘要:
近一年 var time = new Date(); //获取当前时间 time.setTime(time.getTime() + 24 * 60 * 60 * 1000); var tomorrow = time.getDate(); if (parseInt(tomorrow) < 10) { 阅读全文
posted @ 2020-05-22 14:51
漫漫码农路
阅读(304)
评论(0)
推荐(0)
摘要:
``` //row-key 和ref 要必须写 ...... method:{ //筛选 screenclick() { //点击筛选的时候 让筛选出来的数据展开 this.forArr(this.tableList, false); this.getList(); }, // 重置 Resetdata() { this.textval = ""; //重置的时候 让数据全部收起 this.for 阅读全文
posted @ 2020-05-22 12:01
漫漫码农路
阅读(4269)
评论(2)
推荐(3)

浙公网安备 33010602011771号