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
87342d96
Commit
87342d96
authored
Jul 12, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
汇率日志修改
parent
260d00ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
exchangeRate.js
src/api/ecw/exchangeRate.js
+1
-1
index.vue
src/views/ecw/exchangeRate/index.vue
+11
-3
No files found.
src/api/ecw/exchangeRate.js
View file @
87342d96
...
@@ -45,7 +45,7 @@ export function getExchangeRatePage(query) {
...
@@ -45,7 +45,7 @@ export function getExchangeRatePage(query) {
// 汇率日志查询
// 汇率日志查询
export
function
getExchangeRateLogList
(
params
){
export
function
getExchangeRateLogList
(
params
){
return
request
({
return
request
({
url
:
'
/ecw/exchange-rate-log/
list
'
,
url
:
'
/ecw/exchange-rate-log/
page
'
,
method
:
'
get
'
,
method
:
'
get
'
,
params
,
params
,
})
})
...
...
src/views/ecw/exchangeRate/index.vue
View file @
87342d96
...
@@ -140,6 +140,8 @@
...
@@ -140,6 +140,8 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<pagination
v-show=
"totalLog > 0"
:total=
"totalLog"
:page.sync=
"formLog.page"
:limit.sync=
"form.rows"
@
pagination=
"handleLog"
/>
</el-dialog>
</el-dialog>
</div>
</div>
</template>
</template>
...
@@ -200,7 +202,12 @@ export default {
...
@@ -200,7 +202,12 @@ export default {
targetCurrencyId
:
[{
required
:
true
,
message
:
this
.
$t
(
'
币种2不能为空
'
),
trigger
:
"
change
"
}],
targetCurrencyId
:
[{
required
:
true
,
message
:
this
.
$t
(
'
币种2不能为空
'
),
trigger
:
"
change
"
}],
targetCurrencyCode
:
[{
required
:
true
,
message
:
this
.
$t
(
'
目标种代码不能为空
'
),
trigger
:
"
blur
"
}],
targetCurrencyCode
:
[{
required
:
true
,
message
:
this
.
$t
(
'
目标种代码不能为空
'
),
trigger
:
"
blur
"
}],
currencyRate
:
[{
required
:
true
,
message
:
this
.
$t
(
'
汇率不能为空
'
),
trigger
:
"
blur
"
}],
currencyRate
:
[{
required
:
true
,
message
:
this
.
$t
(
'
汇率不能为空
'
),
trigger
:
"
blur
"
}],
}
},
formLog
:{
rows
:
10
,
page
:
1
},
totalLog
:
0
,
};
};
},
},
created
()
{
created
()
{
...
@@ -216,8 +223,9 @@ export default {
...
@@ -216,8 +223,9 @@ export default {
},
},
handleLog
(
row
){
handleLog
(
row
){
this
.
openLog
=
true
;
this
.
openLog
=
true
;
getExchangeRateLogList
({
ids
:
row
.
id
}).
then
(
r
=>
{
getExchangeRateLogList
({
rateId
:
row
.
id
,...
this
.
formLog
}).
then
(
r
=>
{
this
.
listLog
=
r
.
data
;
this
.
listLog
=
r
.
data
.
list
;
this
.
totalLog
=
r
.
data
.
total
;
})
})
},
},
getOperator
(
val
){
getOperator
(
val
){
...
...
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