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
zhouqian
vue-gjjs
Commits
55f7d253
Commit
55f7d253
authored
Jan 26, 2022
by
潘际乾
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://114.115.138.98:8900/fukai/vue-gjjs
parents
ef77c523
29c0cfcc
Show 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 @
55f7d253
...
...
@@ -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 @
55f7d253
...
...
@@ -182,6 +182,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