Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fukai
vue-gjjs
Commits
5bd5e703
Commit
5bd5e703
authored
Nov 08, 2023
by
WH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修复brtcan前端校验
parent
7eb4c110
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
80 deletions
+13
-80
check.js
src/business/brtcan/model/check.js
+2
-68
index.vue
src/business/brtcan/views/index.vue
+11
-12
No files found.
src/business/brtcan/model/check.js
View file @
5bd5e703
...
...
@@ -18,11 +18,6 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
// "lidgrp.cbs.opn1.amt":[
// //{type: "string", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// //{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"brtp0.recget.sdamod.dadsnd"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
...
...
@@ -47,22 +42,14 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"brdgrp.apl.pts.nam"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"brdgrp.rec.rcvdat"
:[
//{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.advdat"
:[
//{type: "date", required: false, message: "输入正确的日期"}
],
"brdgrp.ben.pts.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"brdgrp.rec.matdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
],
...
...
@@ -70,63 +57,34 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"brdgrp.prb.pts.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"brdgrp.prb.pts.nam"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"strinf"
:[
//{type: "string", required: false, message: "必输项"},
{
max
:
1750
,
message
:
"长度不能超过1750"
}
],
"setmod.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"setmod.docamt"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"setmod.zmqacc"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
20
,
message
:
"长度不能超过20"
}
],
"mtabut.coninf.oitinf.oit.inftxt"
:[
//{type: "string", required: false, message: "必输项"},
//{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.oitset.oit.inftxt"
:[
//{type: "string", required: false, message: "必输项"},
//{max: 60,message:"长度不能超过60"}
],
"mtabut.coninf.conexedat"
:[
//{type: "date", 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"
}
...
...
@@ -135,7 +93,6 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
50
,
message
:
"长度不能超过50"
}
],
"trnmod.trndoc.advdoc"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
...
...
@@ -148,15 +105,6 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
],
"trnmod.trndoc.condocstm"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
1
,
message
:
"长度不能超过1"
}
...
...
@@ -169,9 +117,6 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
22
,
message
:
"长度不能超过22"
}
],
"liaall.limmod.ownref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
...
...
@@ -192,7 +137,6 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"liaall.limmod.limpts.oth.pts.extkey"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
...
...
@@ -201,7 +145,6 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"liaall.limmod.comamt"
:[
{
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
...
...
@@ -227,15 +170,5 @@ export default {
"liaall.limmod.limpts.pfcod2"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
14
,
message
:
"长度不能超过14"
}
],
"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
,
]
}
\ No newline at end of file
src/business/brtcan/views/index.vue
View file @
5bd5e703
<
template
>
<div
class=
"eContainer"
>
<div
class=
"eContainer"
>
<c-page>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"120px"
label-position=
"left"
size=
"small"
:validate-on-rule-change=
"false"
>
<el-form
:model=
"model"
:rules=
"rules"
ref=
"modelForm"
label-width=
"120px"
label-position=
"left"
size=
"small"
:validate-on-rule-change=
"false"
>
<c-tabs
v-model=
"tabVal"
ref=
"elment"
type=
"card"
@
tab-click=
"tabClick"
>
<el-tab-pane
label=
"业务信息"
name=
"ovwp"
>
<c-content>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
<m-ovwp
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<!--PD000027 -->
<el-tab-pane
label=
"费用/账务"
name=
"setmod"
>
<c-content>
<m-setmod
:model=
"model"
:codes=
"codes"
/>
<m-setmod
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"备查/附言"
name=
"addbcb"
>
<c-content>
<m-addbcb
:model=
"model"
:codes=
"codes"
/>
<m-addbcb
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"报文/面函"
name=
"docpan"
>
<c-content>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
<m-docpan
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"附件信息"
name=
"doctre"
>
<c-content>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
<m-doctre
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
<el-tab-pane
label=
"统一授信"
name=
"limitbody"
>
<c-content>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
<m-limitbody
:model=
"model"
:codes=
"codes"
/>
</c-content>
</el-tab-pane>
</c-tabs>
...
...
@@ -44,7 +43,7 @@
</c-function-btn>
</c-page>
</div>
</div>
</
template
>
<
script
>
...
...
@@ -92,7 +91,7 @@ export default {
}
},
mounted
()
{
mounted
()
{
this
.
init
()
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment