Check.js 25 KB
Newer Older
1 2 3 4

/**
* Ditopn Check规则
*/
liuxin committed
5
import Utils from "~/utils";
6 7
export default {

liuxin committed
8 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 40 41 42 43 44 45
    "liaall.misamt": [checkLiaallMisamtN100,],
    "liaall.limmod.limpts.oth.pts.extkey": [checkLiaallLimmodLimptsOthPtsExtkeyN100, checkLiaallLimmodLimptsOthPtsExtkeyN950, checkLiaallLimmodLimptsOthPtsExtkeyN960,],
    "didgrp.apl.pts.ref": [checkDidgrpAplPtsRefN100,],
    "didgrp.apl.pts.youzbm": [checkDidgrpAplPtsYouzbmN100,],
    "ameadvrmk": [checkAmeadvrmkN100,],
    "liaall.limmod.ownref": [checkLiaallLimmodOwnrefN100,],
    "didgrp.rec.expplc": [checkDidgrpRecExpplcN900,],
    "didgrp.rec.fqtime": [checkDidgrpRecFqtimeN100,],
    "didgrp.adv.pts.bankno": [checkDidgrpAdvPtsBanknoN100,],
    "didgrp.rec.tratyp": [checkDidgrpRecTratypN100,],
    "liaall.limmod.ecifno": [checkLiaallLimmodEcifnoN100,],
    "ditp.benp.ptsget.sdamod.dadsnd": [checkDitpBenpPtsgetSdamodDadsndN100,],
    "didgrp.rec.revdat": [checkDidgrpRecRevdatN100,],
    "didgrp.iss.pts.extkey": [checkDidgrpIssPtsExtkeyN950, checkDidgrpIssPtsExtkeyN960,],
    "didgrp.rec.sdsrfs": [checkDidgrpRecSdsrfsN100,],
    "didgrp.iss.pts.youzbm": [checkDidgrpIssPtsYouzbmN1001,],
    "didgrp.rec.fqzytgfw": [checkDidgrpRecFqzytgfwN100,],
    "didgrp.rec.conamt": [checkDidgrpRecConamtN100,],
    "didgrp.apc.pts.bankno": [checkDidgrpApcPtsBanknoN100,],
    "didgrp.rec.shppro": [checkDidgrpRecShpproN100,],
    "didgrp.rec.shpto": [checkDidgrpRecShptoN100,],
    "didgrp.ben.namelc": [checkDidgrpBenNamelcN100,],
    "didgrp.cmb.pts.bankno": [checkDidgrpCmbPtsBanknoN100,],
    "didgrp.rec.shppar": [checkDidgrpRecShpparN100,],
    "liaall.limmod.othp.ptsget.sdamod.dadsnd": [checkLiaallLimmodOthpPtsgetSdamodDadsndN100,],
    "didgrp.rmb.adrelc": [checkDidgrpRmbAdrelcN100,],
    "didgrp.apl.pts.extkey": [checkDidgrpAplPtsExtkeyN950, checkDidgrpAplPtsExtkeyN960,],
    "didgrp.apb.pts.bankno": [checkDidgrpApbPtsBanknoN100,],
    "didgrp.rec.rmbcha": [checkDidgrpRecRmbchaN100,],
    "ditp.aplp.ptsget.sdamod.dadsnd": [checkDitpAplpPtsgetSdamodDadsndN100,],
    "didgrp.avb.pts.bankno": [checkDidgrpAvbPtsBanknoN100,],
    "didgrp.rmb.pts.extkey": [checkDidgrpRmbPtsExtkeyN950, checkDidgrpRmbPtsExtkeyN960,],
    "setmod.dspflg": [checkSetmodDspflgN100, checkSetmodDspflgN1100, checkSetmodDspflgN1200,],
    "didgrp.blk.revcls": [checkDidgrpBlkRevclsN100,],
    "didgrp.rmb.pts.bankno": [checkDidgrpRmbPtsBanknoN100,],
    "didgrp.ben.adrelc": [checkDidgrpBenAdrelcN100,],
    "didgrp.rec.apprulrmb": [checkDidgrpRecApprulrmbN100,],
    "didgrp.apl.pts.dihdig": [checkDidgrpAplPtsDihdigN100,],
liuxin committed
46 47
    //"didgrp.rec.conno": [checkDidgrpRecConnoN100, checkDidgrpRecConnoN1001,],
    "didgrp.rec.conno": [checkDidgrpRecConnoN100,],
潘际乾 committed
48
    "didgrp.blk.defdet": [checkDidgrpBlkDefdetN100, checkDidgrpBlkDefdetN1001,],
liuxin committed
49 50 51 52 53 54 55 56 57
    "didgrp.rec.elcflg": [checkDidgrpRecElcflgN100,],
    "didgrp.blk.insbnk": [checkDidgrpBlkInsbnkN100,],
    "liaall.liaccv.totcovamt": [checkLiaallLiaccvTotcovamtN100,],
    "didgrp.beb.pts.bankno": [checkDidgrpBebPtsBanknoN100,],
    "didgrp.apl.pts.adrblk": [checkDidgrpAplPtsAdrblkN950,],
    "didgrp.rec.lcrtyp": [checkDidgrpRecLcrtypN900,],
    "didgrp.rec.shpfro": [checkDidgrpRecShpfroN100,],
    "didgrp.rec.guaflg": [checkDidgrpRecGuaflgN100,],
    "didgrp.iss.pts.bankno": [checkDidgrpIssPtsBanknoN100,],
liuxin committed
58 59
    //"didgrp.blk.lcrgod": [checkDidgrpBlkLcrgodN100, checkDidgrpBlkLcrgodN100, checkDidgrpBlkLcrgodN1001,],
    "didgrp.blk.lcrgod": [checkDidgrpBlkLcrgodN100,],
liuxin committed
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
    "didgrp.rec.idcode": [checkDidgrpRecIdcodeN100,],
    "didgrp.rec.fenctg": [checkDidgrpRecFenctgN100,],
    "liaall.limmod.limpts.wrk.pts.extkey": [checkLiaallLimmodLimptsWrkPtsExtkeyN100, checkLiaallLimmodLimptsWrkPtsExtkeyN950, checkLiaallLimmodLimptsWrkPtsExtkeyN960,],
    "didgrp.ben.pts.dihdig": [checkDidgrpBenPtsDihdigN1004,],
    "didgrp.rec.shpdat": [checkDidgrpRecShpdatN100, checkDidgrpRecShpdatN999,],
    "didgrp.cbs.nom1.cur": [checkDidgrpCbsNom1CurN100,],
    "didgrp.iss.pts.dihdig": [checkDidgrpIssPtsDihdigN1001,],
    "didgrp.apl.namelc": [checkDidgrpAplNamelcN100,],
    "didgrp.rec.revtyp": [checkDidgrpRecRevtypN100,],
    "didgrp.rmb.pts.adrblk": [checkDidgrpRmbPtsAdrblkN950,],
    "mtabut.coninf.conexedat": [checkMtabutConinfConexedatN100,],
    "didgrp.adv.pts.youzbm": [checkDidgrpAdvPtsYouzbmN1003,],
    "didgrp.apl.pts.extact": [checkDidgrpAplPtsExtactN100,],
    "didgrp.ben.pts.adrblk": [checkDidgrpBenPtsAdrblkN950,],
    "liaall.limmod.limpts.nonrevflg1": [checkLiaallLimmodLimptsNonrevflg1N100,],
    "didgrp.apc.pts.youzbm": [checkDidgrpApcPtsYouzbmN1002,],
    "didgrp.ben.pts.youzbm": [checkDidgrpBenPtsYouzbmN1004,],
    "didgrp.rec.opndat": [checkDidgrpRecOpndatN100, checkDidgrpRecOpndatN950,],
    "didgrp.rec.avbby": [checkDidgrpRecAvbbyN100,],
    "didgrp.rec.mytype": [checkDidgrpRecMytypeN100,],
    "ditp.usr.extkey": [checkDitpUsrExtkeyN100,],
    "liaall.limmod.wrkp.ptsget.sdamod.dadsnd": [checkLiaallLimmodWrkpPtsgetSdamodDadsndN100,],
    "ditp.recget.sdamod.dadsnd": [checkDitpRecgetSdamodDadsndN100,],
    "didgrp.apc.pts.dihdig": [checkDidgrpApcPtsDihdigN1002,],
liuxin committed
84 85
    //"didgrp.adv.pts.extkey": [checkDidgrpAdvPtsExtkeyN100, checkDidgrpAdvPtsExtkeyN950, checkDidgrpAdvPtsExtkeyN960,],
    "didgrp.adv.pts.extkey": [checkDidgrpAdvPtsExtkeyN100,],
liuxin committed
86 87 88 89 90 91 92
    "didgrp.rmb.namelc": [checkDidgrpRmbNamelcN100,],
    "setmod.docamt": [checkSetmodDocamtN100, checkSetmodDocamtN15000,],
    "didgrp.adv.pts.dihdig": [checkDidgrpAdvPtsDihdigN1003,],
    "didgrp.rec.expdat": [checkDidgrpRecExpdatN100,],
    "didgrp.ben.pts.extkey": [checkDidgrpBenPtsExtkeyN950, checkDidgrpBenPtsExtkeyN960,],
    "liaall.liaccv.cshpct": [checkLiaallLiaccvCshpctN100,],
    "didgrp.rec.avbwth": [checkDidgrpRecAvbwthN100, checkDidgrpRecAvbwthN900,],
liuxin committed
93 94 95 96
    //"didgrp.blk.lcrdoc": [checkDidgrpBlkLcrdocN100, checkDidgrpBlkLcrdocN100, checkDidgrpBlkLcrdocN1001,],
    "didgrp.blk.lcrdoc": [checkDidgrpBlkLcrdocN100,],
    //"didgrp.rec.tenmaxday": [checkDidgrpRecTenmaxdayN1000, checkDidgrpRecTenmaxdayN1050,],
    "didgrp.rec.tenmaxday": [checkDidgrpRecTenmaxdayN1000,],
liuxin committed
97
    "didgrp.cbs.nom1.amt": [checkDidgrpCbsNom1AmtN100,],
潘际乾 committed
98
    "didgrp.blk.preper": [checkDidgrpBlkPreperN100,],
liuxin committed
99 100 101
    "didgrp.apl.adrelc": [checkDidgrpAplAdrelcN100,],
    "ditp.rmbp.ptsget.sdamod.dadsnd": [checkDitpRmbpPtsgetSdamodDadsndN100,],
    "didgrp.ben.pts.extact": [checkDidgrpBenPtsExtactN1001,],
潘际乾 committed
102
    "didgrp.blk.adlcnd": [checkDidgrpBlkAdlcndN100,],
denyu committed
103
    "litameadv": [checkLitameadvN100,ruleLitameadvN100,],
liuxin committed
104
    "liaall.liaccv.relcshpct": [checkLiaallLiaccvRelcshpctN100,],
孙杰 committed
105
    "didgrp.rec.bdflg":[resetDidgrpRecBdflg,],
106 107 108 109 110
}
/**
*   source:liaall.@0019.script
*   liaall
*/
潘际乾 committed
111
function checkLiaallMisamtN100(rule, value, callback) {
潘际乾 committed
112
    callback()
113 114 115 116 117
}
/**
*   source:limmod.@0005.script
*   liaall.limmod
*/
潘际乾 committed
118
function checkLiaallLimmodLimptsOthPtsExtkeyN100(rule, value, callback) {
潘际乾 committed
119
    callback()
120 121 122 123 124
}
/**
*   source:ptsget.@0009.script
*   liaall.limmod.othp.ptsget
*/
潘际乾 committed
125
function checkLiaallLimmodLimptsOthPtsExtkeyN950(rule, value, callback) {
潘际乾 committed
126
    callback()
127 128 129 130 131
}
/**
*   source:ptsp.@0013.script
*   liaall.limmod.othp
*/
潘际乾 committed
132
function checkLiaallLimmodLimptsOthPtsExtkeyN960(rule, value, callback) {
潘际乾 committed
133
    callback()
134 135 136 137 138
}
/**
*   source:ditopn.@0104.script
*   
*/
潘际乾 committed
139
function checkDidgrpAplPtsRefN100(rule, value, callback) {
潘际乾 committed
140
    callback()
141 142 143 144 145
}
/**
*   source:ditopn.@0121.script
*   
*/
潘际乾 committed
146
function checkDidgrpAplPtsYouzbmN100(rule, value, callback) {
潘际乾 committed
147
    callback()
148 149 150 151 152
}
/**
*   source:ditopn.@0092.script
*   
*/
潘际乾 committed
153
function checkAmeadvrmkN100(rule, value, callback) {
liuxin committed
154
    const that = this;
155
    that.executeCheck("ameadvrmk").then(res => {
潘际乾 committed
156
        callback()
liuxin committed
157
    })
158 159 160 161 162
}
/**
*   source:limmod.@0097.script
*   liaall.limmod
*/
潘际乾 committed
163
function checkLiaallLimmodOwnrefN100(rule, value, callback) {
潘际乾 committed
164
    callback()
165 166 167 168 169
}
/**
*   source:ditp.@0027.script
*   ditp
*/
潘际乾 committed
170
function checkDidgrpRecExpplcN900(rule, value, callback) {
1377875331@qq.com committed
171
    const that = this;
172
    that.executeCheck("didgrp.rec.expplc").then(res => {
1377875331@qq.com committed
173 174 175
        //TODO
        callback()
    })
176 177 178 179 180
}
/**
*   source:ditp.@0088.script
*   ditp
*/
潘际乾 committed
181
function checkDidgrpRecFqtimeN100(rule, value, callback) {
潘际乾 committed
182
    callback()
183 184 185 186 187
}
/**
*   source:ptsp.@0031.script
*   ditp.advp
*/
潘际乾 committed
188
function checkDidgrpAdvPtsBanknoN100(rule, value, callback) {
潘际乾 committed
189
    callback()
190 191 192 193 194
}
/**
*   source:ditopn.@0106.script
*   
*/
潘际乾 committed
195
function checkDidgrpRecTratypN100(rule, value, callback) {
liuxin committed
196
    const that = this;
197
    that.executeCheck("didgrp.rec.tratyp").then(res => {
liuxin committed
198
        //TODO
潘际乾 committed
199
        callback()
liuxin committed
200
    })
201 202 203 204 205
}
/**
*   source:limmod.@0085.script
*   liaall.limmod
*/
潘际乾 committed
206
function checkLiaallLimmodEcifnoN100(rule, value, callback) {
潘际乾 committed
207
    callback()
208 209 210 211 212
}
/**
*   source:ptsget.@0001.script
*   ditp.benp.ptsget
*/
潘际乾 committed
213
function checkDitpBenpPtsgetSdamodDadsndN100(rule, value, callback) {
潘际乾 committed
214
    callback()
215 216 217 218 219
}
/**
*   source:ditp.@0040.script
*   ditp
*/
潘际乾 committed
220
function checkDidgrpRecRevdatN100(rule, value, callback) {
潘际乾 committed
221
    callback()
222 223 224 225 226
}
/**
*   source:ptsget.@0009.script
*   ditp.issp.ptsget
*/
潘际乾 committed
227
function checkDidgrpIssPtsExtkeyN950(rule, value, callback) {
潘际乾 committed
228
    callback()
229 230 231 232 233
}
/**
*   source:ptsp.@0013.script
*   ditp.issp
*/
潘际乾 committed
234
function checkDidgrpIssPtsExtkeyN960(rule, value, callback) {
潘际乾 committed
235
    callback()
236 237 238 239 240
}
/**
*   source:ditp.@0092.script
*   ditp
*/
潘际乾 committed
241
function checkDidgrpRecSdsrfsN100(rule, value, callback) {
潘际乾 committed
242
    callback()
243 244 245 246 247
}
/**
*   source:ditopn.@0124.script
*   
*/
潘际乾 committed
248
function checkDidgrpIssPtsYouzbmN1001(rule, value, callback) {
liuxin committed
249
    const that = this;
250
    that.executeCheck("didgrp.iss.pts.youzbm").then(res => {
liuxin committed
251
        //TODO
潘际乾 committed
252
        callback()
liuxin committed
253
    })
254 255 256 257 258
}
/**
*   source:ditp.@0082.script
*   ditp
*/
潘际乾 committed
259
function checkDidgrpRecFqzytgfwN100(rule, value, callback) {
潘际乾 committed
260
    callback()
261 262 263 264 265
}
/**
*   source:ditp.@0029.script
*   ditp
*/
潘际乾 committed
266
function checkDidgrpRecConamtN100(rule, value, callback) {
潘际乾 committed
267
    callback()
268 269 270 271 272
}
/**
*   source:ptsp.@0031.script
*   ditp.apcp
*/
潘际乾 committed
273
function checkDidgrpApcPtsBanknoN100(rule, value, callback) {
潘际乾 committed
274
    callback()
275 276 277 278 279
}
/**
*   source:ditp.@0091.script
*   ditp
*/
潘际乾 committed
280
function checkDidgrpRecShpproN100(rule, value, callback) {
潘际乾 committed
281
    callback()
282 283 284 285 286
}
/**
*   source:ditp.@0090.script
*   ditp
*/
潘际乾 committed
287
function checkDidgrpRecShptoN100(rule, value, callback) {
潘际乾 committed
288
    callback()
289 290 291 292 293
}
/**
*   source:ptsp.@0038.script
*   ditp.benp
*/
潘际乾 committed
294
function checkDidgrpBenNamelcN100(rule, value, callback) {
1377875331@qq.com committed
295
    const that = this;
296
    that.executeCheck("didgrp.ben.namelc").then(res => {
1377875331@qq.com committed
297 298 299
        //TODO
        callback()
    })
300 301 302 303 304
}
/**
*   source:ptsp.@0031.script
*   ditp.cmbp
*/
潘际乾 committed
305
function checkDidgrpCmbPtsBanknoN100(rule, value, callback) {
潘际乾 committed
306
    callback()
307 308 309 310 311
}
/**
*   source:ditopn.@0108.script
*   
*/
潘际乾 committed
312
function checkDidgrpRecShpparN100(rule, value, callback) {
liuxin committed
313
    const that = this;
314
    that.executeCheck("didgrp.rec.shppar").then(res => {
liuxin committed
315
        //TODO
潘际乾 committed
316
        callback()
liuxin committed
317
    })
318 319 320 321 322
}
/**
*   source:ptsget.@0001.script
*   liaall.limmod.othp.ptsget
*/
潘际乾 committed
323
function checkLiaallLimmodOthpPtsgetSdamodDadsndN100(rule, value, callback) {
潘际乾 committed
324
    callback()
325 326 327 328 329
}
/**
*   source:ptsp.@0039.script
*   ditp.rmbp
*/
潘际乾 committed
330
function checkDidgrpRmbAdrelcN100(rule, value, callback) {
潘际乾 committed
331
    callback()
332 333 334 335 336
}
/**
*   source:ptsget.@0009.script
*   ditp.aplp.ptsget
*/
潘际乾 committed
337
function checkDidgrpAplPtsExtkeyN950(rule, value, callback) {
1377875331@qq.com committed
338
    const that = this;
339
    that.executeCheck("didgrp.apl.pts.extkey").then(res => {
1377875331@qq.com committed
340 341 342
        //TODO
        callback()
    })
343 344 345 346 347
}
/**
*   source:ptsp.@0013.script
*   ditp.aplp
*/
潘际乾 committed
348
function checkDidgrpAplPtsExtkeyN960(rule, value, callback) {
潘际乾 committed
349
    callback()
350 351 352 353 354
}
/**
*   source:ptsp.@0031.script
*   ditp.apbp
*/
潘际乾 committed
355
function checkDidgrpApbPtsBanknoN100(rule, value, callback) {
潘际乾 committed
356
    callback()
357 358 359 360 361
}
/**
*   source:ditp.@0035.script
*   ditp
*/
潘际乾 committed
362
function checkDidgrpRecRmbchaN100(rule, value, callback) {
潘际乾 committed
363
    callback()
364 365 366 367 368
}
/**
*   source:ptsget.@0001.script
*   ditp.aplp.ptsget
*/
潘际乾 committed
369
function checkDitpAplpPtsgetSdamodDadsndN100(rule, value, callback) {
潘际乾 committed
370
    callback()
371 372 373 374 375
}
/**
*   source:ptsp.@0031.script
*   ditp.avbp
*/
潘际乾 committed
376
function checkDidgrpAvbPtsBanknoN100(rule, value, callback) {
潘际乾 committed
377
    callback()
378 379 380 381 382
}
/**
*   source:ptsget.@0009.script
*   ditp.rmbp.ptsget
*/
潘际乾 committed
383
function checkDidgrpRmbPtsExtkeyN950(rule, value, callback) {
潘际乾 committed
384
    callback()
385 386 387 388 389
}
/**
*   source:ptsp.@0013.script
*   ditp.rmbp
*/
潘际乾 committed
390
function checkDidgrpRmbPtsExtkeyN960(rule, value, callback) {
潘际乾 committed
391
    callback()
392 393 394 395 396
}
/**
*   source:setmod.@0076.script
*   setmod
*/
潘际乾 committed
397
function checkSetmodDspflgN100(rule, value, callback) {
潘际乾 committed
398
    callback()
399 400 401 402 403
}
/**
*   source:setmod.@0090.script
*   setmod
*/
潘际乾 committed
404
function checkSetmodDspflgN1100(rule, value, callback) {
潘际乾 committed
405
    callback()
406 407 408 409 410
}
/**
*   source:setmod.@0146.script
*   setmod
*/
潘际乾 committed
411
function checkSetmodDspflgN1200(rule, value, callback) {
潘际乾 committed
412
    callback()
413 414 415 416 417
}
/**
*   source:txmmod.@0009.script
*   ditp.revclause
*/
潘际乾 committed
418
function checkDidgrpBlkRevclsN100(rule, value, callback) {
潘际乾 committed
419
    callback()
420 421 422 423 424
}
/**
*   source:ptsp.@0031.script
*   ditp.rmbp
*/
潘际乾 committed
425
function checkDidgrpRmbPtsBanknoN100(rule, value, callback) {
潘际乾 committed
426
    callback()
427 428 429 430 431
}
/**
*   source:ptsp.@0039.script
*   ditp.benp
*/
潘际乾 committed
432
function checkDidgrpBenAdrelcN100(rule, value, callback) {
1377875331@qq.com committed
433
    const that = this;
434
    that.executeCheck("didgrp.ben.adrelc").then(res => {
1377875331@qq.com committed
435 436 437
        //TODO
        callback()
    })
438 439 440 441 442
}
/**
*   source:ditp.@0043.script
*   ditp
*/
潘际乾 committed
443
function checkDidgrpRecApprulrmbN100(rule, value, callback) {
潘际乾 committed
444
    callback()
445 446 447 448 449
}
/**
*   source:ditopn.@0122.script
*   
*/
潘际乾 committed
450
function checkDidgrpAplPtsDihdigN100(rule, value, callback) {
潘际乾 committed
451
    callback()
452 453 454 455 456
}
/**
*   source:ditopn.@0112.script
*   
*/
潘际乾 committed
457
function checkDidgrpRecConnoN100(rule, value, callback) {
liuxin committed
458
    const that = this;
459
    that.executeCheck("didgrp.rec.conno").then(res => {
liuxin committed
460
        //TODO
潘际乾 committed
461
        callback()
liuxin committed
462
    })
463 464 465 466 467
}
/**
*   source:ditp.@0103.script
*   ditp
*/
潘际乾 committed
468
function checkDidgrpRecConnoN1001(rule, value, callback) {
潘际乾 committed
469
    callback()
470 471 472 473 474
}
/**
*   source:txmmod.@0009.script
*   ditp.defdet
*/
潘际乾 committed
475
function checkDidgrpBlkDefdetN100(rule, value, callback) {
潘际乾 committed
476
    callback()
477 478 479 480 481
}
/**
*   source:ditp.@0047.script
*   ditp
*/
潘际乾 committed
482 483 484
// function checkDidgrpBlkDefdetN100(rule, value, callback) {
//     callback()
// }
485 486 487 488
/**
*   source:ditp.@0104.script
*   ditp
*/
潘际乾 committed
489
function checkDidgrpBlkDefdetN1001(rule, value, callback) {
潘际乾 committed
490
    callback()
491 492 493 494 495
}
/**
*   source:ditopn.@0118.script
*   
*/
潘际乾 committed
496
function checkDidgrpRecElcflgN100(rule, value, callback) {
潘际乾 committed
497
    callback()
498 499 500 501 502
}
/**
*   source:txmmod.@0009.script
*   ditp.insbnk
*/
潘际乾 committed
503
function checkDidgrpBlkInsbnkN100(rule, value, callback) {
潘际乾 committed
504
    callback()
505 506 507 508 509
}
/**
*   source:liaccv.@0016.script
*   liaall.liaccv
*/
潘际乾 committed
510
function checkLiaallLiaccvTotcovamtN100(rule, value, callback) {
潘际乾 committed
511
    callback()
512 513 514 515 516
}
/**
*   source:ptsp.@0031.script
*   ditp.bebp
*/
潘际乾 committed
517
function checkDidgrpBebPtsBanknoN100(rule, value, callback) {
潘际乾 committed
518
    callback()
519 520 521 522 523
}
/**
*   source:ptsp.@0014.script
*   ditp.aplp
*/
潘际乾 committed
524
function checkDidgrpAplPtsAdrblkN950(rule, value, callback) {
潘际乾 committed
525
    callback()
526 527 528 529 530
}
/**
*   source:ditp.@0026.script
*   ditp
*/
潘际乾 committed
531
function checkDidgrpRecLcrtypN900(rule, value, callback) {
潘际乾 committed
532
    callback()
孙杰 committed
533 534 535 536
    //清空转让行相关字段
    this.model.didgrp.cmb.pts.bankno = "";
    this.model.didgrp.cmb.pts.jigomc = "";
    this.model.didgrp.cmb.pts.dizhii = "";
537 538 539 540 541
}
/**
*   source:ditp.@0089.script
*   ditp
*/
潘际乾 committed
542
function checkDidgrpRecShpfroN100(rule, value, callback) {
潘际乾 committed
543
    callback()
544 545 546 547 548
}
/**
*   source:ditopn.@0079.script
*   
*/
潘际乾 committed
549
function checkDidgrpRecGuaflgN100(rule, value, callback) {
潘际乾 committed
550
    callback()
551 552 553 554 555
}
/**
*   source:ptsp.@0031.script
*   ditp.issp
*/
潘际乾 committed
556
function checkDidgrpIssPtsBanknoN100(rule, value, callback) {
潘际乾 committed
557
    callback()
558 559 560 561 562
}
/**
*   source:txmmod.@0009.script
*   ditp.lcrgod
*/
潘际乾 committed
563
function checkDidgrpBlkLcrgodN100(rule, value, callback) {
liuxin committed
564
    const that = this;
565
    that.executeCheck("didgrp.blk.lcrgod").then(res => {
liuxin committed
566
        that.model.didgrp.blk.lcrgod = res.data.didgrp_blk_lcrgod;
潘际乾 committed
567
        callback()
liuxin committed
568
    })
569 570 571 572 573
}
/**
*   source:ditopn.@0109.script
*   
*/
潘际乾 committed
574
// function checkDidgrpBlkLcrgodN100(rule, value, callback) {
liuxin committed
575
// }
576 577 578 579
/**
*   source:ditp.@0100.script
*   ditp
*/
潘际乾 committed
580
function checkDidgrpBlkLcrgodN1001(rule, value, callback) {
潘际乾 committed
581
    callback()
582 583 584 585 586
}
/**
*   source:ditopn.@0115.script
*   
*/
潘际乾 committed
587
function checkDidgrpRecIdcodeN100(rule, value, callback) {
潘际乾 committed
588
    callback()
589 590 591 592 593
}
/**
*   source:ditopn.@0111.script
*   
*/
潘际乾 committed
594
function checkDidgrpRecFenctgN100(rule, value, callback) {
liuxin committed
595
    const that = this;
596
    that.executeCheck("didgrp.rec.fenctg").then(res => {
liuxin committed
597
        //TODO
潘际乾 committed
598
        callback()
liuxin committed
599
    })
孙杰 committed
600 601 602 603 604
    //清空议付行相关字段
    this.model.didgrp.rec.avbwth = "";
    this.model.didgrp.avb.pts.bankno = "";
    this.model.didgrp.avb.pts.jigomc = "";
    this.model.didgrp.avb.pts.dizhii = "";
605 606 607 608 609
}
/**
*   source:limmod.@0099.script
*   liaall.limmod
*/
潘际乾 committed
610
function checkLiaallLimmodLimptsWrkPtsExtkeyN100(rule, value, callback) {
潘际乾 committed
611
    callback()
612 613 614 615 616
}
/**
*   source:ptsget.@0009.script
*   liaall.limmod.wrkp.ptsget
*/
潘际乾 committed
617
function checkLiaallLimmodLimptsWrkPtsExtkeyN950(rule, value, callback) {
潘际乾 committed
618
    callback()
619 620 621 622 623
}
/**
*   source:ptsp.@0013.script
*   liaall.limmod.wrkp
*/
潘际乾 committed
624
function checkLiaallLimmodLimptsWrkPtsExtkeyN960(rule, value, callback) {
潘际乾 committed
625
    callback()
626 627 628 629 630
}
/**
*   source:ditopn.@0131.script
*   
*/
潘际乾 committed
631
function checkDidgrpBenPtsDihdigN1004(rule, value, callback) {
潘际乾 committed
632
    callback()
633 634 635 636 637
}
/**
*   source:ditopn.@0107.script
*   
*/
denyu committed
638 639 640 641 642 643 644

