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
674a8ec9
Commit
674a8ec9
authored
Nov 18, 2021
by
zhengxiaokui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
zxk
parent
90e76fae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
Ovwp.vue
src/views/Business/Ditopn/Ovwp.vue
+2
-2
Amtpanl.vue
src/views/Public/Amtpanl.vue
+3
-5
No files found.
src/views/Business/Ditopn/Ovwp.vue
View file @
674a8ec9
...
@@ -95,11 +95,11 @@
...
@@ -95,11 +95,11 @@
label-width=
"20px"
label-width=
"20px"
prop=
"didgrp.cbs.nom1.amt"
prop=
"didgrp.cbs.nom1.amt"
>
>
<c-input
<c-input
-currency
v-model=
"model.didgrp.cbs.nom1.amt"
v-model=
"model.didgrp.cbs.nom1.amt"
style=
"text-align: left; width: 100%"
style=
"text-align: left; width: 100%"
placeholder=
"请输入信用证金额"
placeholder=
"请输入信用证金额"
></c-input>
></c-input
-currency
>
</el-form-item>
</el-form-item>
</c-col>
</c-col>
<c-col
:span=
"24"
>
<c-col
:span=
"24"
>
...
...
src/views/Public/Amtpanl.vue
View file @
674a8ec9
...
@@ -67,8 +67,7 @@ export default {
...
@@ -67,8 +67,7 @@ export default {
};
};
},
},
methods
:
{
methods
:
{
//金额格式化,默认保留三位小数
//金额格式化,默认保留三位小数
amtChanged
(
newamt
)
{
amtChanged
(
newamt
)
{
if
(
newamt
===
""
||
newamt
===
undefined
||
newamt
===
null
)
{
if
(
newamt
===
""
||
newamt
===
undefined
||
newamt
===
null
)
{
_
.
set
(
this
.
model
,
this
.
message
.
amt
,
""
);
_
.
set
(
this
.
model
,
this
.
message
.
amt
,
""
);
...
@@ -101,7 +100,7 @@ export default {
...
@@ -101,7 +100,7 @@ export default {
}
}
let
amt
=
`
${
segs
[
0
]
?
segs
[
0
]
:
0
}
.
${
segs
[
1
]}
`
;
let
amt
=
`
${
segs
[
0
]
?
segs
[
0
]
:
0
}
.
${
segs
[
1
]}
`
;
_
.
set
(
this
.
model
,
this
.
message
.
amt
,
amt
);
_
.
set
(
this
.
model
,
this
.
message
.
amt
,
amt
);
this
.
amt
=
amt
;
this
.
amt
=
`
${
segs
[
0
]
?
npreseg
:
0
}
.
${
segs
[
1
]}
`
;
},
},
//禁止输入非数字
//禁止输入非数字
...
@@ -126,8 +125,7 @@ export default {
...
@@ -126,8 +125,7 @@ export default {
computed
:
{},
computed
:
{},
watch
:
{},
watch
:
{},
// methods: { ...Event },
// methods: { ...Event },
created
:
function
()
{
created
:
function
()
{},
},
};
};
</
script
>
</
script
>
<
style
>
<
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