|
@@ -21,10 +21,10 @@
|
|
|
<span>{{ moneyFormat(item.amount, 2) }}</span>
|
|
|
</div>
|
|
|
</template>
|
|
|
- <template #refundMoney="{ item }">
|
|
|
+ <template #sumClaimMoney="{ item }">
|
|
|
<div>
|
|
|
<span style="padding-right: 4px">{{ item.currency }}</span>
|
|
|
- <span>{{ moneyFormat(item.refundMoney, 2) }}</span>
|
|
|
+ <span>{{ moneyFormat(item.sumClaimMoney, 2) }}</span>
|
|
|
</div>
|
|
|
</template>
|
|
|
<template #scale="{ item }">
|
|
@@ -371,7 +371,7 @@ const config = computed(() => {
|
|
|
{
|
|
|
attrs: {
|
|
|
label: "已到账金额",
|
|
|
- slot: "refundMoney",
|
|
|
+ slot: "sumClaimMoney",
|
|
|
width: 120,
|
|
|
},
|
|
|
},
|
|
@@ -560,8 +560,8 @@ const getList = async (req) => {
|
|
|
});
|
|
|
};
|
|
|
getDict();
|
|
|
-if(route.query.code){
|
|
|
- sourceList.value.pagination.keyword=route.query.code
|
|
|
+if (route.query.code) {
|
|
|
+ sourceList.value.pagination.keyword = route.query.code;
|
|
|
}
|
|
|
getList();
|
|
|
const newContract = () => {
|
|
@@ -610,8 +610,8 @@ const statisticsTwo = (label, index) => {
|
|
|
};
|
|
|
const computeScale = (item) => {
|
|
|
let text = 0;
|
|
|
- if (item.refundMoney && Number(item.refundMoney) > 0 && item.amount && Number(item.amount) > 0) {
|
|
|
- text = parseFloat(Number(item.refundMoney) / Number(item.amount)).toFixed(2);
|
|
|
+ if (item.sumClaimMoney && Number(item.sumClaimMoney) > 0 && item.amount && Number(item.amount) > 0) {
|
|
|
+ text = parseFloat((Number(item.sumClaimMoney) / Number(item.amount)) * 100).toFixed(2);
|
|
|
}
|
|
|
return text + "%";
|
|
|
};
|