Pattern.js 9.37 KB
Newer Older
liumin committed
1
export default {
2 3 4
    "bfdgrp.cbs.max.cur": [
        { type: "string", required: false, message: "必输项" },
        { max: 3, message: "长度不能超过3" }
liumin committed
5
    ],
6 7 8 9
    "bfdgrp.cbs.max.amt": [
        { type: "string" },
        { max: 18, message: "整数位不能超过14位" },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
liumin committed
10 11
    ],

12 13 14 15
    "bfdgrp.cbs.max2.amt": [
        { type: "number", required: false, message: "必输项" },
        { max: 18, message: "整数位不能超过14位" },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
liumin committed
16
    ],
17 18 19
    "bfdgrp.blk.chaded": [
        { type: "string", required: true, message: "必输项" },
        { max: 35, message: "长度不能超过35" }
liumin committed
20
    ],
21 22 23
    "bfdgrp.blk.chaadd": [
        { type: "string", required: true, message: "必输项" },
        { max: 35, message: "长度不能超过35" }
liumin committed
24
    ],
25 26 27
    "bfdgrp.rec.totcur": [
        { type: "string", required: false, message: "必输项" },
        { max: 3, message: "长度不能超过3" }
liumin committed
28
    ],
29 30 31 32
    "bfdgrp.rec.totamt": [
        { type: "number", required: false, message: "必输项" },
        { max: 18, message: "整数位不能超过14位" },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
liumin committed
33
    ],
34 35 36
    "bftp.acbp.ptsget.sdamod.dadsnd": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
liumin committed
37
    ],
38 39 40
    "bfdgrp.acb.pts.extkey": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
liumin committed
41
    ],
42 43 44
    "bftp.acbp.ptsget.sdamod.seainf": [
        { type: "string", required: false, message: "必输项" },
        { max: 3, message: "长度不能超过3" }
liumin committed
45 46
    ],

47 48 49
    "bfdgrp.acb.namelc": [
        { type: "string", required: true, message: "必输项" },
        { max: 35, message: "长度不能超过35" }
liumin committed
50
    ],
51 52 53
    "bfdgrp.acb.pts.adrblk": [
        { type: "string", required: true, message: "必输项" },
        { max: 35, message: "长度不能超过35" }
liumin committed
54
    ],
55 56 57
    "bfdgrp.acb.dbfadrblkcn": [
        { type: "string", required: true, message: "必输项" },
        { max: 35, message: "长度不能超过35" }
liumin committed
58
    ],
59 60 61
    "bfdgrp.acb.adrelc": [
        { type: "string", required: true, message: "必输项" },
        { max: 35, message: "长度不能超过35" }
liumin committed
62
    ],
63 64 65
    "bfdgrp.blk.docdis": [
        { type: "string", required: true, message: "必输项" },
        { max: 50, message: "长度不能超过50" }
liumin committed
66 67
    ],

68 69 70
    "bfdgrp.blk.nartxt77a": [
        { type: "string", required: true, message: "必输项" },
        { max: 35, message: "长度不能超过35" }
liumin committed
71
    ],
72 73 74
    "bftp.rmbp.ptsget.sdamod.dadsnd": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
liumin committed
75
    ],
76 77 78
    "bfdgrp.rmb.pts.extkey": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
liumin committed
79
    ],
80 81 82
    "bftp.rmbp.ptsget.sdamod.seainf": [
        { type: "string", required: false, message: "必输项" },
        { max: 3, message: "长度不能超过3" }
liumin committed
83 84
    ],

85 86 87
    "bfdgrp.rmb.namelc": [
        { type: "string", required: true, message: "必输项" },
        { max: 35, message: "长度不能超过35" }
liumin committed
88
    ],
89 90 91
    "bfdgrp.rmb.pts.adrblk": [
        { type: "string", required: true, message: "必输项" },
        { max: 35, message: "长度不能超过35" }
liumin committed
92
    ],
93 94 95
    "bfdgrp.rmb.dbfadrblkcn": [
        { type: "string", required: true, message: "必输项" },
        { max: 35, message: "长度不能超过35" }
liumin committed
96
    ],
97 98 99
    "bfdgrp.rmb.adrelc": [
        { type: "string", required: true, message: "必输项" },
        { max: 35, message: "长度不能超过35" }
liumin committed
100
    ],
101 102 103
    "bftp.bebp.ptsget.sdamod.dadsnd": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
liumin committed
104
    ],
105 106 107
    "dedgrp.beb.pts.extkey": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
liumin committed
108
    ],
109 110 111
    "bftp.bebp.ptsget.sdamod.seainf": [
        { type: "string", required: false, message: "必输项" },
        { max: 3, message: "长度不能超过3" }
liumin committed
112 113
    ],

114 115 116
    "dedgrp.beb.namelc": [
        { type: "string", required: true, message: "必输项" },
        { max: 35, message: "长度不能超过35" }
liumin committed
117
    ],
