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
b517561c
Commit
b517561c
authored
Jun 13, 2023
by
xionglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
litdav
parent
b30612bf
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
6 deletions
+25
-6
check.js
src/business/brtacp/model/check.js
+4
-4
index.js
src/business/litdav/model/index.js
+2
-2
Mt750p.vue
src/business/litdav/views/Mt750p.vue
+19
-0
No files found.
src/business/brtacp/model/check.js
View file @
b517561c
...
...
@@ -117,10 +117,10 @@ export default {
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
35
,
message
:
"长度不能超过35"
}
],
"brdgrp.rec.totamt"
:[
{
max
:
18
,
required
:
true
,
message
:
"整数位不能超过14位"
},
{
pattern
:
/
(
^
\d
+$
)
|
(
^
\.\d{1,3}
$
)
|
(
^
\d
+
\.\d{1,3}
$
)
/
,
message
:
"小数位不能超过3位"
}
],
//
"brdgrp.rec.totamt":[
//
{max: 18,required: true,message:"整数位不能超过14位"},
//
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
//
],
"brdgrp.prb.pts.adrblk"
:[
{
type
:
"string"
,
required
:
false
,
message
:
"必输项"
},
{
max
:
140
,
message
:
"长度不能超过140"
}
...
...
src/business/litdav/model/index.js
View file @
b517561c
...
...
@@ -91,11 +91,11 @@ export default class Litdav {
},
max
:
{
cur
:
''
,
amt
:
''
amt
:
'
0
'
},
max2
:
{
cur
:
''
,
amt
:
''
amt
:
'
0
'
}
},
rmb
:
{
...
...
src/business/litdav/views/Mt750p.vue
View file @
b517561c
...
...
@@ -135,6 +135,25 @@ export default {
methods
:
{},
created
:
function
()
{},
watch
:{
"model.brdgrp.cbs.max.amt"
:{
handler
(
val
,
oldVal
){
this
.
model
.
brdgrp
.
rec
.
totamt
=
parseFloat
(
val
)
+
parseFloat
(
this
.
model
.
brdgrp
.
cbs
.
max2
.
amt
)
if
(
isNaN
(
this
.
model
.
brdgrp
.
rec
.
totamt
)){
this
.
model
.
brdgrp
.
rec
.
totamt
=
0
}
}
},
"model.brdgrp.cbs.max2.amt"
:{
handler
(
val
,
oldVal
){
this
.
model
.
brdgrp
.
rec
.
totamt
=
parseFloat
(
val
)
+
parseFloat
(
this
.
model
.
brdgrp
.
cbs
.
max
.
amt
)
if
(
isNaN
(
this
.
model
.
brdgrp
.
rec
.
totamt
)){
this
.
model
.
brdgrp
.
rec
.
totamt
=
0
}
}
}
}
};
</
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