|
|
|
@ -8,15 +8,13 @@
|
|
|
|
|
<template #tableTitle>
|
|
|
|
|
|
|
|
|
|
<div class="buttonGroup ">
|
|
|
|
|
<div class="tableTitleBox">
|
|
|
|
|
<div class="ds-h-aciton-btns-fee">
|
|
|
|
|
<a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
|
<template #title>
|
|
|
|
|
<span>新建</span>
|
|
|
|
|
</template>
|
|
|
|
|
<span class="ds-action-svg-btn">
|
|
|
|
|
<a-button @click="GoDetailed(false)" v-repeat type="link">
|
|
|
|
|
<span class="ds-action-svg-btn" @click="GoDetailed(false)">
|
|
|
|
|
<img src="../../../assets/svg/infoclient/xinjian.svg" class="SvgImg" />
|
|
|
|
|
</a-button>
|
|
|
|
|
</span>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
<a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
@ -25,9 +23,27 @@
|
|
|
|
|
</template>
|
|
|
|
|
<span class="ds-action-svg-btn">
|
|
|
|
|
<a-popconfirm title="确定删除当前选中数据?" @confirm="FnDel" ok-text="是" cancel-text="否">
|
|
|
|
|
<a-button v-repeat type="link">
|
|
|
|
|
<img src="../../../assets/svg/infoclient/shanchu.svg" class="SvgImg" />
|
|
|
|
|
</a-button>
|
|
|
|
|
</a-popconfirm>
|
|
|
|
|
</span>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
<a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
|
<template #title>
|
|
|
|
|
<span>删除</span>
|
|
|
|
|
</template>
|
|
|
|
|
<span class="ds-action-svg-btn">
|
|
|
|
|
<a-popconfirm title="确定提交审核吗?" @confirm="handleApply" ok-text="是" cancel-text="否">
|
|
|
|
|
<img src="../../../assets/svg/infoclient/tijiao.svg" class="SvgImg" />
|
|
|
|
|
</a-popconfirm>
|
|
|
|
|
</span>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
<a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
|
<template #title>
|
|
|
|
|
<span>删除</span>
|
|
|
|
|
</template>
|
|
|
|
|
<span class="ds-action-svg-btn">
|
|
|
|
|
<a-popconfirm title="确定撤销审核吗?" @confirm="handleWithdraw" ok-text="是" cancel-text="否">
|
|
|
|
|
<img src="../../../assets/svg/infoclient/chexiaotijiao.svg" class="SvgImg" />
|
|
|
|
|
</a-popconfirm>
|
|
|
|
|
</span>
|
|
|
|
|
</a-tooltip>
|
|
|
|
@ -41,14 +57,6 @@
|
|
|
|
|
<span class="iconfont icon-a-17Btuichu IconColor"></span>
|
|
|
|
|
导出EXCEL
|
|
|
|
|
</a-button>
|
|
|
|
|
<a-button @click="handleApply" v-repeat type="link">
|
|
|
|
|
<span class="iconfont icon-tijiao1 IconColor"></span>
|
|
|
|
|
提交审核
|
|
|
|
|
</a-button>
|
|
|
|
|
<a-button @click="handleWithdraw" v-repeat type="link">
|
|
|
|
|
<span class="iconfont icon-chehuisekuai IconColor"></span>
|
|
|
|
|
撤销审核
|
|
|
|
|
</a-button>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-slot:bodyCell="{ column, record }">
|
|
|
|
@ -67,6 +75,23 @@
|
|
|
|
|
<span v-if="!record.currency">原币申请</span>
|
|
|
|
|
<span v-else>{{ record.currency }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
<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$/.test(record.status)" class="ds-orange-tag">{{
|
|
|
|
|
record.statusText
|
|
|
|
|
}}</span>
|
|
|
|
|
<span v-else-if="/^4|5$/.test(record.status)" class="ds-red-tag">{{
|
|
|
|
|
record.statusText
|
|
|
|
|
}}</span>
|
|
|
|
|
<span v-else class="ds-purple-tag">{{ record.statusText }}</span>
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
</BasicTable>
|
|
|
|
|
</div>
|
|
|
|
@ -122,6 +147,7 @@ const [registerTable, { reload, getPaginationRef, getSelectRows, getRawDataSourc
|
|
|
|
|
pagination: true,
|
|
|
|
|
striped: true,
|
|
|
|
|
useSearchForm: true,
|
|
|
|
|
resizeHeightOffset: 15,
|
|
|
|
|
showTableSetting: true,
|
|
|
|
|
bordered: true,
|
|
|
|
|
showIndexColumn: true,
|
|
|
|
@ -145,6 +171,11 @@ function GoDetailed(type, data) {
|
|
|
|
|
go(`/invoiceapplyDetail?type=add`)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
const copyNo = (e, v) => {
|
|
|
|
|
e.stopPropagation()
|
|
|
|
|
navigator.clipboard.writeText(v)
|
|
|
|
|
createMessage.success("复制成功")
|
|
|
|
|
}
|
|
|
|
|
// 删除
|
|
|
|
|
function FnDel() {
|
|
|
|
|
let ids = []
|
|
|
|
@ -258,9 +289,7 @@ async function printFee() {
|
|
|
|
|
height: calc(100vh - 145px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.SvgImg {
|
|
|
|
|
width: 12px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.tableTitleBox {
|
|
|
|
|
.ant-btn-link {
|
|
|
|
@ -272,8 +301,45 @@ async function printFee() {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.SvgImg {
|
|
|
|
|
width: 18px;
|
|
|
|
|
height: 18px;
|
|
|
|
|
margin: 6.8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.buttonGroup {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.ds-h-aciton-btns-fee {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
height: 38px;
|
|
|
|
|
padding-right: 10px;
|
|
|
|
|
border-right: 1px solid rgb(194, 188, 188);
|
|
|
|
|
|
|
|
|
|
.ds-action-svg-btn {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
width: 32px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
border-radius: 2px;
|
|
|
|
|
margin-right: 8px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
|
|
.next {
|
|
|
|
|
transform: rotate(180deg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ds-action-svg-btn:hover {
|
|
|
|
|
box-shadow: 0px 2px 4px #cad1db;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.vben-svg-icon {
|
|
|
|
|
margin: 6.8px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|