1
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
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
import moment from 'moment';
import LimitbodyCheck from '~/components/business/limitbody/model/check.js';
import CfagitCheck from '~/components/business/Cfagit/model/check.js';
import Utils from "~/utils"
import RmbbopCheck from "../../../../components/business/rmb/rmbbop/model/check";
import BopgatCheck from "../../../../components/business/Bopgat/model/check"
export default function () {
return {
...new RmbbopCheck(this).check,
...new BopgatCheck(this).check,
//邮路选择
"cpdgrp.rec.cptrou": [
{ type: "string", required: true, message: "必输项" },
],
"cpdgrp.rec.swftyp": [
{ type: "string", required: true, message: "必输项" },
],
//基本信息
//处理方式
"cpdgrp.rec.accmod": [
{ type: "string", required: true, message: "必输项" },
],
//汇款性质
"cpdgrp.rec.trntyp": [
{ type: "string", required: true, message: "必输项" },
],
"cpdgrp.rec.ownref": [
{ type: "string", required: true, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
//汇款币种/金额
"cpdgrp.cbs.nom1.cur": [
{ type: "string", required: true, message: "必输项" },
],
"cpdgrp.cbs.nom1.amt": [
{ type: "string", required: true, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
//汇款语种
"cptp.payuil": [
{ type: "string", required: true, message: "必输项" },
],
//汇款人
"cpdgrp.orc.pts.extkey": [
{ type: "string", required: true, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
// "cpdgrp.orc.pts.adrblk": [
// { type: "string", required: true, message: "必输项" },
// { max: 35, message: "长度不能超过35" }
// ],
//收款人
"cpdgrp.pye.pts.extkey": [
{ type: "string", required: true, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
//付款人常驻国家/地区代码
"cptp.draweecountcode": [
{ type: "string", required: true, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
}
}