function checkDidgrpRecShpdatN100(rule, value, callback)  {
        var a = new Date(value)
        var b =new Date(this.model.didgrp.rec.opndat)
        if (a.getTime()<b.getTime()) {
            return callback(new Error('日期必须大于开证日期'));
        }
潘际乾 committed
645
        callback()
denyu committed
646
    }
潘际乾 committed
647
// function checkDidgrpRecShpdatN100(rule, value, callback) {
denyu committed
648
// }
649 650 651 652
/**
*   source:ditopn.@0002.script
*   
*/
潘际乾 committed
653
function checkDidgrpRecShpdatN999(rule, value, callback) {
潘际乾 committed
654
    callback()
655 656 657 658 659
}
/**
*   source:ditopn.@0005.script
*   
*/
潘际乾 committed
660 661
function checkDidgrpCbsNom1CurN100(rule, value, callback) {
    callback()
662 663 664 665 666
}
/**
*   source:ditopn.@0125.script
*   
*/
潘际乾 committed
667
function checkDidgrpIssPtsDihdigN1001(rule, value, callback) {
liuxin committed
668
    const that = this;
669
    that.executeCheck("didgrp.iss.pts.dihdig").then(res => {
liuxin committed
670
        //TODO
潘际乾 committed
671
        callback()
liuxin committed
672
    })
673 674 675 676 677
}
/**
*   source:ptsp.@0038.script
*   ditp.aplp
*/
潘际乾 committed
678
function checkDidgrpAplNamelcN100(rule, value, callback) {
1377875331@qq.com committed
679
    const that = this;
680
    that.executeCheck("didgrp.apl.namelc").then(res => {
1377875331@qq.com committed
681 682 683
        //TODO
        callback()
    })
684 685 686 687 688
}
/**
*   source:ditp.@0039.script
*   ditp
*/
潘际乾 committed
689
function checkDidgrpRecRevtypN100(rule, value, callback) {
潘际乾 committed
690
    callback()
691 692 693 694 695
}
/**
*   source:ptsp.@0014.script
*   ditp.rmbp
*/
潘际乾 committed
696
function checkDidgrpRmbPtsAdrblkN950(rule, value, callback) {
潘际乾 committed
697
    callback()
698 699 700 701 702
}
/**
*   source:coninf.@0014.script
*   mtabut.coninf
*/
潘际乾 committed
703
function checkMtabutConinfConexedatN100(rule, value, callback) {
潘际乾 committed
704
    callback()
705 706 707 708 709
}
/**
*   source:ditopn.@0128.script
*   
*/
潘际乾 committed
710
function checkDidgrpAdvPtsYouzbmN1003(rule, value, callback) {
liuxin committed
711
    const that = this;
712
    that.executeCheck("didgrp.adv.pts.youzbm").then(res => {
liuxin committed
713
        //TODO
潘际乾 committed
714
        callback()
liuxin committed
715
    })
716 717 718 719 720
}
/**
*   source:ditopn.@0123.script
*   
*/
潘际乾 committed
721
function checkDidgrpAplPtsExtactN100(rule, value, callback) {
潘际乾 committed
722
    callback()
723 724 725 726 727
}
/**
*   source:ptsp.@0014.script
*   ditp.benp
*/
潘际乾 committed
728
function checkDidgrpBenPtsAdrblkN950(rule, value, callback) {
潘际乾 committed
729
    callback()
730 731 732 733 734
}
/**
*   source:limpts.@0000.script
*   liaall.limmod.limpts
*/
潘际乾 committed
735
function checkLiaallLimmodLimptsNonrevflg1N100(rule, value, callback) {
潘际乾 committed
736
    callback()
737 738 739 740 741
}
/**
*   source:ditopn.@0126.script
*   
*/
潘际乾 committed
742
function checkDidgrpApcPtsYouzbmN1002(rule, value, callback) {
潘际乾 committed
743
    callback()
744 745 746 747 748
}
/**
*   source:ditopn.@0130.script
*   
*/
潘际乾 committed
749
function checkDidgrpBenPtsYouzbmN1004(rule, value, callback) {
潘际乾 committed
750
    callback()
751 752 753 754 755
}
/**
*   source:ditopn.@0027.script
*   
*/
潘际乾 committed
756
function checkDidgrpRecOpndatN100(rule, value, callback) {
潘际乾 committed
757
    callback()
758 759 760 761 762
}
/**
*   source:ditp.@0028.script
*   ditp
*/
潘际乾 committed
763
function checkDidgrpRecOpndatN950(rule, value, callback) {
潘际乾 committed
764
    callback()
765 766 767 768 769
}
/**
*   source:ditopn.@0030.script
*   
*/
潘际乾 committed
770
function checkDidgrpRecAvbbyN100(rule, value, callback) {
liuxin committed
771
    const that = this;
772
    that.executeCheck("didgrp.rec.avbby").then(res => {
liuxin committed
773
        //TODO
fukai committed
774
        if (res.respCode == SUCCESS){
liuxin committed
775 776
            Utils.copyValueFromVO(that.model, res.data);
        }
liuxin committed
777
    })
liuxin committed
778
    callback()
779 780 781 782 783
}
/**
*   source:ditp.@0077.script
*   ditp
*/
潘际乾 committed
784
function checkDidgrpRecMytypeN100(rule, value, callback) {
1377875331@qq.com committed
785
    const that = this;
潘际乾 committed
786
    callback()
1377875331@qq.com committed
787 788 789 790
    that.model.didgrp.rec.sdsrfs = "";
    that.model.didgrp.rec.shpfro = "";
    that.model.didgrp.rec.shpto = "";
    that.model.didgrp.rec.shppro = "";
791 792 793 794 795
}
/**
*   source:ditp.@0012.script
*   ditp
*/
潘际乾 committed
796
function checkDitpUsrExtkeyN100(rule, value, callback) {
潘际乾 committed
797
    callback()
798 799 800 801 802
}
/**
*   source:ptsget.@0001.script
*   liaall.limmod.wrkp.ptsget
*/
潘际乾 committed
803
function checkLiaallLimmodWrkpPtsgetSdamodDadsndN100(rule, value, callback) {
潘际乾 committed
804
    callback()
805 806 807 808 809
}
/**
*   source:didget.@0001.script
*   ditp.recget
*/
潘际乾 committed
810
function checkDitpRecgetSdamodDadsndN100(rule, value, callback) {
潘际乾 committed
811
    callback()
812 813 814 815 816
}
/**
*   source:ditopn.@0127.script
*   
*/
潘际乾 committed
817
function checkDidgrpApcPtsDihdigN1002(rule, value, callback) {
潘际乾 committed
818
    callback()
819 820 821 822 823
}
/**
*   source:ditopn.@0022.script
*   
*/
潘际乾 committed
824
function checkDidgrpAdvPtsExtkeyN100(rule, value, callback) {
liuxin committed
825
    const that = this;
826
    that.executeCheck("didgrp.adv.pts.extkey").then(res => {
liuxin committed
827
        //TODO
潘际乾 committed
828
        callback()
liuxin committed
829
    })
830 831 832 833 834
}
/**
*   source:ptsget.@0009.script
*   ditp.advp.ptsget
*/
潘际乾 committed
835
function checkDidgrpAdvPtsExtkeyN950(rule, value, callback) {
潘际乾 committed
836
    callback()
837 838 839 840 841
}
/**
*   source:ptsp.@0013.script
*   ditp.advp
*/
潘际乾 committed
842
function checkDidgrpAdvPtsExtkeyN960(rule, value, callback) {
潘际乾 committed
843
    callback()
844 845 846 847 848
}
/**
*   source:ptsp.@0038.script
*   ditp.rmbp
*/
潘际乾 committed
849
function checkDidgrpRmbNamelcN100(rule, value, callback) {
潘际乾 committed
850
    callback()
851 852 853 854 855
}
/**
*   source:setmod.@0016.script
*   setmod
*/
潘际乾 committed
856
function checkSetmodDocamtN100(rule, value, callback) {
潘际乾 committed
857
    callback()
858 859 860 861 862
}
/**
*   source:liaall.@0036.script
*   liaall
*/
潘际乾 committed
863
function checkSetmodDocamtN15000(rule, value, callback) {
潘际乾 committed
864
    callback()
865 866 867 868 869
}
/**
*   source:ditopn.@0129.script
*   
*/
潘际乾 committed
870
function checkDidgrpAdvPtsDihdigN1003(rule, value, callback) {
liuxin committed
871
    const that = this;
872
    that.executeCheck("didgrp.adv.pts.dihdig").then(res => {
liuxin committed
873
        //TODO
潘际乾 committed
874
        callback()
liuxin committed
875
    })
876 877 878 879 880
}
/**
*   source:ditopn.@0003.script
*   
*/
denyu committed
881 882 883 884 885 886 887

