|
|
@@ -1,7 +1,7 @@
|
|
|
<!-- 履约信息-详情 -->
|
|
|
<template>
|
|
|
- <app-drawer class="g-details" width="80%" title="详情" v-model:show="show" :loading="loading" :refresh="refresh">
|
|
|
- <app-table-details title="基本信息" :label-width="180" :data="selectedRow" :cell-props="detailProps" :column="2">
|
|
|
+ <app-drawer class="g-details" width="80%" :title="t('performance.detail')" v-model:show="show" :loading="loading" :refresh="refresh">
|
|
|
+ <app-table-details :title="t('common.baseinfo')" :label-width="220" :data="selectedRow" :cell-props="detailProps" :column="2">
|
|
|
<!-- 付款方式 -->
|
|
|
<template #paymenttype="{ value }">
|
|
|
{{ value === 1 ? '冻结' : '扣款' }}
|
|
|
@@ -53,14 +53,14 @@
|
|
|
</app-table-details>
|
|
|
<app-table :data="dataList" :columns="tableColumns" :show-toolbar="false" :row-style="rowStyle" border>
|
|
|
<template #headerLeft>
|
|
|
- <h3 class="g-details__title">步骤列表</h3>
|
|
|
+ <h3 class="g-details__title">{{ t('performance.stepslist') }}</h3>
|
|
|
</template>
|
|
|
<!-- 步骤值 -->
|
|
|
<template #stepvalue="{ value }">
|
|
|
{{ (value * 100).toFixed(1) }}
|
|
|
</template>
|
|
|
<template #isauto="{ value }">
|
|
|
- {{ value ? '是' : '否' }}
|
|
|
+ {{ value ? t('common.yes') : t('common.no') }}
|
|
|
</template>
|
|
|
<!-- 启动类型 -->
|
|
|
<template #steplanchtype="{ value }">
|
|
|
@@ -113,36 +113,36 @@ const { loading, dataList } = useRequest(queryWrPerformancePlanStep, {
|
|
|
})
|
|
|
|
|
|
const detailProps = [
|
|
|
- { prop: 'relatedorderid', label: '关联单号:' },
|
|
|
- { prop: 'wrstandardname', label: '履约商品:' },
|
|
|
- { prop: 'amount', label: '履约金额:' },
|
|
|
- { prop: 'paymenttype', label: '付款方式:' },
|
|
|
- { prop: 'accountname', label: '对手方:' },
|
|
|
- { prop: 'buyerfreezeamount', label: '买方冻结:' },
|
|
|
+ { prop: 'relatedorderid', label: t('performance.relatedorderid')+':' },
|
|
|
+ { prop: 'wrstandardname', label: t('performance.wrstandardname1')+':' },
|
|
|
+ { prop: 'amount', label: t('performance.amount')+':' },
|
|
|
+ { prop: 'paymenttype', label: t('performance.paymenttype')+':' },
|
|
|
+ { prop: 'accountname', label: t('performance.accountname')+':' },
|
|
|
+ { prop: 'buyerfreezeamount', label: t('performance.buyerfreezeamount')+':' },
|
|
|
// { prop: 'buytodayamount', label: '买方今日付款:' },
|
|
|
- { prop: 'sellerfreezeamount', label: '卖方冻结:' },
|
|
|
+ { prop: 'sellerfreezeamount', label: t('performance.sellerfreezeamount')+':' },
|
|
|
// { prop: 'selltodayamount', label: '卖方今日收款:' },
|
|
|
- { prop: 'buyerfreezeamountremain', label: '买方冻结剩余:' },
|
|
|
- { prop: 'buypaidamount', label: '已付金额:' },
|
|
|
- { prop: 'sellerfreezeamountremain', label: '卖方冻结剩余:' },
|
|
|
- { prop: 'sellreceivedamount', label: '已收金额:' },
|
|
|
- { prop: 'sellerInfo', label: '卖方联络信息:' },
|
|
|
- { prop: 'buyerInfo', label: '买方联络信息:' },
|
|
|
+ { prop: 'buyerfreezeamountremain', label: t('performance.buyerfreezeamountremain')+':' },
|
|
|
+ { prop: 'buypaidamount', label: t('performance.buypaidamount')+':' },
|
|
|
+ { prop: 'sellerfreezeamountremain', label: t('performance.sellerfreezeamountremain')+':' },
|
|
|
+ { prop: 'sellreceivedamount', label: t('performance.sellreceivedamount')+':' },
|
|
|
+ { prop: 'sellerInfo', label: t('performance.sellerInfo')+':' },
|
|
|
+ { prop: 'buyerInfo', label: t('performance.buyerInfo')+':' },
|
|
|
]
|
|
|
|
|
|
const tableColumns = shallowRef<Model.TableColumn[]>([
|
|
|
- { field: 'steptypename', label: '名称' },
|
|
|
- { field: 'stepdays', label: '天数' },
|
|
|
- { field: 'remaindays', label: '剩余天数' },
|
|
|
- { field: 'stepvalue', label: '步骤值(%)' },
|
|
|
- { field: 'stepamount', label: '金额' },
|
|
|
- { field: 'realamount', label: '完成金额' },
|
|
|
- { field: 'isauto', label: '是否自动' },
|
|
|
- { field: 'steplanchtype', label: '启动类型' },
|
|
|
- { field: 'starttime', label: '开始日期' },
|
|
|
- { field: 'endtime', label: '结束日期' },
|
|
|
- { field: 'stepstatus', label: '步骤状态' },
|
|
|
- { field: 'remark', label: '步骤备注' },
|
|
|
+ { field: 'steptypename', label: t('performance.steps.steptypename') },
|
|
|
+ { field: 'stepdays', label: t('performance.steps.stepdays') },
|
|
|
+ { field: 'remaindays', label: t('performance.steps.remaindays') },
|
|
|
+ { field: 'stepvalue', label: t('performance.steps.stepvalue') },
|
|
|
+ { field: 'stepamount', label: t('performance.steps.stepamount') },
|
|
|
+ { field: 'realamount', label: t('performance.steps.realamount') },
|
|
|
+ { field: 'isauto', label: t('performance.steps.isauto') },
|
|
|
+ { field: 'steplanchtype', label: t('performance.steps.steplanchtype') },
|
|
|
+ { field: 'starttime', label: t('performance.steps.starttime') },
|
|
|
+ { field: 'endtime', label: t('performance.steps.endtime') },
|
|
|
+ { field: 'stepstatus', label: t('performance.steps.stepstatus') },
|
|
|
+ { field: 'remark', label: t('performance.steps.remark') },
|
|
|
])
|
|
|
|
|
|
// 当前步骤索引位置
|