118 119 120
    "dedgrp.beb.pts.adrblk": [
        { type: "string", required: true, message: "必输项" },
        { max: 35, message: "长度不能超过35" }
liumin committed
121
    ],
122 123 124
    "dedgrp.beb.dbfadrblkcn": [
        { type: "string", required: true, message: "必输项" },
        { max: 35, message: "长度不能超过35" }
liumin committed
125
    ],
126 127 128
    "dedgrp.beb.adrelc": [
        { type: "string", required: true, message: "必输项" },
        { max: 35, message: "长度不能超过35" }
liumin committed
129
    ],
130
    "bfdgrp.rec.totdat": [
131
        { type: "date", required: false, message: "输入正确的日期" }
liumin committed
132
    ],
133 134 135
    "bftp.dedget.sdamod.dadsnd": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
liumin committed
136
    ],
137 138 139
    "dedgrp.rec.ownref": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
liumin committed
140
    ],
141 142 143
    "bftp.dedget.sdamod.seainf": [
        { type: "string", required: false, message: "必输项" },
        { max: 3, message: "长度不能超过3" }
liumin committed
144
    ],
145 146 147
    "dedgrp.cbs.opn1.cur": [
        { type: "string", required: false, message: "必输项" },
        { max: 3, message: "长度不能超过3" }
liumin committed
148
    ],
149
    "dedgrp.cbs.opn1.amt": [
150
        { type: "string", required: false, message: "必输项" },
151
        { max: 18, message: "整数位不能超过14位" },
152
        { pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
liumin committed
153
    ],
154 155 156
    "bftp.recget.sdamod.dadsnd": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
liumin committed
157
    ],
158 159 160
    "bfdgrp.rec.ownref": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
liumin committed
161
    ],
162 163 164
    "bftp.recget.sdamod.seainf": [
        { type: "string", required: false, message: "必输项" },
        { max: 3, message: "长度不能超过3" }
liumin committed
165
    ],
166 167 168
    "bfdgrp.rec.nam": [
        { type: "string", required: false, message: "必输项" },
        { max: 40, message: "长度不能超过40" }
liumin committed
169
    ],
170 171 172
    "bfdgrp.prb.pts.ref": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
liumin committed
173
    ],
174 175 176
    "bfdgrp.cbs.opn1.cur": [
        { type: "string", required: false, message: "必输项" },
        { max: 3, message: "长度不能超过3" }
liumin committed
177
    ],
178 179 180 181
    "bfdgrp.cbs.opn1.amt": [
        { type: "string" },
        { max: 18, message: "整数位不能超过14位" },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
liumin committed
182
    ],
183 184 185
    "bfdgrp.prb.pts.nam": [
        { type: "string", required: false, message: "必输项" },
        { max: 40, message: "长度不能超过40" }
liumin committed
186
    ],
187 188 189
    "dedgrp.rec.kzref": [
        { type: "string", required: false, message: "必输项" },
        { max: 35, message: "长度不能超过35" }
liumin committed
190
    ],
191 192 193
    "bfdgrp.iss.pts.ref": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
liumin committed
194 195
    ],

196 197 198
    "bfdgrp.iss.pts.nam": [
        { type: "string", required: false, message: "必输项" },
        { max: 40, message: "长度不能超过40" }
liumin committed
199
    ],
200
    "bfdgrp.rec.matdat": [
201
        { type: "date", required: false, message: "输入正确的日期" }
liumin committed
202
    ],
203
    "bfdgrp.rec.rcvdat": [
204
        { type: "date", required: false, message: "输入正确的日期" }
liumin committed
205
    ],
206
    "bfdgrp.rec.predat": [
207
        { type: "date", required: false, message: "输入正确的日期" }
liumin committed
208
    ],
209 210 211
    "bfdgrp.apl.pts.ref": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
liumin committed
212
    ],
213 214 215
    "bfdgrp.rec.docsta": [
        { type: "string", required: false, message: "必输项" },
        { max: 40, message: "长度不能超过40" }
liumin committed
216
    ],
217 218 219
    "bfdgrp.apl.pts.nam": [
        { type: "string", required: false, message: "必输项" },
        { max: 40, message: "长度不能超过40" }
liumin committed
220
    ],
221 222 223
    "trnmod.swiadd.strinf": [
        { type: "string" },
        { max: 35, message: "长度不能超过35" }
liumin committed
224 225
    ],

226 227 228 229
    "setmod.docamt": [
        { type: "string" },
        { max: 18, message: "整数位不能超过14位" },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
liumin committed
230 231
    ],

232 233 234 235 236 237 238 239 240 241 242 243 244 245
    "aamset.utlamt": [
        { type: "string" },
        { max: 18, message: "整数位不能超过14位" },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
    ],
    "aamset.utlamt2": [
        { type: "string" },
        { max: 18, message: "整数位不能超过14位" },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
    ],
    "setmod.redamt": [
        { type: "string" },
        { max: 18, message: "整数位不能超过14位" },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
liumin committed
246 247
    ],
}