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
1310c05c
Commit
1310c05c
authored
Jul 19, 2023
by
WH
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
letame交易缺陷修复
parent
14a6910e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
25 deletions
+43
-25
index.js
src/business/letame/model/index.js
+23
-22
Amep.vue
src/business/letame/views/Amep.vue
+20
-3
No files found.
src/business/letame/model/index.js
View file @
1310c05c
...
...
@@ -204,28 +204,7 @@ export default class Letame {
},
rmbrol
:
''
},
// trnmod: {
// swiadd: {
// newnomtop: '',
// shpfro: '',
// shpper: '',
// amedat: '',
// pordis: '',
// addamtcov: '',
// newnomton: '',
// amenbr: '',
// addamt: '',
// amecur: '',
// newshpdat: '',
// newamt: '',
// shpto: '',
// newexpdat: '',
// ameamt: '',
// newcur: '',
// porloa: '',
// nomspc: ''
// }
// },
setmod
:
new
Pub
().
data
.
Setmod
,
mtabut
:
new
Pub
().
data
.
Mtabut
,
...
...
@@ -233,6 +212,28 @@ export default class Letame {
liaall
:
new
Pub
().
data
.
Liaall
,
liaccv
:
new
Pub
().
data
.
Liaccv
,
docpan
:
new
Pub
().
data
.
Docpan
,
trnmod
:
{
swiadd
:
{
newnomtop
:
''
,
shpfro
:
''
,
shpper
:
''
,
amedat
:
new
Date
(),
pordis
:
''
,
addamtcov
:
''
,
newnomton
:
''
,
amenbr
:
''
,
addamt
:
''
,
amecur
:
''
,
newshpdat
:
''
,
newamt
:
''
,
shpto
:
''
,
newexpdat
:
new
Date
(),
ameamt
:
''
,
newcur
:
''
,
porloa
:
''
,
nomspc
:
''
}
},
};
}
}
src/business/letame/views/Amep.vue
View file @
1310c05c
...
...
@@ -73,7 +73,7 @@
<c-col
:span=
"13"
>
<el-form-item
label=
"名义金额(改)"
prop=
"trnmod.swiadd.amecur"
>
<c-select
v-model=
"
model.trnmod.swiadd.
amecur"
v-model=
"amecur"
style=
"width: 100%"
:code=
"codes.curtxt1"
placeholder=
"请选择币种"
...
...
@@ -103,7 +103,7 @@
<c-col
:span=
"13"
>
<el-form-item
label=
"名义金额(新)"
prop=
"trnmod.swiadd.newcur"
>
<c-select
v-model=
"
model.trnmod.swiadd.
newcur"
v-model=
"newcur"
style=
"width: 100%"
:code=
"codes.curtxt1"
disabled
...
...
@@ -119,7 +119,7 @@
prop=
"trnmod.swiadd.newamt"
>
<c-input
v-model=
"
model.trnmod.swiadd.
newamt"
v-model=
"newamt"
placeholder=
"请输入金额"
@
keyup
.
enter
.
native=
"
eventFunction(
...
...
@@ -487,6 +487,23 @@ export default {
},
methods
:
{
},
computed
:
{
amecur
()
{
this
.
model
.
trnmod
.
swiadd
.
amecur
=
this
.
model
.
ledgrp
.
cbs
.
nom1
.
cur
return
this
.
model
.
trnmod
.
swiadd
.
amecur
},
newcur
()
{
this
.
model
.
trnmod
.
swiadd
.
newcur
=
this
.
model
.
ledgrp
.
cbs
.
nom1
.
cur
return
this
.
model
.
trnmod
.
swiadd
.
newcur
},
newamt
()
{
const
ameamt
=
this
.
model
.
trnmod
.
swiadd
.
ameamt
const
amt
=
this
.
model
.
oldledgrp
.
cbs
.
nom1
.
amt
this
.
model
.
trnmod
.
swiadd
.
newamt
=
parseFloat
(
isNaN
(
ameamt
)
||
!
ameamt
?
0
:
ameamt
)
+
parseFloat
(
isNaN
(
amt
)
||
!
amt
?
0
:
amt
)
return
this
.
model
.
trnmod
.
swiadd
.
newamt
}
},
}
</
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