function checkDidgrpRecExpdatN100(rule, value, callback)  {
        var a = new Date(value)
        var b =new Date(this.model.didgrp.rec.opndat)
        if (a.getTime()<b.getTime()) {
            return callback(new Error('日期必须大于开证日期'));
        }
潘际乾 committed
888
        callback()
denyu committed
889 890
    }

891 892 893 894
/**
*   source:ptsget.@0009.script
*   ditp.benp.ptsget
*/
潘际乾 committed
895
function checkDidgrpBenPtsExtkeyN950(rule, value, callback) {
1377875331@qq.com committed
896
    const that = this;
897
    that.executeCheck("didgrp.ben.pts.extkey").then(res => {
1377875331@qq.com committed
898 899 900
        //TODO
        callback()
    })
901 902 903 904 905
}
/**
*   source:ptsp.@0013.script
*   ditp.benp
*/
潘际乾 committed
906
function checkDidgrpBenPtsExtkeyN960(rule, value, callback) {
潘际乾 committed
907
    callback()
908 909 910 911 912
}
/**
*   source:liaccv.@0025.script
*   liaall.liaccv
*/
潘际乾 committed
913
function checkLiaallLiaccvCshpctN100(rule, value, callback) {
潘际乾 committed
914
    callback()
915 916 917 918 919
}
/**
*   source:ditp.@0024.script
*   ditp
*/
潘际乾 committed
920
function checkDidgrpRecAvbwthN100(rule, value, callback) {
潘际乾 committed
921
    callback()
922 923 924 925 926
}
/**
*   source:ditp.@0046.script
*   ditp
*/
潘际乾 committed
927
function checkDidgrpRecAvbwthN900(rule, value, callback) {
潘际乾 committed
928
    callback()
929 930 931 932 933
}
/**
*   source:txmmod.@0009.script
*   ditp.lcrdoc
*/
潘际乾 committed
934
function checkDidgrpBlkLcrdocN100(rule, value, callback) {
liuxin committed
935
    const that = this;
936
    that.executeCheck("didgrp.blk.lcrdoc").then(res => {
liuxin committed
937
        that.model.didgrp.blk.lcrdoc = res.data.didgrp_blk_lcrdoc;
潘际乾 committed
938
        callback()
liuxin committed
939
    })
940 941 942 943 944
}
/**
*   source:ditopn.@0110.script
*   
*/
潘际乾 committed
945
// function checkDidgrpBlkLcrdocN100(rule, value, callback) {
liuxin committed
946
// }
947 948 949 950
/**
*   source:ditp.@0101.script
*   ditp
*/
潘际乾 committed
951
function checkDidgrpBlkLcrdocN1001(rule, value, callback) {
潘际乾 committed
952
    callback()
953 954 955 956 957
}
/**
*   source:ditopn.@0044.script
*   
*/
潘际乾 committed
958
function checkDidgrpRecTenmaxdayN1000(rule, value, callback) {
liuxin committed
959
    const that = this;
960
    that.executeCheck("didgrp.rec.tenmaxday").then(res => {
liuxin committed
961
        //TODO
SunJie committed
962
        Utils.copyValueFromVO(this.model, res.data)
潘际乾 committed
963
        callback()
liuxin committed
964
    })
965 966 967 968 969
}
/**
*   source:ditp.@0049.script
*   ditp
*/
潘际乾 committed
970
function checkDidgrpRecTenmaxdayN1050(rule, value, callback) {
潘际乾 committed
971
    callback()
972 973 974 975 976
}
/**
*   source:ditopn.@0006.script
*   
*/
潘际乾 committed
977 978
function checkDidgrpCbsNom1AmtN100(rule, value, callback) {
    callback()
979 980 981 982 983
}
/**
*   source:txmmod.@0009.script
*   ditp.preper
*/
潘际乾 committed
984
function checkDidgrpBlkPreperN100(rule, value, callback) {
潘际乾 committed
985
    callback()
986 987 988 989 990
}
/**
*   source:ditp.@0083.script
*   ditp
*/
潘际乾 committed
991 992 993
// function checkDidgrpBlkPreperN100(rule, value, callback) {
//     callback()
// }
994 995 996 997
/**
*   source:ptsp.@0039.script
*   ditp.aplp
*/
潘际乾 committed
998
function checkDidgrpAplAdrelcN100(rule, value, callback) {
1377875331@qq.com committed
999
    const that = this;
1000
    that.executeCheck("didgrp.apl.adrelc").then(res => {
1377875331@qq.com committed
1001 1002
        callback()
    })
1003 1004 1005 1006 1007
}
/**
*   source:ptsget.@0001.script
*   ditp.rmbp.ptsget
*/
潘际乾 committed
1008
function checkDitpRmbpPtsgetSdamodDadsndN100(rule, value, callback) {
潘际乾 committed
1009
    callback()
1010 1011 1012 1013 1014
}
/**
*   source:ditopn.@0132.script
*   
*/
潘际乾 committed
1015
function checkDidgrpBenPtsExtactN1001(rule, value, callback) {
潘际乾 committed
1016
    callback()
1017 1018 1019 1020 1021
}
/**
*   source:txmmod.@0009.script
*   ditp.adlcnd
*/
潘际乾 committed
1022
function checkDidgrpBlkAdlcndN100(rule, value, callback) {
潘际乾 committed
1023
    callback()
1024 1025 1026 1027 1028
}
/**
*   source:ditp.@0102.script
*   ditp
*/
潘际乾 committed
1029 1030 1031
// function checkDidgrpBlkAdlcndN100(rule, value, callback) {
//     callback()
// }
1032 1033 1034 1035
/**
*   source:ditopn.@0090.script
*   
*/
潘际乾 committed
1036
function checkLitameadvN100(rule, value, callback) {
denyu committed
1037
    const that = this;
1038
    that.executeCheck("litameadv").then(res => {
潘际乾 committed
1039
        callback()
denyu committed
1040
    })
孙杰 committed
1041 1042
    this.model.ameadvrmk = ""

denyu committed
1043

1044 1045 1046 1047 1048
}
/**
*   source:liaccv.@0024.script
*   liaall.liaccv
*/
潘际乾 committed
1049
function checkLiaallLiaccvRelcshpctN100(rule, value, callback) {
潘际乾 committed
1050
    callback()
1051
}
denyu committed
1052 1053


潘际乾 committed
1054
function ruleLitameadvN100(rule, value, callback) {
denyu committed
1055 1056
    const that = this;
    that.executeRule("litameadv").then(res => {
潘际乾 committed
1057
        callback()
denyu committed
1058 1059
    })
}
孙杰 committed
1060 1061 1062 1063 1064 1065 1066 1067

function resetDidgrpRecBdflg(rule, value, callback){
    
    callback()
    this.model.didgrp.rmb.pts.bankno = "";
    this.model.didgrp.rmb.pts.jigomc = "";
    this.model.didgrp.rmb.pts.dizhii = "";
}