Pattern.js 11.4 KB
Newer Older
jinqian committed
1
export default {
Eivi committed
2 3 4
    "betp.ledget.sdamod.dadsnd": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
jinqian committed
5
    ],
Eivi committed
6 7 8
    "ledgrp.rec.ownref": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
jinqian committed
9
    ],
Eivi committed
10 11 12
    "betp.ledget.sdamod.seainf": [
        { type: "string", required: false, message: "必输项" },
        { max: 3, message: "长度不能超过3" }
jinqian committed
13
    ],
Eivi committed
14 15 16
    "ledgrp.cbs.opn1.cur": [
        { type: "string", required: false, message: "必输项" },
        { max: 3, message: "长度不能超过3" }
jinqian committed
17
    ],
Eivi committed
18 19 20
    "ledgrp.cbs.opn1.amt": [
        { type: "string", required: false, message: "必输项" },
        { max: 18, message: "整数位不能超过14位" },
21
        { pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
jinqian committed
22
    ],
Eivi committed
23 24 25
    "betp.recget.sdamod.dadsnd": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
jinqian committed
26
    ],
Eivi committed
27 28 29
    "bedgrp.rec.ownref": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
jinqian committed
30
    ],
Eivi committed
31 32 33
    "betp.recget.sdamod.seainf": [
        { type: "string", required: false, message: "必输项" },
        { max: 3, message: "长度不能超过3" }
jinqian committed
34
    ],
Eivi committed
35 36 37
    "bedgrp.rec.nam": [
        { type: "string", required: false, message: "必输项" },
        { max: 40, message: "长度不能超过40" }
jinqian committed
38 39
    ],

Eivi committed
40 41 42 43
    "bedgrp.cbs.max.amt": [
        { type: "string", required: false, message: "必输项" },
        { max: 18, message: "整数位不能超过14位" },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
jinqian committed
44
    ],
Eivi committed
45 46 47
    "bedgrp.prb.pts.ref": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
jinqian committed
48 49
    ],

Eivi committed
50 51 52
    "bedgrp.cbs.opn1.cur": [
        { type: "string", required: false, message: "必输项" },
        { max: 3, message: "长度不能超过3" }
jinqian committed
53
    ],
Eivi committed
54 55 56 57
    "bedgrp.cbs.opn1.amt": [
        { type: "number", required: false, message: "必输项" },
        { max: 18, message: "整数位不能超过14位" },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
jinqian committed
58
    ],
Eivi committed
59 60 61
    "bedgrp.prb.pts.nam": [
        { type: "string", required: false, message: "必输项" },
        { max: 40, message: "长度不能超过40" }
jinqian committed
62
    ],
Eivi committed
63 64 65
    "bedgrp.iss.pts.ref": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
jinqian committed
66 67
    ],

Eivi committed
68 69 70
    "bedgrp.iss.pts.nam": [
        { type: "string", required: false, message: "必输项" },
        { max: 40, message: "长度不能超过40" }
jinqian committed
71
    ],
Eivi committed
72 73
    "bedgrp.rec.matdat": [
        { type: "date", required: false, message: "输入正确的日期" }
jinqian committed
74
    ],
Eivi committed
75 76
    "bedgrp.rec.rcvdat": [
        { type: "date", required: false, message: "输入正确的日期" }
jinqian committed
77
    ],
Eivi committed
78 79
    "bedgrp.rec.predat": [
        { type: "date", required: false, message: "输入正确的日期" }
jinqian committed
80
    ],
Eivi committed
81 82 83
    "bedgrp.apl.pts.ref": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
jinqian committed
84
    ],
Eivi committed
85 86 87
    "bedgrp.rec.docsta": [
        { type: "string", required: false, message: "必输项" },
        { max: 40, message: "长度不能超过40" }
jinqian committed
88
    ],
Eivi committed
89 90 91
    "bedgrp.apl.pts.nam": [
        { type: "string", required: false, message: "必输项" },
        { max: 40, message: "长度不能超过40" }
jinqian committed
92 93 94
    ],


Eivi committed
95 96 97
    "betp.othp.ptsget.sdamod.dadsnd": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
jinqian committed
98 99
    ],

Eivi committed
100 101 102
    "bedgrp.oth.pts.extkey": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
jinqian committed
103
    ],
