Check.js 1.36 KB
Newer Older
李少勇 committed
1 2 3 4 5 6 7
export default {
  "oftp.rel.rsptims": [
    { type: "date", required: false, message: "输入正确的日期" }
  ],
  "oftp.rel.rsptime": [
    { type: "date", required: false, message: "输入正确的日期" }
  ],
fukai committed
8

李少勇 committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
  "oftp.rel.sedbak": [
    { type: "string", required: false, message: "必输项" },
    { max: 0, message: "长度不能超过0" }
  ],
  "oftp.rel.revbak": [
    { type: "string", required: false, message: "必输项" },
    { max: 0, message: "长度不能超过0" }
  ],
  "oftp.rel.actbic": [
    { type: "string", required: false, message: "必输项" },
    { max: 0, message: "长度不能超过0" }
  ],
  "oftp.rel.amtd": [
    { type: "number", required: false, message: "必输项" },
    { max: 18, message: "整数位不能超过14位" },
    { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
  ],
  "oftp.rel.amtu": [
    { type: "number", required: false, message: "必输项" },
    { max: 18, message: "整数位不能超过14位" },
    { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
  ],
  "oftp.rel.ref": [
    { type: "string", required: false, message: "必输项" },
    { max: 0, message: "长度不能超过0" }
  ],
  "oftp.rel.relref": [
    { type: "string", required: false, message: "必输项" },
    { max: 0, message: "长度不能超过0" }
  ],
}