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
526ed049
Commit
526ed049
authored
Jul 12, 2023
by
WH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复前端letamc前端check问题
parent
06215645
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
44 deletions
+44
-44
check.js
src/business/letamc/model/check.js
+42
-42
buildCommons.js
src/business/letame/event/buildCommons.js
+2
-2
No files found.
src/business/letamc/model/check.js
View file @
526ed049
...
...
@@ -16,12 +16,12 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
3
,
message
:
"长度不能超过3"
}
],
"ledgrp.cbs.opn1.amt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项
"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
{
pattern
:
/
(
^-
?\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^-
?\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
//
"ledgrp.cbs.opn1.amt":[
// {type: "string", required: false, message: "必输项2
"},
//
{max: 18,message:"整数位不能超过14位"},
//
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
//
{pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
//
],
"ledgrp.apl.pts.nam"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
40
,
message
:
"长度不能超过40"
}
...
...
@@ -56,10 +56,10 @@ export default {
{
max
:
6
,
message
:
"长度不能超过6"
,
trigger
:
"blur"
}
],
"reqdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"ledgrp.rec.cnfdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"letp.recget.sdamod.dadsnd"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -113,19 +113,19 @@ export default {
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"ledgrp.rec.nomton"
:[
{
type
:
"number"
,
required
:
false
,
message
:
"必输项"
,
trigger
:
"blur"
},
{
type
:
"number"
,
max
:
99
,
message
:
"长度不能超过2"
,
trigger
:
"blur"
}
],
//
"ledgrp.rec.nomton":[
//
{type: "number", required: false, message: "必输项",trigger: "blur"},
//
{type: "number",max: 99,message:"长度不能超过2",trigger: "blur"}
//
],
"ledgrp.ben.adrelc"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"ledgrp.cbs.max.amt"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
18
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
//
"ledgrp.cbs.max.amt":[
//
{type: "string", required: false, message: "必输项"},
//
{max: 18,message:"整数位不能超过14位"},
//
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
//
],
"ledgrp.iss.pts.ref"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
16
,
message
:
"长度不能超过16"
}
...
...
@@ -135,10 +135,10 @@ export default {
{
max
:
16
,
message
:
"长度不能超过16"
}
],
"ledgrp.rec.opndat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"ledgrp.rec.preadvdt"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"ledgrp.iss.pts.extkey"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
...
...
@@ -153,10 +153,10 @@ export default {
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"ledgrp.rec.shpdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"ledgrp.rec.advdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"ledgrp.iss.pts.adrblk"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
@@ -167,7 +167,7 @@ export default {
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"ledgrp.rec.expdat"
:[
{
type
:
"date"
,
required
:
false
,
message
:
"输入正确的日期"
}
{
required
:
false
,
message
:
"输入正确的日期"
}
],
"ledgrp.iss.adrelc"
:[
{
type
:
"string"
,
required
:
true
,
message
:
"必输项"
},
...
...
@@ -249,11 +249,11 @@ export default {
{
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.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"
}
...
...
@@ -262,21 +262,21 @@ export default {
{
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
:
"输入正确的日期"
}
],
"mtabut.coninf.usr.extkey"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
8
,
message
:
"长度不能超过8"
}
],
//
"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":[
// {
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"
}
...
...
src/business/letame/event/buildCommons.js
View file @
526ed049
...
...
@@ -135,7 +135,7 @@ export default {
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
objtyp
:
'LED'
,
objinr
:
model
.
ledgrp
.
rec
.
obj
inr
,
objinr
:
model
.
ledgrp
.
rec
.
inr
,
ownref
:
model
.
ledgrp
.
rec
.
ownref
,
},
};
...
...
@@ -146,7 +146,7 @@ export default {
...
this
.
buildCommonData
(
model
,
trnName
),
rec
:
{
objtyp
:
'LED'
,
objinr
:
model
.
ledgrp
.
rec
.
obj
inr
,
objinr
:
model
.
ledgrp
.
rec
.
inr
,
ownref
:
model
.
ledgrp
.
rec
.
ownref
,
swiftflg
:
model
.
letp
.
swiftflg
,
},
...
...
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