check.js 10.8 KB
Newer Older
1
export default {
wanggang_yf committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
    'liaall.misamt': null,
    'liaall.limmod.limpts.oth.pts.extkey': null,
    'liaall.limmod.ownref': null,
    'liaall.limmod.ecifno': null,
    'liaall.limmod.limpts.oth.pts.nam': null,
    'setmod.dspflg': null,
    'liaall.limmod.limpts.wrk.pts.nam': null,
    'liaall.limmod.limpts.wrk.pts.extkey': null,
    'mtabut.coninf.conexedat': null,
    'liaall.limmod.limpts.nonrevflg1': null,
    'setmod.docamt': null,
    'betp0.ledget.sdamod.dadsnd': [
        { type: 'string', required: false, message: '必输项' },
        { max: 16, message: '长度不能超过16' }
    ],
    'ledgrp.rec.ownref': [
        { type: 'string', required: false, message: '必输项' },
        { max: 16, message: '长度不能超过16' }
    ],
    'betp0.ledget.sdamod.seainf': [
        { type: 'string', required: false, message: '必输项' },
        { max: 3, message: '长度不能超过3' }
    ],
    'ledgrp.cbs.opn1.cur': [
        { type: 'string', required: false, message: '必输项' },
        { max: 3, message: '长度不能超过3' }
    ],
wangguangchao committed
29 30 31 32 33
    // 'ledgrp.cbs.opn1.amt': [
    //     { type: 'string', required: false, message: '必输项' },
    //     { max: 18, message: '整数位不能超过14位' },
    //     { pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
    // ],
wanggang_yf committed
34 35 36
    'betp0.recget.sdamod.dadsnd': [
        { type: 'string', required: false, message: '必输项' },
        { max: 16, message: '长度不能超过16' }
37
    ],
wanggang_yf committed
38 39 40
    'bedgrp.rec.ownref': [
        { type: 'string', required: false, message: '必输项' },
        { max: 16, message: '长度不能超过16' }
41
    ],
wanggang_yf committed
42 43 44
    'betp0.recget.sdamod.seainf': [
        { type: 'string', required: false, message: '必输项' },
        { max: 3, message: '长度不能超过3' }
45
    ],
wanggang_yf committed
46 47 48
    'bedgrp.rec.nam': [
        { type: 'string', required: false, message: '必输项' },
        { max: 40, message: '长度不能超过40' }
49 50
    ],

wanggang_yf committed
51 52 53 54
    'bedgrp.cbs.max.amt': [
        { type: 'string', required: false, message: '必输项' },
        { max: 18, message: '整数位不能超过14位' },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
55
    ],
wanggang_yf committed
56 57 58
    'bedgrp.ben.pts.ref': [
        { type: 'string', required: false, message: '必输项' },
        { max: 16, message: '长度不能超过16' }
59
    ],
wanggang_yf committed
60 61 62
    'bedgrp.cbs.opn1.cur': [
        { type: 'string', required: false, message: '必输项' },
        { max: 3, message: '长度不能超过3' }
63
    ],
wanggang_yf committed
64 65 66 67
    'bedgrp.cbs.opn1.amt': [
        { type: 'string', required: false, message: '必输项' },
        { max: 18, message: '整数位不能超过14位' },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
68
    ],
wanggang_yf committed
69 70 71 72
    'bedgrp.cbs.opn2.amt': [
        { type: 'string', required: false, message: '必输项' },
        { max: 18, message: '整数位不能超过14位' },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
73
    ],
wanggang_yf committed
74 75 76
    'bedgrp.ben.pts.nam': [
        { type: 'string', required: false, message: '必输项' },
        { max: 40, message: '长度不能超过40' }
77
    ],
wanggang_yf committed
78 79 80
    'bedgrp.iss.pts.ref': [
        { type: 'string', required: false, message: '必输项' },
        { max: 16, message: '长度不能超过16' }
81
    ],
wanggang_yf committed
82 83 84
    'bedgrp.rec.doctypcod': [
        { type: 'string', required: false, message: '必输项' },
        { max: 1, message: '长度不能超过1' }
85
    ],
wanggang_yf committed
86 87 88
    'bedgrp.iss.pts.nam': [
        { type: 'string', required: false, message: '必输项' },
        { max: 40, message: '长度不能超过40' }
89 90
    ],

wangguangchao committed
91 92 93 94 95 96 97 98 99 100 101 102
    // 'bedgrp.rec.matdat': [
    //     { type: 'date', required: false, message: '输入正确的日期' }
    // ],
    // 'bedgrp.rec.orddat': [
    //     { type: 'date', required: false, message: '输入正确的日期' }
    // ],
    // 'bedgrp.rec.rcvdat': [
    //     { type: 'date', required: false, message: '输入正确的日期' }
    // ],
    // 'bedgrp.rec.predat': [
    //     { type: 'date', required: false, message: '输入正确的日期' }
    // ],
wanggang_yf committed
103 104 105
    'bedgrp.apl.pts.ref': [
        { type: 'string', required: false, message: '必输项' },
        { max: 16, message: '长度不能超过16' }
106
    ],
wanggang_yf committed
107 108 109
    'bedgrp.rec.docsta': [
        { type: 'string', required: false, message: '必输项' },
        { max: 40, message: '长度不能超过40' }
110
    ],
wanggang_yf committed
111 112 113
    'bedgrp.apl.pts.nam': [
        { type: 'string', required: false, message: '必输项' },
        { max: 40, message: '长度不能超过40' }
114
    ],
wanggang_yf committed
115 116 117
    'strinf': [
        { type: 'string', required: false, message: '必输项' },
        { max: 1750, message: '长度不能超过1750' }
118 119 120
    ],


wanggang_yf committed
121 122 123 124
    'liaall.outamt': [
        { type: 'number', required: false, message: '必输项' },
        { max: 18, message: '整数位不能超过14位' },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
125
    ],
wanggang_yf committed
126 127 128
    'liaall.outpct': [
        { type: 'string', required: false, message: '必输项' },
        { max: 6, message: '长度不能超过6' }
129
    ],
wanggang_yf committed
130 131 132
    'liaall.concur': [
        { type: 'string', required: false, message: '必输项' },
        { max: 3, message: '长度不能超过3' }
133
    ],
wanggang_yf committed
134 135 136 137
    'liaall.misamt': [
        { type: 'number', required: false, message: '必输项' },
        { max: 18, message: '整数位不能超过14位' },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
138 139 140
    ],


wanggang_yf committed
141 142 143 144
    'liaall.exttotoldamt': [
        { type: 'number', required: false, message: '必输项' },
        { max: 18, message: '整数位不能超过14位' },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
145
    ],
wanggang_yf committed
146 147 148 149
    'liaall.exttotamt': [
        { type: 'number', required: false, message: '必输项' },
        { max: 18, message: '整数位不能超过14位' },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
150
    ],
wanggang_yf committed
151 152 153
    'setmod.ref': [
        { type: 'string', required: false, message: '必输项' },
        { max: 16, message: '长度不能超过16' }
154 155 156
    ],


wangguangchao committed
157 158 159 160 161
    // 'setmod.docamt': [
    //     { type: 'number', required: false, message: '必输项' },
    //     { max: 18, message: '整数位不能超过14位' },
    //     { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
    // ],
162 163 164 165




wanggang_yf committed
166 167 168
    'setmod.zmqacc': [
        { type: 'string', required: false, message: '必输项' },
        { max: 20, message: '长度不能超过20' }
169 170 171 172
    ],



wangguangchao committed
173 174 175 176
    // 'mtabut.coninf.oitinf.oit.inftxt': [
    //     { type: 'string', required: true, message: '必输项' },
    //     { max: 60, message: '长度不能超过60' }
    // ],
177 178


wangguangchao committed
179 180 181 182
    // 'mtabut.coninf.oitset.oit.inftxt': [
    //     { type: 'string', required: true, message: '必输项' },
    //     { max: 60, message: '长度不能超过60' }
    // ],
183

wangguangchao committed
184 185 186
    // 'mtabut.coninf.conexedat': [
    //     { type: 'date', required: false, message: '输入正确的日期' }
    // ],
wanggang_yf committed
187 188 189
    'mtabut.coninf.usr.extkey': [
        { type: 'string', required: false, message: '必输项' },
        { max: 8, message: '长度不能超过8' }
190 191
    ],

wanggang_yf committed
192 193 194
    'trnmod.trndoc.advnam': [
        { type: 'string', required: false, message: '必输项' },
        { max: 50, message: '长度不能超过50' }
195
    ],
wanggang_yf committed
196 197 198
    'trnmod.trndoc.amdapl': [
        { type: 'string', required: true, message: '必输项' },
        { max: 50, message: '长度不能超过50' }
199 200
    ],

wanggang_yf committed
201 202 203
    'trnmod.trndoc.advdoc': [
        { type: 'string', required: false, message: '必输项' },
        { max: 1, message: '长度不能超过1' }
204
    ],
wanggang_yf committed
205 206 207
    'trnmod.trndoc.filrecv': [
        { type: 'string', required: false, message: '必输项' },
        { max: 16, message: '长度不能超过16' }
208
    ],
wanggang_yf committed
209 210 211
    'trnmod.trndoc.doctrestm': [
        { type: 'string', required: false, message: '必输项' },
        { max: 1, message: '长度不能超过1' }
212 213 214 215 216 217 218 219 220 221
    ],









wanggang_yf committed
222 223 224
    'trnmod.trndoc.condocstm': [
        { type: 'string', required: false, message: '必输项' },
        { max: 1, message: '长度不能超过1' }
225
    ],
wanggang_yf committed
226 227 228
    'trnmod.trndoc.rcvatt.seainf': [
        { type: 'string', required: false, message: '必输项' },
        { max: 3, message: '长度不能超过3' }
229
    ],
wanggang_yf committed
230 231 232
    'liaall.limmod.ecifno': [
        { type: 'string', required: false, message: '必输项' },
        { max: 22, message: '长度不能超过22' }
233 234 235 236
    ],



wanggang_yf committed
237 238 239
    'liaall.limmod.ownref': [
        { type: 'string', required: false, message: '必输项' },
        { max: 16, message: '长度不能超过16' }
240
    ],
wanggang_yf committed
241 242 243
    'liaall.limmod.wrkp.ptsget.sdamod.dadsnd': [
        { type: 'string', required: false, message: '必输项' },
        { max: 16, message: '长度不能超过16' }
244
    ],
wanggang_yf committed
245 246 247
    'liaall.limmod.othp.ptsget.sdamod.dadsnd': [
        { type: 'string', required: false, message: '必输项' },
        { max: 16, message: '长度不能超过16' }
248
    ],
wanggang_yf committed
249 250 251
    'liaall.limmod.limpts.wrk.pts.extkey': [
        { type: 'string', required: false, message: '必输项' },
        { max: 16, message: '长度不能超过16' }
252
    ],
wanggang_yf committed
253 254 255
    'liaall.limmod.wrkp.ptsget.sdamod.seainf': [
        { type: 'string', required: false, message: '必输项' },
        { max: 3, message: '长度不能超过3' }
256 257
    ],

wanggang_yf committed
258 259 260
    'liaall.limmod.limpts.oth.pts.extkey': [
        { type: 'string', required: false, message: '必输项' },
        { max: 16, message: '长度不能超过16' }
261
    ],
wanggang_yf committed
262 263 264
    'liaall.limmod.othp.ptsget.sdamod.seainf': [
        { type: 'string', required: false, message: '必输项' },
        { max: 3, message: '长度不能超过3' }
265 266
    ],

wanggang_yf committed
267 268 269 270
    'liaall.limmod.comamt': [
        { type: 'number', required: false, message: '必输项' },
        { max: 18, message: '整数位不能超过14位' },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
271
    ],
wanggang_yf committed
272 273 274
    'liaall.limmod.limpts.wrk.pts.nam': [
        { type: 'string', required: false, message: '必输项' },
        { max: 40, message: '长度不能超过40' }
275
    ],
wanggang_yf committed
276 277 278
    'liaall.limmod.limpts.oth.pts.nam': [
        { type: 'string', required: false, message: '必输项' },
        { max: 40, message: '长度不能超过40' }
279
    ],
wanggang_yf committed
280 281 282 283
    'liaall.limmod.ccvamt': [
        { type: 'number', required: false, message: '必输项' },
        { max: 18, message: '整数位不能超过14位' },
        { pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: '小数位不能超过3位' }
284 285 286 287 288 289
    ],





wanggang_yf committed
290 291 292
    'liaall.limmod.limpts.pfcod1': [
        { type: 'string', required: false, message: '必输项' },
        { max: 14, message: '长度不能超过14' }
293
    ],
wanggang_yf committed
294 295 296
    'liaall.limmod.limpts.pfcod2': [
        { type: 'string', required: false, message: '必输项' },
        { max: 14, message: '长度不能超过14' }
297 298 299 300
    ],

}