|
|
|
@ -28,7 +28,7 @@
|
|
|
|
|
</template>
|
|
|
|
|
<template #right>
|
|
|
|
|
<div class="right-table">
|
|
|
|
|
<BasicTable class="ds-table" @register="registerTable1">
|
|
|
|
|
<BasicTable class="ds-table" @selection-change="onSelectChangeDetail" @register="registerTable1">
|
|
|
|
|
<template #tableTitle>
|
|
|
|
|
<div>
|
|
|
|
|
<span class="bold">结算费用明细</span>
|
|
|
|
@ -202,10 +202,6 @@ const [registerTable1, { getSelectRows: getSelectRowsDetail, setTableData }] = u
|
|
|
|
|
showIndexColumn: false,
|
|
|
|
|
pagination: false,
|
|
|
|
|
striped: false,
|
|
|
|
|
rowSelection: {
|
|
|
|
|
onChange: onSelectChangeDetail,
|
|
|
|
|
fixed: true,
|
|
|
|
|
},
|
|
|
|
|
bordered: true,
|
|
|
|
|
indexColumnProps: {
|
|
|
|
|
width: 60,
|
|
|
|
@ -375,13 +371,13 @@ function addInfos() {
|
|
|
|
|
currenciesData.value = res.data
|
|
|
|
|
res.data.forEach(item => {
|
|
|
|
|
item.exchangeRates.forEach(ite => {
|
|
|
|
|
if (ite.currency != 'RMB') {
|
|
|
|
|
if (ite.currency != currency.value) {
|
|
|
|
|
cuArr.push({
|
|
|
|
|
currency: ite.currency,
|
|
|
|
|
id: item.id
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
if (ite.currency == 'RMB') {
|
|
|
|
|
if (ite.currency == currency.value) {
|
|
|
|
|
ite.exchangeRate = 1
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
@ -395,7 +391,7 @@ function addInfos() {
|
|
|
|
|
const data = {
|
|
|
|
|
currencyFrom: 'RMB',
|
|
|
|
|
currencyTo: item.currency,
|
|
|
|
|
feeType: item.feeType
|
|
|
|
|
feeType: 1
|
|
|
|
|
}
|
|
|
|
|
GetExchangeRate(data).then(res => {
|
|
|
|
|
exchangarr.value.push(res.data)
|
|
|
|
@ -685,7 +681,7 @@ function init() {
|
|
|
|
|
}, 200)
|
|
|
|
|
}
|
|
|
|
|
const totalAmount = ref(0)
|
|
|
|
|
function onSelectChangeDetail() {
|
|
|
|
|
function onSelectChangeDetail({keys,row}) {
|
|
|
|
|
const list = getSelectRowsDetail()
|
|
|
|
|
if (route.query.type == 'free') {
|
|
|
|
|
totalAmount.value = 0
|
|
|
|
|