|
|
@@ -1,46 +1,48 @@
|
|
|
<template>
|
|
|
- <!-- 卖履约 -->
|
|
|
- <section>
|
|
|
- <a-table :columns="columns"
|
|
|
- class="srcollYTable"
|
|
|
- :scroll="{ x: '100%', y: 'calc(100vh - 163px)' }"
|
|
|
- :pagination="false"
|
|
|
- :loading="loading"
|
|
|
- :expandedRowKeys="expandedRowKeys"
|
|
|
- :customRow="Rowclick"
|
|
|
- rowKey="key"
|
|
|
- :data-source="tableList">
|
|
|
- <!-- 额外的展开行 -->
|
|
|
- <template #expandedRowRender="{ record }">
|
|
|
- <BtnList :btnList="btnList"
|
|
|
- :record="record"
|
|
|
- @click="openComponent" />
|
|
|
- </template>
|
|
|
- <!-- 履约类型 -->
|
|
|
- <template #performancetype="{ record }">
|
|
|
- <a>{{ getPerformanceTypeName(record.performancetype) }}</a>
|
|
|
- </template>
|
|
|
+ <!-- 卖履约 -->
|
|
|
+ <section>
|
|
|
+ <a-table
|
|
|
+ :columns="columns"
|
|
|
+ class="srcollYTable"
|
|
|
+ :scroll="{ x: '100%', y: '227px' }"
|
|
|
+ :pagination="false"
|
|
|
+ :loading="loading"
|
|
|
+ :expandedRowKeys="expandedRowKeys"
|
|
|
+ :customRow="Rowclick"
|
|
|
+ rowKey="key"
|
|
|
+ :data-source="tableList"
|
|
|
+ >
|
|
|
+ <!-- 额外的展开行 -->
|
|
|
+ <template #expandedRowRender="{ record }">
|
|
|
+ <BtnList :btnList="btnList" :record="record" @click="openComponent" />
|
|
|
+ </template>
|
|
|
+ <!-- 履约类型 -->
|
|
|
+ <template #performancetype="{ record }">
|
|
|
+ <a>{{ getPerformanceTypeName(record.performancetype) }}</a>
|
|
|
+ </template>
|
|
|
|
|
|
- <!-- 付款方式 -->
|
|
|
- <template #paymenttype="{ record }">
|
|
|
- <a>{{ getPaymentTypeName(record.paymenttype) }}</a>
|
|
|
- </template>
|
|
|
+ <!-- 付款方式 -->
|
|
|
+ <template #paymenttype="{ record }">
|
|
|
+ <a>{{ getPaymentTypeName(record.paymenttype) }}</a>
|
|
|
+ </template>
|
|
|
|
|
|
- <!-- 履约状态 -->
|
|
|
- <template #performancestatus="{ record }">
|
|
|
- <a>{{ getPerformanceStatusName(record.performancestatus) }}</a>
|
|
|
- </template>
|
|
|
+ <!-- 履约状态 -->
|
|
|
+ <template #performancestatus="{ record }">
|
|
|
+ <a>{{ getPerformanceStatusName(record.performancestatus) }}</a>
|
|
|
+ </template>
|
|
|
|
|
|
- <!-- 当前步骤 -->
|
|
|
- <template #curstepname="{ record }">
|
|
|
- <a>{{ record.curstepname }}</a>
|
|
|
- </template>
|
|
|
- </a-table>
|
|
|
- <component :is="componentId"
|
|
|
- v-if="componentId"
|
|
|
- :selectedRow="selectedRow"
|
|
|
- @cancel="closeComponent"></component>
|
|
|
- </section>
|
|
|
+ <!-- 当前步骤 -->
|
|
|
+ <template #curstepname="{ record }">
|
|
|
+ <a>{{ record.curstepname }}</a>
|
|
|
+ </template>
|
|
|
+ </a-table>
|
|
|
+ <component
|
|
|
+ :is="componentId"
|
|
|
+ v-if="componentId"
|
|
|
+ :selectedRow="selectedRow"
|
|
|
+ @cancel="closeComponent"
|
|
|
+ ></component>
|
|
|
+ </section>
|
|
|
</template>
|
|
|
|
|
|
<script lang="ts">
|
|
|
@@ -51,7 +53,7 @@ import { QueryPerformancePlanReq, WrPerformancePlan } from '@/services/go/wrtrad
|
|
|
import { getRecordItemTab } from '@/common/setup/order/orderData';
|
|
|
import { handleComposeOrderTable } from '@/common/setup/table/compose';
|
|
|
import { ComposeOrderTableParam } from '@/common/setup/table/interface';
|
|
|
-import {getPaymentTypeName, getPerformanceStatusName, getPerformanceTypeName} from "@/common/constants/enumsName";
|
|
|
+import { getPaymentTypeName, getPerformanceStatusName, getPerformanceTypeName } from '@/common/constants/enumsName';
|
|
|
export default defineComponent({
|
|
|
name: enumOrderComponents.performance_information_sell_performance,
|
|
|
components: {
|