Handy_Cao %!s(int64=2) %!d(string=hai) anos
pai
achega
a565fbb7f6

+ 15 - 16
src/packages/pc/views/footer/performance/components/details/index.vue

@@ -8,35 +8,39 @@
             </template>
             <!-- 买方冻结 -->
             <template #buyerfreezeamount="{ value }">
-                {{ handleNumberValue(value) }}
+                {{ formatDecimal(value) }}
             </template>
             <!-- 卖方冻结 -->
             <template #sellerfreezeamount="{ value }">
-                {{ handleNumberValue(value) }}
+                {{ formatDecimal(value) }}
             </template>
             <!-- 买方冻结剩余 -->
             <template #buyerfreezeamountremain="{ value }">
-                {{ handleNumberValue(value) }}
+                {{ formatDecimal(value) }}
             </template>
             <!-- 卖方冻结剩余 -->
             <template #sellerfreezeamountremain="{ value }">
-                {{ handleNumberValue(value) }}
+                {{ formatDecimal(value) }}
             </template>
             <!-- 买方今日付款 -->
             <template #buytodayamount="{ value }">
-                {{ handleNumberValue(value) }}
+                {{ formatDecimal(value) }}
             </template>
             <!-- 卖方今日收款 -->
             <template #selltodayamount="{ value }">
-                {{ handleNumberValue(value) }}
+                {{ formatDecimal(value) }}
             </template>
             <!-- 已付金额 -->
             <template #buypaidamount="{ value }">
-                {{ handleNumberValue(value) }}
+                {{ formatDecimal(value) }}
             </template>
             <!-- 已收金额 -->
             <template #sellreceivedamount="{ value }">
-                {{ handleNumberValue(value) }}
+                {{ formatDecimal(value) }}
+            </template>
+             <!-- 对手方 -->
+             <template #accountname>
+                {{ selectedRow.buyorsell === 0 ? selectedRow.buyusername : selectedRow.sellusername }}
             </template>
             <!-- 买方联络信息 -->
             <template #buyerInfo>
@@ -82,7 +86,7 @@ export default defineComponent({
 
 <script lang="ts" setup>
 import { PropType, computed, ref, shallowRef } from 'vue'
-import { handleNumberValue, handleNoneValue } from '@/filters'
+import { formatDecimal, handleNoneValue } from '@/filters'
 import { getPerformanceStepStatusName } from '@/constants/order'
 import { useRequest } from '@/hooks/request'
 import { queryWrPerformancePlanStep } from '@/services/api/performance'
@@ -91,11 +95,6 @@ import AppTableDetails from '@pc/components/base/table-details/index.vue'
 import AppDrawer from '@pc/components/base/drawer/index.vue'
 
 const props = defineProps({
-    code: String,
-    teleportTo: {
-        type: String,
-        default: '#appPageTeleport'
-    },
     selectedRow: {
         type: Object as PropType<Model.PerformancePlanRsp>,
         default: () => ({})
@@ -118,9 +117,9 @@ const detailProps = [
     { prop: 'paymenttype', label: '付款方式:' },
     { prop: 'accountname', label: '对手方:' },
     { prop: 'buyerfreezeamount', label: '买方冻结:' },
-    { prop: 'buytodayamount', label: '买方今日付款:' },
+    // { prop: 'buytodayamount', label: '买方今日付款:' },
     { prop: 'sellerfreezeamount', label: '卖方冻结:' },
-    { prop: 'selltodayamount', label: '卖方今日收款:' },
+    // { prop: 'selltodayamount', label: '卖方今日收款:' },
     { prop: 'buyerfreezeamountremain', label: '买方冻结剩余:' },
     { prop: 'buypaidamount', label: '已付金额:' },
     { prop: 'sellerfreezeamountremain', label: '卖方冻结剩余:' },