Pattern.js 2.95 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
export default {

    "frmdat":[
        {type: "date", required: false, message: "输入正确的日期"}
    ],

    "ownref":[
        {type: "string", required: false, message: "必输项"},
        {max: 20,message:"长度不能超过20"}
    ],
    "tildat":[
        {type: "date", required: false, message: "输入正确的日期"}
    ],


    "cnystm":[
        {type: "string", required: false, message: "必输项"},
        {max: 1,message:"长度不能超过1"}
    ],


22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
    "cnyselp.cnylib.spk":[
        {type: "string", required: false, message: "必输项"},
        {max: 20,message:"长度不能超过20"}
    ],
    "cnyselp.cnylib.sbanktrano":[
        {type: "string", required: false, message: "必输项"},
        {max: 22,message:"长度不能超过22"}
    ],
    "cnyselp.cnylib.sbankorgcode":[
        {type: "string", required: false, message: "必输项"},
        {max: 12,message:"长度不能超过12"}
    ],
    "cnyselp.sbankname":[
        {type: "string", required: false, message: "必输项"},
        {max: 80,message:"长度不能超过80"}
    ],


    "cnyselp.cnylib.sforbankswiftbic":[
        {type: "string", required: false, message: "必输项"},
        {max: 11,message:"长度不能超过11"}
    ],
    "cnyselp.sorgname":[
        {type: "string", required: false, message: "必输项"},
        {max: 80,message:"长度不能超过80"}
    ],
    "cnyselp.cnylib.sorgcode":[
        {type: "string", required: false, message: "必输项"},
        {max: 18,message:"长度不能超过18"}
    ],
    "cnyselp.sforeignorgname":[
        {type: "string", required: false, message: "必输项"},
        {max: 80,message:"长度不能超过80"}
    ],
    "cnyselp.cnylib.sforeigncountrycode":[
        {type: "string", required: false, message: "必输项"},
        {max: 3,message:"长度不能超过3"}
    ],

    "cnyselp.cnylib.doccurdate":[
        {type: "date", required: false, message: "输入正确的日期"}
    ],
    "cnyselp.cnylib.denddate":[
        {type: "date", required: false, message: "输入正确的日期"}
    ],
    "cnyselp.cnylib.dcreditenddate":[
        {type: "date", required: false, message: "输入正确的日期"}
    ],

    "cnyselp.cnylib.famt":[
        {type: "number", required: false, message: "必输项"},
        {max: 18,message:"整数位不能超过14位"},
        {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
    ],

    "cnyselp.cnylib.dexchangedate":[
        {type: "date", required: false, message: "输入正确的日期"}
    ],
    "cnyselp.cnylib.fexchangeamt":[
        {type: "string", required: false, message: "必输项"},
        {max: 20,message:"长度不能超过20"}
    ],
    "cnyselp.cnylib.dexchangeenddate":[
        {type: "date", required: false, message: "输入正确的日期"}
    ],
    "cnyselp.saddwordlib":[
        {type: "string", required: false, message: "必输项"},
        {max: 80,message:"长度不能超过80"}
    ],
91
}