|
|
@@ -58,9 +58,29 @@
|
|
|
|
|
|
<!-- 金额-->
|
|
|
<template #payamount="{ text, record }">
|
|
|
- <a>{{ record.kxtype === 2 ? record.deductamount : text }}</a>
|
|
|
+ <span>{{ formatValue(record.kxtype === 2 ? record.deductamount : text) }}</span>
|
|
|
</template>
|
|
|
|
|
|
+ <!-- 调整付保证金-->
|
|
|
+ <template #addmargin="{ text, record }">
|
|
|
+ <span>{{ formatValue(record.addmargin === undefined || "" ? record.decmargin : record.addmargin) }}</span>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <!-- 交收量 -->
|
|
|
+ <template #reckonrealqty="{record }">
|
|
|
+ <span>{{ formatValue(record.reckonrealqty) }}</span>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <!-- 其他费用 -->
|
|
|
+ <template #reckonotheramount="{record }">
|
|
|
+ <span>{{ formatValue(record.reckonotheramount) }}</span>
|
|
|
+ </template>
|
|
|
+
|
|
|
+ <!-- 申请人 -->
|
|
|
+ <template #applyname="{record }">
|
|
|
+ <span>{{ formatValue(record.applyname) }}</span>
|
|
|
+ </template>
|
|
|
+
|
|
|
<!-- 款项记录 款项类型为退款 则金额使用deductamount-->
|
|
|
</a-table>
|
|
|
</div>
|
|
|
@@ -84,6 +104,7 @@ import { getPlanContractType } from '@/views/business/plan/setup';
|
|
|
import { InOutTypeName } from '@/views/manage/inventory-review/setup';
|
|
|
import { kxtypeName } from '@/views/manage/finance-review/setup';
|
|
|
import { _closeModal } from '@/common/setup/modal/modal';
|
|
|
+import {formatValue} from "@/common/methods";
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: 'spot-contract-detail',
|
|
|
@@ -200,6 +221,7 @@ export default defineComponent({
|
|
|
getPlanContractType,
|
|
|
InOutTypeName,
|
|
|
kxtypeName,
|
|
|
+ formatValue
|
|
|
};
|
|
|
},
|
|
|
});
|