Eivi committed
104 105 106
    "betp.othp.ptsget.sdamod.seainf": [
        { type: "string", required: false, message: "必输项" },
        { max: 3, message: "长度不能超过3" }
jinqian committed
107 108
    ],

Eivi committed
109 110 111
    "bedgrp.oth.namelc": [
        { type: "string", required: true, message: "必输项" },
        { max: 35, message: "长度不能超过35" }
jinqian committed
112 113
    ],

Eivi committed
114 115
    "bedgrp.oth.pts.adrblk": [
        { type: "string", required: true, message: "必输项" },
116
        { type: "string", max: 999, message: "长度不能超过35" }
jinqian committed
117
    ],
Eivi committed
118 119 120
    "bedgrp.oth.dbfadrblkcn": [
        { type: "string", required: true, message: "必输项" },
        { max: 35, message: "长度不能超过35" }
jinqian committed
121
    ],
Eivi committed
122 123 124
    "bedgrp.oth.adrelc": [
        { type: "string", required: true, message: "必输项" },
        { max: 35, message: "长度不能超过35" }
jinqian committed
125 126 127
    ],


Eivi committed
128 129 130
    "betp.prbp.ptsget.sdamod.dadsnd": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
jinqian committed
131
    ],
Eivi committed
132 133 134
    "bedgrp.prb.pts.extkey": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
jinqian committed
135
    ],
Eivi committed
136 137 138
    "betp.prbp.ptsget.sdamod.seainf": [
        { type: "string", required: false, message: "必输项" },
        { max: 3, message: "长度不能超过3" }
jinqian committed
139 140
    ],

Eivi committed
141
    "trnmod.trndoc.addstr750": [
142
        { type: "string", required: false, message: "必输项" },
Eivi committed
143
        { max: 35, message: "长度不能超过35" }
jinqian committed
144
    ],
Eivi committed
145 146 147
    "bedgrp.prb.namelc": [
        { type: "string", required: true, message: "必输项" },
        { max: 35, message: "长度不能超过35" }
jinqian committed
148
    ],
Eivi committed
149 150
    "bedgrp.prb.pts.adrblk": [
        { type: "string", required: true, message: "必输项" },
151
        { type: "string", max: 999, message: "长度不能超过35" }
jinqian committed
152
    ],
Eivi committed
153 154 155
    "bedgrp.prb.dbfadrblkcn": [
        { type: "string", required: true, message: "必输项" },
        { max: 35, message: "长度不能超过35" }
jinqian committed
156
    ],
Eivi committed
157 158 159
    "bedgrp.prb.adrelc": [
        { type: "string", required: true, message: "必输项" },
        { max: 35, message: "长度不能超过35" }
jinqian committed
160
    ],
Eivi committed
161
    "bedgrp.blk.intdis": [
162
        { type: "string", required: false, message: "必输项" },
Eivi committed
163
        { max: 65, message: "长度不能超过65" }
164 165
    ],

Eivi committed
166
    "bedgrp.blk.docins": [
167
        { type: "string", required: false, message: "必输项" },
Eivi committed
168
        { max: 35, message: "长度不能超过35" }
169 170
    ],

Eivi committed
171
    "bedgrp.blk.disdoc": [
172
        { type: "string", required: false, message: "必输项" },
Eivi committed
173
        { max: 35, message: "长度不能超过35" }
174 175
    ],

Eivi committed
176
    "bedgrp.blk.docdis": [
177
        { type: "string", required: false, message: "必输项" },
Eivi committed
178
        { max: 50, message: "长度不能超过50" }
179 180 181 182 183
    ],




Eivi committed
184 185 186 187
    "liaall.outamt": [
        { type: "number", required: false, message: "必输项" },
        { max: 18, message: "整数位不能超过14位" },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
188
    ],
Eivi committed
189 190 191
    "liaall.outpct": [
        { type: "string", required: false, message: "必输项" },
        { max: 6, message: "长度不能超过6" }
192
    ],
Eivi committed
193 194 195
    "liaall.concur": [
        { type: "string", required: false, message: "必输项" },
        { max: 3, message: "长度不能超过3" }
196
    ],
Eivi committed
197 198 199 200
    "liaall.misamt": [
        { type: "number", required: false, message: "必输项" },
        { max: 18, message: "整数位不能超过14位" },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
201 202 203
    ],


