Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
c11e2011
Commit
c11e2011
authored
Jul 10, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增汇率页面调整
parent
fece837c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
12 deletions
+14
-12
index.vue
src/views/ecw/exchangeRate/index.vue
+14
-12
No files found.
src/views/ecw/exchangeRate/index.vue
View file @
c11e2011
...
...
@@ -99,12 +99,12 @@
</el-select>
</el-form-item>
<el-form-item
label=
"汇率"
prop=
"currencyRate"
>
<el-input
v-model=
"form.currencyRate"
placeholder=
"请输入汇率"
/>
<p
v-if=
"
!form.id"
style=
"margin: 0;"
>
例子:1
RMB = 0.138611USD
<el-input
-number
class=
"el-input-number"
:controls=
"false"
v-model=
"form.currencyRate"
placeholder=
"请输入汇率"
/>
<p
v-if=
"
form.sourceCurrencyId && form.currencyRate && form.targetCurrencyCode"
style=
"margin: 0;"
>
例子:1
{{getCurrency(form.sourceCurrencyId, true)}} = {{ 1 * form.currencyRate}} {{getCurrency(form.targetCurrencyId, true)}}
</p>
<p
v-else
style=
"margin: 0;"
>
例子:1
{{getCurrency(f.sourceCurrencyId, true)}} = {{ 1 * f.currencyRate}} {{getCurrency(f.targetCurrencyId, true)}}
例子:1
RMB = 0.138611USD
</p>
</el-form-item>
<el-form-item
label=
"备注"
>
...
...
@@ -163,11 +163,6 @@ export default {
},
data
()
{
return
{
f
:{
"
currencyRate
"
:
""
,
"
sourceCurrencyId
"
:
''
,
"
targetCurrencyId
"
:
''
,
},
currencyList
:[],
allSimplList
:[],
listLog
:[],
...
...
@@ -214,6 +209,9 @@ export default {
this
.
getList
();
},
methods
:
{
change
(
val
){
console
.
log
(
val
,
'
val
'
)
},
handleLog
(
row
){
this
.
openLog
=
true
;
getExchangeRateLogList
({
ids
:
row
.
id
}).
then
(
r
=>
{
...
...
@@ -292,9 +290,6 @@ export default {
const id = row.id;
getExchangeRate(id).then(response => {
this.form = response.data;
this.f.currencyRate = response.data.currencyRate
this.f.sourceCurrencyId = response.data.sourceCurrencyId
this.f.targetCurrencyId = response.data.targetCurrencyId
this.open = true;
this.title = "修改";
});
...
...
@@ -360,3 +355,10 @@ export default {
}
};
</
script
>
<
style
lang=
"scss"
scoped
>
::v-deep
.el-input-number
{
.el-input__inner
{
text-align
:
left
;
}
}
</
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