|
|
@ -8,15 +8,13 @@
|
|
|
|
<template #tableTitle>
|
|
|
|
<template #tableTitle>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="buttonGroup ">
|
|
|
|
<div class="buttonGroup ">
|
|
|
|
<div class="tableTitleBox">
|
|
|
|
<div class="ds-h-aciton-btns-fee">
|
|
|
|
<a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
<a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
<template #title>
|
|
|
|
<template #title>
|
|
|
|
<span>新建</span>
|
|
|
|
<span>新建</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<span class="ds-action-svg-btn">
|
|
|
|
<span class="ds-action-svg-btn" @click="GoDetailed(false)">
|
|
|
|
<a-button @click="GoDetailed(false)" v-repeat type="link">
|
|
|
|
|
|
|
|
<img src="../../../assets/svg/infoclient/xinjian.svg" class="SvgImg" />
|
|
|
|
<img src="../../../assets/svg/infoclient/xinjian.svg" class="SvgImg" />
|
|
|
|
</a-button>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</a-tooltip>
|
|
|
|
</a-tooltip>
|
|
|
|
<a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
<a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
@ -25,9 +23,27 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<span class="ds-action-svg-btn">
|
|
|
|
<span class="ds-action-svg-btn">
|
|
|
|
<a-popconfirm title="确定删除当前选中数据?" @confirm="FnDel" ok-text="是" cancel-text="否">
|
|
|
|
<a-popconfirm title="确定删除当前选中数据?" @confirm="FnDel" ok-text="是" cancel-text="否">
|
|
|
|
<a-button v-repeat type="link">
|
|
|
|
|
|
|
|
<img src="../../../assets/svg/infoclient/shanchu.svg" class="SvgImg" />
|
|
|
|
<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>
|
|
|
|
</a-popconfirm>
|
|
|
|
</span>
|
|
|
|
</span>
|
|
|
|
</a-tooltip>
|
|
|
|
</a-tooltip>
|
|
|
@ -41,14 +57,6 @@
|
|
|
|
<span class="iconfont icon-a-17Btuichu IconColor"></span>
|
|
|
|
<span class="iconfont icon-a-17Btuichu IconColor"></span>
|
|
|
|
导出EXCEL
|
|
|
|
导出EXCEL
|
|
|
|
</a-button>
|
|
|
|
</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>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<template v-slot:bodyCell="{ column, record }">
|
|
|
|
<template v-slot:bodyCell="{ column, record }">
|
|
|
@ -67,6 +75,23 @@
|
|
|
|
<span v-if="!record.currency">原币申请</span>
|
|
|
|
<span v-if="!record.currency">原币申请</span>
|
|
|
|
<span v-else>{{ record.currency }}</span>
|
|
|
|
<span v-else>{{ record.currency }}</span>
|
|
|
|
</template>
|
|
|
|
</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>
|
|
|
|
</template>
|
|
|
|
</BasicTable>
|
|
|
|
</BasicTable>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -122,6 +147,7 @@ const [registerTable, { reload, getPaginationRef, getSelectRows, getRawDataSourc
|
|
|
|
pagination: true,
|
|
|
|
pagination: true,
|
|
|
|
striped: true,
|
|
|
|
striped: true,
|
|
|
|
useSearchForm: true,
|
|
|
|
useSearchForm: true,
|
|
|
|
|
|
|
|
resizeHeightOffset: 15,
|
|
|
|
showTableSetting: true,
|
|
|
|
showTableSetting: true,
|
|
|
|
bordered: true,
|
|
|
|
bordered: true,
|
|
|
|
showIndexColumn: true,
|
|
|
|
showIndexColumn: true,
|
|
|
@ -145,6 +171,11 @@ function GoDetailed(type, data) {
|
|
|
|
go(`/invoiceapplyDetail?type=add`)
|
|
|
|
go(`/invoiceapplyDetail?type=add`)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
const copyNo = (e, v) => {
|
|
|
|
|
|
|
|
e.stopPropagation()
|
|
|
|
|
|
|
|
navigator.clipboard.writeText(v)
|
|
|
|
|
|
|
|
createMessage.success("复制成功")
|
|
|
|
|
|
|
|
}
|
|
|
|
// 删除
|
|
|
|
// 删除
|
|
|
|
function FnDel() {
|
|
|
|
function FnDel() {
|
|
|
|
let ids = []
|
|
|
|
let ids = []
|
|
|
@ -258,9 +289,7 @@ async function printFee() {
|
|
|
|
height: calc(100vh - 145px);
|
|
|
|
height: calc(100vh - 145px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.SvgImg {
|
|
|
|
|
|
|
|
width: 12px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.tableTitleBox {
|
|
|
|
.tableTitleBox {
|
|
|
|
.ant-btn-link {
|
|
|
|
.ant-btn-link {
|
|
|
@ -272,8 +301,45 @@ async function printFee() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.SvgImg {
|
|
|
|
|
|
|
|
width: 18px;
|
|
|
|
|
|
|
|
height: 18px;
|
|
|
|
|
|
|
|
margin: 6.8px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.buttonGroup {
|
|
|
|
.buttonGroup {
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
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>
|
|
|
|
</style>
|
|
|
|