Eivi committed
204 205 206 207
    "liaall.exttotoldamt": [
        { type: "number", required: false, message: "必输项" },
        { max: 18, message: "整数位不能超过14位" },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
208
    ],
Eivi committed
209 210 211 212
    "liaall.exttotamt": [
        { type: "number", required: false, message: "必输项" },
        { max: 18, message: "整数位不能超过14位" },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
213
    ],
Eivi committed
214 215 216
    "liaall.limmod.ecifno": [
        { type: "string", required: false, message: "必输项" },
        { max: 22, message: "长度不能超过22" }
217 218 219 220
    ],



Eivi committed
221 222 223
    "liaall.limmod.ownref": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
224
    ],
Eivi committed
225 226 227
    "liaall.limmod.wrkp.ptsget.sdamod.dadsnd": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
228
    ],
Eivi committed
229 230 231
    "liaall.limmod.othp.ptsget.sdamod.dadsnd": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
232
    ],
Eivi committed
233 234 235
    "liaall.limmod.limpts.wrk.pts.extkey": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
236
    ],
Eivi committed
237 238 239
    "liaall.limmod.wrkp.ptsget.sdamod.seainf": [
        { type: "string", required: false, message: "必输项" },
        { max: 3, message: "长度不能超过3" }
240 241
    ],

Eivi committed
242 243 244
    "liaall.limmod.limpts.oth.pts.extkey": [
        { type: "string", required: false, message: "必输项" },
        { max: 16, message: "长度不能超过16" }
245
    ],
Eivi committed
246 247 248
    "liaall.limmod.othp.ptsget.sdamod.seainf": [
        { type: "string", required: false, message: "必输项" },
        { max: 3, message: "长度不能超过3" }
249 250
    ],

Eivi committed
251 252 253 254
    "liaall.limmod.comamt": [
        { type: "number", required: false, message: "必输项" },
        { max: 18, message: "整数位不能超过14位" },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
255
    ],
Eivi committed
256 257 258
    "liaall.limmod.limpts.wrk.pts.nam": [
        { type: "string", required: false, message: "必输项" },
        { max: 40, message: "长度不能超过40" }
259
    ],
Eivi committed
260 261 262
    "liaall.limmod.limpts.oth.pts.nam": [
        { type: "string", required: false, message: "必输项" },
        { max: 40, message: "长度不能超过40" }
263
    ],
Eivi committed
264 265 266 267
    "liaall.limmod.ccvamt": [
        { type: "number", required: false, message: "必输项" },
        { max: 18, message: "整数位不能超过14位" },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
268 269 270 271 272 273
    ],





Eivi committed
274 275 276
    "liaall.limmod.limpts.pfcod1": [
        { type: "string", required: false, message: "必输项" },
        { max: 14, message: "长度不能超过14" }
277
    ],
Eivi committed
278 279 280
    "liaall.limmod.limpts.pfcod2": [
        { type: "string", required: false, message: "必输项" },
        { max: 14, message: "长度不能超过14" }
281 282 283
    ],


Eivi committed
284 285 286
    "trnmod.trndoc.advnam": [
        { type: "string", required: false, message: "必输项" },
        { max: 50, message: "长度不能超过50" }
287
    ],
Eivi committed
288 289 290
    "trnmod.trndoc.amdapl": [
        { type: "string", required: true, message: "必输项" },
        { max: 50, message: "长度不能超过50" }
291 292
    ],

Eivi committed
293 294 295
    "trnmod.trndoc.advdoc": [
        { type: "string", required: false, message: "必输项" },
        { max: 1, message: "长度不能超过1" }
296 297
    ],

Eivi committed
298 299 300
    "mtabut.coninf.oitinf.oit.inftxt": [
        { type: "string", required: true, message: "必输项" },
        { max: 60, message: "长度不能超过60" }
301 302 303
    ],


Eivi committed
304 305 306
    "mtabut.coninf.oitset.oit.inftxt": [
        { type: "string", required: true, message: "必输项" },
        { max: 60, message: "长度不能超过60" }
307 308
    ],

Eivi committed
309 310
    "mtabut.coninf.conexedat": [
        { type: "date", required: false, message: "输入正确的日期" }
311
    ],
Eivi committed
312 313 314
    "mtabut.coninf.usr.extkey": [
        { type: "string", required: false, message: "必输项" },
        { max: 8, message: "长度不能超过8" }
315
    ],
jinqian committed
316
}