Commit bfc66c81 by WH

fix:brtset

parent 5e7ead48
......@@ -286,12 +286,12 @@ let checkObj = {
{ max: 40, message: '长度不能超过40' },
],
'bcdgrp.rec.rcvdat': [
//{type: "date", required: false, message: "输入正确的日期"}
{ type: 'string', required: false, message: '输入正确的日期' },
{type: "date", required: false, message: "输入正确的日期"}
// { type: 'string', required: false, message: '输入正确的日期' },
],
'bcdgrp.rec.advdat': [
//{type: "date", required: false, message: "输入正确的日期"}
{ type: 'string', required: false, message: '输入正确的日期' },
{type: "date", required: false, message: "输入正确的日期"}
// { type: 'string', required: false, message: '输入正确的日期' },
],
'bcdgrp.rmi.pts.ref': [
{ type: 'string', required: false, message: '必输项' },
......@@ -303,12 +303,12 @@ let checkObj = {
],
'bcdgrp.rec.matdat': [
//{type: "date", required: false, message: "输入正确的日期"}
{ type: 'string', required: false, message: '输入正确的日期' },
{type: "date", required: false, message: "输入正确的日期"}
// { type: 'string', required: false, message: '输入正确的日期' },
],
'bcdgrp.rec.predat': [
//{type: "date", required: false, message: "输入正确的日期"}
{ type: 'string', required: false, message: '输入正确的日期' },
{type: "date", required: false, message: "输入正确的日期"}
// { type: 'string', required: false, message: '输入正确的日期' },
],
'bcdgrp.drr.pts.ref': [
......@@ -572,8 +572,8 @@ let checkObj = {
{ type: 'number', required: false, message: '必输项' },
],
'bopmod.dbcgrp.bas.issdate': [
//{type: "date", required: false, message: "输入正确的日期"}
{ type: 'string', required: false, message: '输入正确的日期' },
{type: "date", required: false, message: "输入正确的日期"}
// { type: 'string', required: false, message: '输入正确的日期' },
],
'bopmod.dbcgrp.bas.lcbgno': [
{ type: 'string', required: false, message: '必输项' },
......@@ -639,26 +639,6 @@ let checkObj = {
{ type: 'string', required: false, message: '必输项' },
{ max: 1, message: '长度不能超过1' },
],
'mtabut.coninf.oitinf.oit.inftxt': [
// { type: 'string', required: true, message: '必输项' },
// { max: 60, message: '长度不能超过60' },
],
'mtabut.coninf.oitset.oit.inftxt': [
// { type: 'string', required: true, message: '必输项' },
// { max: 60, message: '长度不能超过60' },
],
'mtabut.coninf.conexedat': [
// //{type: "date", required: false, message: "输入正确的日期"}
// { type: 'string', required: false, message: '输入正确的日期' },
],
'mtabut.coninf.usr.extkey': [
// { type: 'string', required: false, message: '必输项' },
// { max: 8, message: '长度不能超过8' },
],
'trnmod.trndoc.advnam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 50, message: '长度不能超过50' },
......@@ -768,8 +748,8 @@ let checkObj = {
{ type: 'number', required: false, message: '必输项' },
],
'bopmod.dbfgrp.bas.issdate': [
//{type: "date", required: false, message: "输入正确的日期"}
{ type: 'string', required: false, message: '输入正确的日期' },
{type: "date", required: false, message: "输入正确的日期"}
// { type: 'string', required: false, message: '输入正确的日期' },
],
'bopmod.dbfgrp.bas.lcbgno': [
{ type: 'string', required: false, message: '必输项' },
......@@ -837,8 +817,8 @@ let checkObj = {
{ max: 4, message: '长度不能超过4' },
],
'cnybop.cnyout.dpayeedate': [
//{type: "date", required: false, message: "输入正确的日期"}
{ type: 'string', required: false, message: '输入正确的日期' },
{type: "date", required: false, message: "输入正确的日期"}
// { type: 'string', required: false, message: '输入正确的日期' },
],
'cnybop.cnyout.fprepayeeamt': [
{ type: 'number', required: false, message: '必输项' },
......@@ -1296,17 +1276,17 @@ let checkObj = {
],
'trtcre.trdgrp.rec.issdat': [
//{type: "date", required: false, message: "输入正确的日期"}
{ type: 'string', required: false, message: '输入正确的日期' },
{type: "date", required: false, message: "输入正确的日期"}
// { type: 'string', required: false, message: '输入正确的日期' },
],
'trtcre.trdgrp.fip.namelc': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
'trtcre.trdgrp.fip.pts.adrblk': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
],
// 'trtcre.trdgrp.fip.pts.adrblk': [
// { type: 'string', required: true, message: '必输项' },
// { max: 35, message: '长度不能超过35' },
// ],
'trtcre.trdgrp.fip.dbfadrblkcn': [
{ type: 'string', required: true, message: '必输项' },
{ max: 35, message: '长度不能超过35' },
......@@ -1318,7 +1298,7 @@ let checkObj = {
],
// 'trtcre.oriamt': [
// { type: 'string', required: false, message: '必输项' },
// { type: 'number', required: false, message: '必输项' },
// { max: 17, message: '整数位不能超过14位' },
// ],
'trtcre.trdgrp.rec.pctfin': [
......@@ -1337,11 +1317,11 @@ let checkObj = {
'trtcre.trdgrp.cbs.max.amt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
// { max: 18, message: '整数位不能超过14位' },
// {
// pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
// message: '小数位不能超过3位',
// },
],
'trtcre.trtmod.finmod.intdat': [
{ type: 'string', required: false, message: '必输项' },
......@@ -1361,18 +1341,18 @@ let checkObj = {
{ type: 'string', required: false, message: '必输项' },
{ max: 10, message: '长度不能超过10' },
],
'trtcre.trdgrp.rec.matdat': [
//{type: "date", required: false, message: "输入正确的日期"}
{ type: 'string', required: false, message: '输入正确的日期' },
],
// 'trtcre.trdgrp.rec.matdat': [
// {type: "date", required: false, message: "输入正确的日期"}
// // { type: 'string', required: false, message: '输入正确的日期' },
// ],
'trtcre.trtmod.finmod.fltval': [
{ type: 'string', required: false, message: '必输项' },
{ max: 12, message: '长度不能超过12' },
],
'trtcre.trdgrp.rec.stttendat': [
//{type: "date", required: false, message: "输入正确的日期"}
{ type: 'string', required: false, message: '输入正确的日期' },
{type: "date", required: false, message: "输入正确的日期"}
// { type: 'string', required: false, message: '输入正确的日期' },
],
'trtcre.trdgrp.rec.intrat': [
......@@ -1404,14 +1384,14 @@ let checkObj = {
{ max: 6, message: '长度不能超过6' },
],
'trtcre.trtmod.finmod.intamt': [
{ type: 'number', required: false, message: '必输项' },
{ max: 18, message: '整数位不能超过14位' },
{
pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
message: '小数位不能超过3位',
},
],
// 'trtcre.trtmod.finmod.intamt': [
// { type: 'number', required: false, message: '必输项' },
// { max: 18, message: '整数位不能超过14位' },
// {
// pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/,
// message: '小数位不能超过3位',
// },
// ],
'trtcre.trdgrp.rec.oppacc': [
{ type: 'string', required: false, message: '必输项' },
......@@ -1574,18 +1554,6 @@ let checkObj = {
{ type: 'string', required: false, message: '必输项' },
{ max: 20, message: '长度不能超过20' },
],
// 'mtabut.coninf.conexedat': [
// //{type: "date", required: false, message: "输入正确的日期"}
// { type: 'string', required: false, message: '输入正确的日期' },
// ],
// 'mtabut.coninf.usr.extkey': [
// { type: 'string', required: false, message: '必输项' },
// { max: 8, message: '长度不能超过8' },
// ],
'trnmod.trndoc.advnam': [
{ type: 'string', required: false, message: '必输项' },
{ max: 50, message: '长度不能超过50' },
......
......@@ -196,7 +196,7 @@ export default class Bctset {
recaccount: '',
pctfin: '100',
recdistrictcode: '',
ownref: '',
ownref: '12121212222',
intrat: '0.000000',
pntnam: '',
invtyp: '1',
......@@ -211,6 +211,8 @@ export default class Bctset {
actrat: '0.000000',
pntref: '',
reccountrycode: '',
opndat: new Date(),
branchinr: ''
},
cbs: {
max: {
......@@ -340,11 +342,6 @@ export default class Bctset {
basflg: '',
},
nar754: '',
trdgrp: {
rec: {
},
},
paypsb: '',
dftcre: {
dftp: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment