|
|
|
@ -5,43 +5,7 @@
|
|
|
|
|
-->
|
|
|
|
|
<template>
|
|
|
|
|
<div class="ds-pay-apply">
|
|
|
|
|
<BasicTable class="ds-table" @register="registerTable" @row-dbClick="edit">
|
|
|
|
|
<template #toolbar>
|
|
|
|
|
<TableActionBar :selectRow="getSelectRows" :reload="reload" @exportFile="exportFile"></TableActionBar>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-slot:bodyCell="{ column, record }">
|
|
|
|
|
<!-- 复制单号 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'applicationNO'">
|
|
|
|
|
<span style="cursor: pointer"><span><span @click="copyNo($event, record.applicationNO)" class="iconfont icon-fuzhi11"></span>{{ record.applicationNO }}</span></span>
|
|
|
|
|
</template>
|
|
|
|
|
<!-- 状态 -->
|
|
|
|
|
<template v-if="column.dataIndex == 'statusText'">
|
|
|
|
|
<span v-if="record.status == 0" class="ds-blue-tag">
|
|
|
|
|
{{ record.statusText }}</span>
|
|
|
|
|
<span v-else-if="record.status == 1" class="ds-green-tag">{{
|
|
|
|
|
record.statusText
|
|
|
|
|
}}</span>
|
|
|
|
|
<span v-else-if="/^2|3|4|5|6$/.test(record.status)" class="ds-orange-tag">{{
|
|
|
|
|
record.statusText
|
|
|
|
|
}}</span>
|
|
|
|
|
<span v-else-if="/^7|8$/.test(record.status)" class="ds-red-tag">{{
|
|
|
|
|
record.statusText
|
|
|
|
|
}}</span>
|
|
|
|
|
<span v-else class="ds-purple-tag">{{ record.statusText }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-if="column.key === 'action'">
|
|
|
|
|
<TableAction :actions="[
|
|
|
|
|
{
|
|
|
|
|
icon: 'clarity:note-edit-line',
|
|
|
|
|
tooltip: '编辑',
|
|
|
|
|
onClick: () => {
|
|
|
|
|
edit(record)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
]" />
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
</BasicTable>
|
|
|
|
|
|
|
|
|
|
<div class="calc">
|
|
|
|
|
<span style="font-size: 12px;">合计</span>
|
|
|
|
|
<span class="box">
|
|
|
|
|