|
|
|
@ -1,49 +1,48 @@
|
|
|
|
|
<template>
|
|
|
|
|
<div>
|
|
|
|
|
<div class="topTable">
|
|
|
|
|
<BasicTable
|
|
|
|
|
class="ds-table"
|
|
|
|
|
@register="registerTable"
|
|
|
|
|
@row-dbClick="
|
|
|
|
|
(e) => {
|
|
|
|
|
GoDetailed(true, e)
|
|
|
|
|
}
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<template #tableTitle>
|
|
|
|
|
<div class="ds-h-aciton-btns-fee">
|
|
|
|
|
<a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
|
<template #title>
|
|
|
|
|
<span>新增</span>
|
|
|
|
|
</template>
|
|
|
|
|
<span @click="GoDetailed(false, null)" class="ds-action-svg-btn">
|
|
|
|
|
<img src="../../../assets/svg/infoclient/xinjian.svg" class="SvgImg" />
|
|
|
|
|
</span>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
<a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
|
<template #title>
|
|
|
|
|
<span>删除</span>
|
|
|
|
|
</template>
|
|
|
|
|
<a-popconfirm
|
|
|
|
|
title="确定删除当前选中数据?"
|
|
|
|
|
@confirm="FnDel"
|
|
|
|
|
ok-text="是"
|
|
|
|
|
cancel-text="否"
|
|
|
|
|
>
|
|
|
|
|
<span class="ds-action-svg-btn">
|
|
|
|
|
<img src="../../../assets/svg/infoclient/shanchu.svg" class="SvgImg" />
|
|
|
|
|
</span>
|
|
|
|
|
</a-popconfirm>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
<a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
|
<template #title>
|
|
|
|
|
<span>打印</span>
|
|
|
|
|
</template>
|
|
|
|
|
<span @click="printFee" class="ds-action-svg-btn">
|
|
|
|
|
<img src="../../../assets/svg/infoclient/dayin.svg" class="SvgImg" />
|
|
|
|
|
<div class="topTable">
|
|
|
|
|
<BasicTable
|
|
|
|
|
class="ds-table"
|
|
|
|
|
@register="registerTable"
|
|
|
|
|
@row-dbClick="
|
|
|
|
|
(e) => {
|
|
|
|
|
GoDetailed(true, e)
|
|
|
|
|
}
|
|
|
|
|
"
|
|
|
|
|
>
|
|
|
|
|
<template #tableTitle>
|
|
|
|
|
<div class="ds-h-aciton-btns-fee">
|
|
|
|
|
<a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
|
<template #title>
|
|
|
|
|
<span>新增</span>
|
|
|
|
|
</template>
|
|
|
|
|
<span @click="GoDetailed(false, null)" class="ds-action-svg-btn">
|
|
|
|
|
<img src="../../../assets/svg/infoclient/xinjian.svg" class="SvgImg" />
|
|
|
|
|
</span>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
<a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
|
<template #title>
|
|
|
|
|
<span>删除</span>
|
|
|
|
|
</template>
|
|
|
|
|
<a-popconfirm
|
|
|
|
|
title="确定删除当前选中数据?"
|
|
|
|
|
@confirm="FnDel"
|
|
|
|
|
ok-text="是"
|
|
|
|
|
cancel-text="否"
|
|
|
|
|
>
|
|
|
|
|
<span class="ds-action-svg-btn">
|
|
|
|
|
<img src="../../../assets/svg/infoclient/shanchu.svg" class="SvgImg" />
|
|
|
|
|
</span>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
<!-- <a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
|
</a-popconfirm>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
<a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
|
<template #title>
|
|
|
|
|
<span>打印</span>
|
|
|
|
|
</template>
|
|
|
|
|
<span @click="printFee" class="ds-action-svg-btn">
|
|
|
|
|
<img src="../../../assets/svg/infoclient/dayin.svg" class="SvgImg" />
|
|
|
|
|
</span>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
<!-- <a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
|
<template #title>
|
|
|
|
|
<span>分享</span>
|
|
|
|
|
</template>
|
|
|
|
@ -51,73 +50,72 @@
|
|
|
|
|
<img src="../../../assets/svg/infoclient/tijiao.svg" class="SvgImg" />
|
|
|
|
|
</span>
|
|
|
|
|
</a-tooltip> -->
|
|
|
|
|
<a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
|
<template #title>
|
|
|
|
|
<span>导出excel</span>
|
|
|
|
|
</template>
|
|
|
|
|
<span @click="ExportExcel" class="ds-action-svg-btn" style="padding-top: 4px">
|
|
|
|
|
<SvgIcon size="16" name="export" />
|
|
|
|
|
</span>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
<a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
|
<template #title>
|
|
|
|
|
<span>提交锁定</span>
|
|
|
|
|
</template>
|
|
|
|
|
<span @click="Lock" class="ds-action-svg-btn">
|
|
|
|
|
<img src="../../../assets/icons/lock.svg" class="SvgImg" />
|
|
|
|
|
</span>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
<a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
|
<template #title>
|
|
|
|
|
<span>解除锁定</span>
|
|
|
|
|
</template>
|
|
|
|
|
<span @click="UnLock" class="ds-action-svg-btn">
|
|
|
|
|
<img src="../../../assets/icons/openLock.svg" class="SvgImg" />
|
|
|
|
|
</span>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="buttonGroup">
|
|
|
|
|
<!-- <a-button v-repeat type="link" @click="generated">
|
|
|
|
|
<a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
|
<template #title>
|
|
|
|
|
<span>导出excel</span>
|
|
|
|
|
</template>
|
|
|
|
|
<span @click="ExportExcel" class="ds-action-svg-btn" style="padding-top: 4px">
|
|
|
|
|
<SvgIcon size="16" name="export" />
|
|
|
|
|
</span>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
<a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
|
<template #title>
|
|
|
|
|
<span>提交锁定</span>
|
|
|
|
|
</template>
|
|
|
|
|
<span @click="Lock" class="ds-action-svg-btn">
|
|
|
|
|
<img src="../../../assets/icons/lock.svg" class="SvgImg" />
|
|
|
|
|
</span>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
<a-tooltip placement="top" :mouseEnterDelay="0.5">
|
|
|
|
|
<template #title>
|
|
|
|
|
<span>解除锁定</span>
|
|
|
|
|
</template>
|
|
|
|
|
<span @click="UnLock" class="ds-action-svg-btn">
|
|
|
|
|
<img src="../../../assets/icons/openLock.svg" class="SvgImg" />
|
|
|
|
|
</span>
|
|
|
|
|
</a-tooltip>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="buttonGroup">
|
|
|
|
|
<!-- <a-button v-repeat type="link" @click="generated">
|
|
|
|
|
<span class="iconfont icon-renwu_ IconColor"></span>
|
|
|
|
|
生成发票申请
|
|
|
|
|
</a-button> -->
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-slot:bodyCell="{ column, record }">
|
|
|
|
|
<template v-if="column.dataIndex == 'billNo'">
|
|
|
|
|
<div class="billNo">
|
|
|
|
|
<span
|
|
|
|
|
v-if="record.billNo"
|
|
|
|
|
@click="FnCopy(record.billNo)"
|
|
|
|
|
class="iconfont icon-fuzhi3"
|
|
|
|
|
></span>
|
|
|
|
|
<span>{{ record.billNo }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-slot:bodyCell="{ column, record }">
|
|
|
|
|
<template v-if="column.dataIndex == 'billNo'">
|
|
|
|
|
<div class="billNo">
|
|
|
|
|
<span
|
|
|
|
|
v-if="record.billNo"
|
|
|
|
|
@click="FnCopy(record.billNo)"
|
|
|
|
|
class="iconfont icon-fuzhi3"
|
|
|
|
|
></span>
|
|
|
|
|
<span>{{ record.billNo }}</span>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-if="column.key === 'action'">
|
|
|
|
|
<TableAction
|
|
|
|
|
:actions="[
|
|
|
|
|
{
|
|
|
|
|
icon: 'clarity:note-edit-line',
|
|
|
|
|
tooltip: '编辑',
|
|
|
|
|
onClick: () => {
|
|
|
|
|
GoDetailed(true, record)
|
|
|
|
|
},
|
|
|
|
|
<template v-if="column.key === 'action'">
|
|
|
|
|
<TableAction
|
|
|
|
|
:actions="[
|
|
|
|
|
{
|
|
|
|
|
icon: 'clarity:note-edit-line',
|
|
|
|
|
tooltip: '编辑',
|
|
|
|
|
onClick: () => {
|
|
|
|
|
GoDetailed(true, record)
|
|
|
|
|
},
|
|
|
|
|
]"
|
|
|
|
|
/>
|
|
|
|
|
</template>
|
|
|
|
|
<template v-if="column.dataIndex == 'isLocking'">
|
|
|
|
|
<span v-if="record.isLocking">
|
|
|
|
|
<i class="iconfont icon-locksuo"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<span v-else> <i class="iconfont icon-a-jiesuo1_jiesuo"></i> </span>
|
|
|
|
|
</template>
|
|
|
|
|
},
|
|
|
|
|
]"
|
|
|
|
|
/>
|
|
|
|
|
</template>
|
|
|
|
|
</BasicTable>
|
|
|
|
|
</div>
|
|
|
|
|
<template v-if="column.dataIndex == 'isLocking'">
|
|
|
|
|
<span v-if="record.isLocking">
|
|
|
|
|
<i class="iconfont icon-locksuo"></i>
|
|
|
|
|
</span>
|
|
|
|
|
<span v-else> <i class="iconfont icon-a-jiesuo1_jiesuo"></i> </span>
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
</BasicTable>
|
|
|
|
|
<!-- 合计 -->
|
|
|
|
|
<div>
|
|
|
|
|
<div class="static-box">
|
|
|
|
|
<a-table
|
|
|
|
|
class="ds-table"
|
|
|
|
|
:columns="calcColumns"
|
|
|
|
@ -165,7 +163,7 @@
|
|
|
|
|
})
|
|
|
|
|
appStore.setIds(ids, 'khdz')
|
|
|
|
|
}
|
|
|
|
|
resolve({ data: [...res.data.list], total: res.count })
|
|
|
|
|
resolve({ data: [...res.data.list], total: res.data.totalCount })
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
// 请求前的参数格式化
|
|
|
|
@ -228,6 +226,7 @@
|
|
|
|
|
immediate: true,
|
|
|
|
|
tableComponent: 'vxe',
|
|
|
|
|
autoHeight: tbHeight,
|
|
|
|
|
id: '1',
|
|
|
|
|
actionColumn: {
|
|
|
|
|
width: 80,
|
|
|
|
|
title: '操作',
|
|
|
|
@ -482,7 +481,12 @@
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
.topTable {
|
|
|
|
|
height: calc(100vh - 145px);
|
|
|
|
|
// height: calc(100vh - 145px);
|
|
|
|
|
.static-box {
|
|
|
|
|
position: fixed;
|
|
|
|
|
bottom: 0;
|
|
|
|
|
padding-left: 20px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.ds-h-aciton-btns-fee {
|
|
|
|
|
display: flex;
|
|
|
|
|