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
29c0cfcc
Commit
29c0cfcc
authored
Jan 26, 2022
by
liushikai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
汇出汇款添加必输项
parent
5774048b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
5 deletions
+30
-5
Pattern.js
src/model/Cptopn/Pattern.js
+22
-5
index.vue
src/views/Business/Cptopn/index.vue
+8
-0
No files found.
src/model/Cptopn/Pattern.js
View file @
29c0cfcc
...
...
@@ -22,14 +22,28 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
21
,
message
:
"长度不能超过21"
}
],
"cpdgrp.rec.ischktyp"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
21
,
message
:
"长度不能超过21"
}
],
"cpdgrp.rec.paytype"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
21
,
message
:
"长度不能超过21"
}
],
"cpdgrp.rec.sztyp"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
21
,
message
:
"长度不能超过21"
}
],
"cpdgrp.rec.swftyp"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
21
,
message
:
"长度不能超过21"
}
],
"cpdgrp.cbs.nom1.amt"
:[
{
required
:
fals
e
,
message
:
"必输项"
},
{
required
:
tru
e
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
...
...
@@ -70,7 +84,7 @@ export default {
"cptp.payeecountcode"
:[
{
type
:
"string"
,
required
:
fals
e
,
message
:
"必输项"
},
{
type
:
"string"
,
required
:
tru
e
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
...
...
@@ -83,7 +97,10 @@ export default {
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
"orcnam"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
],
"cptp.orcnam"
:[
...
...
src/views/Business/Cptopn/index.vue
View file @
29c0cfcc
...
...
@@ -181,6 +181,14 @@ export default {
this
.
$notify
.
error
({
title
:
"错误"
,
message
:
"服务请求失败!"
});
}
},
watch
:{
"model.cpdgrp.cbs.nom1.amt"
:
{
handler
(
val
,
oldVal
)
{
this
.
changeFormItemRequired
(
"cpdgrp.rec.swftyp"
,
val
!=
'0.000'
);
},
immediate
:
true
,
},
}
};
</
script
>
<
style
>
...
...
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