|
|
|
@ -5,113 +5,115 @@
|
|
|
|
|
-->
|
|
|
|
|
<template>
|
|
|
|
|
<div class="cost-action-bar">
|
|
|
|
|
<a-button type="link" size="mini" @click="addRow">
|
|
|
|
|
<span class="iconfont icon-tianjia" :style="{ fontSize: '12px' }"></span>
|
|
|
|
|
添加
|
|
|
|
|
</a-button>
|
|
|
|
|
<a-button type="link" @click="copyRow">
|
|
|
|
|
<span class="iconfont icon-fuzhi" :style="{ fontSize: '12px' }"></span>
|
|
|
|
|
复制
|
|
|
|
|
</a-button>
|
|
|
|
|
<a-button type="link" @click="save">
|
|
|
|
|
<span class="iconfont icon-icon_baocun" :style="{ fontSize: '12px' }"></span>
|
|
|
|
|
保存
|
|
|
|
|
</a-button>
|
|
|
|
|
<a-popconfirm
|
|
|
|
|
:visible="deleteFlag"
|
|
|
|
|
title="确定要删除勾选的数据?"
|
|
|
|
|
ok-text="确定"
|
|
|
|
|
cancel-text="取消"
|
|
|
|
|
@confirm="deleteRow"
|
|
|
|
|
@cancel="cancelDelete"
|
|
|
|
|
@click="checkDelete"
|
|
|
|
|
>
|
|
|
|
|
<a-button danger type="link" >
|
|
|
|
|
<span class="iconfont icon-shanchu1" :style="{ fontSize: '12px' }"></span>
|
|
|
|
|
删除
|
|
|
|
|
<div>
|
|
|
|
|
<a-popconfirm
|
|
|
|
|
:visible="deleteFlag"
|
|
|
|
|
title="确定要删除勾选的数据?"
|
|
|
|
|
ok-text="确定"
|
|
|
|
|
cancel-text="取消"
|
|
|
|
|
@confirm="deleteRow"
|
|
|
|
|
@cancel="cancelDelete"
|
|
|
|
|
@click="checkDelete"
|
|
|
|
|
>
|
|
|
|
|
<a-button danger type="link" >
|
|
|
|
|
<span class="iconfont icon-shanchu1" :style="{ fontSize: '12px' }"></span>
|
|
|
|
|
删除
|
|
|
|
|
</a-button>
|
|
|
|
|
</a-popconfirm>
|
|
|
|
|
<a-popconfirm
|
|
|
|
|
title="是否取消数据录入?"
|
|
|
|
|
ok-text="确定"
|
|
|
|
|
cancel-text="取消"
|
|
|
|
|
@confirm="cancelEdit"
|
|
|
|
|
>
|
|
|
|
|
<a-button danger type="link">
|
|
|
|
|
<span class="iconfont icon-shanchu" :style="{ fontSize: '12px' }"></span>
|
|
|
|
|
取消
|
|
|
|
|
</a-button>
|
|
|
|
|
</a-popconfirm>
|
|
|
|
|
<a-button type="link" @click="refresh">
|
|
|
|
|
<span class="iconfont icon-shuaxin" :style="{ fontSize: '12px' }"></span>
|
|
|
|
|
刷新
|
|
|
|
|
</a-button>
|
|
|
|
|
</a-popconfirm>
|
|
|
|
|
<a-popconfirm
|
|
|
|
|
title="是否取消数据录入?"
|
|
|
|
|
ok-text="确定"
|
|
|
|
|
cancel-text="取消"
|
|
|
|
|
@confirm="cancelEdit"
|
|
|
|
|
>
|
|
|
|
|
<a-button danger type="link">
|
|
|
|
|
<span class="iconfont icon-shanchu" :style="{ fontSize: '12px' }"></span>
|
|
|
|
|
取消
|
|
|
|
|
<a-dropdown>
|
|
|
|
|
<template #overlay>
|
|
|
|
|
<a-menu>
|
|
|
|
|
<a-sub-menu :title="tbType == 'receive' ? '打印应付账单' : '打印应收账单'">
|
|
|
|
|
<a-menu-item @click="printFee(1)">{{ tbType == 'receive' ? '所选应付打印' : '所选应收打印' }}</a-menu-item>
|
|
|
|
|
<a-menu-item @click="printFee(2)">{{ tbType == 'receive' ? '应付客户打印' : '应收客户打印' }}</a-menu-item>
|
|
|
|
|
<a-menu-item @click="printFee(3)">{{ tbType == 'receive' ? '所有应付打印' : '所有应收打印' }}</a-menu-item>
|
|
|
|
|
</a-sub-menu>
|
|
|
|
|
<a-menu-item @click="feeTem">利润核算单打印</a-menu-item>
|
|
|
|
|
<a-menu-item @click="saveToTem">打印账单</a-menu-item>
|
|
|
|
|
</a-menu>
|
|
|
|
|
</template>
|
|
|
|
|
<a-button type="link">
|
|
|
|
|
<span class="iconfont icon-printing" :style="{ fontSize: '12px' }"></span>
|
|
|
|
|
打印
|
|
|
|
|
</a-button>
|
|
|
|
|
</a-dropdown>
|
|
|
|
|
<a-dropdown>
|
|
|
|
|
<template #overlay>
|
|
|
|
|
<a-menu>
|
|
|
|
|
<a-menu-item @click="submit">提交审核</a-menu-item>
|
|
|
|
|
<a-menu-item @click="submitAll">{{ tbType == 'receive' ? '应收提交' : '应付提交' }}</a-menu-item>
|
|
|
|
|
<a-menu-item>整票提交</a-menu-item>
|
|
|
|
|
<a-menu-item @click="revokeSubmit">撤销提交</a-menu-item>
|
|
|
|
|
<a-menu-item>撤销整票提交</a-menu-item>
|
|
|
|
|
<a-menu-item>申请开票</a-menu-item>
|
|
|
|
|
<a-menu-item>收费申请</a-menu-item>
|
|
|
|
|
<a-menu-item>费用拆分</a-menu-item>
|
|
|
|
|
<a-menu-item @click="openFlowChart">查看工作流</a-menu-item>
|
|
|
|
|
<a-menu-item>批量更改费用对象</a-menu-item>
|
|
|
|
|
<a-menu-item>批量修改核算单位</a-menu-item>
|
|
|
|
|
<a-menu-item>禁开发票</a-menu-item>
|
|
|
|
|
<a-menu-item>费用信息排序</a-menu-item>
|
|
|
|
|
</a-menu>
|
|
|
|
|
</template>
|
|
|
|
|
<a-button type="link">
|
|
|
|
|
提交审核
|
|
|
|
|
<span class="iconfont icon-xia" :style="{ fontSize: '12px' }"></span>
|
|
|
|
|
</a-button>
|
|
|
|
|
</a-dropdown>
|
|
|
|
|
<a-button @click="openApplyModify" type="link">
|
|
|
|
|
申请修改
|
|
|
|
|
</a-button>
|
|
|
|
|
<a-button type="link" @click="deleteApply">
|
|
|
|
|
申请删除
|
|
|
|
|
</a-button>
|
|
|
|
|
<a-button type="link" @click="cancelApply">
|
|
|
|
|
取消申请
|
|
|
|
|
</a-button>
|
|
|
|
|
</a-popconfirm>
|
|
|
|
|
<a-button type="link" @click="refresh">
|
|
|
|
|
<span class="iconfont icon-shuaxin" :style="{ fontSize: '12px' }"></span>
|
|
|
|
|
刷新
|
|
|
|
|
</a-button>
|
|
|
|
|
<a-dropdown>
|
|
|
|
|
<template #overlay>
|
|
|
|
|
<a-menu>
|
|
|
|
|
<a-sub-menu :title="tbType == 'receive' ? '打印应付账单' : '打印应收账单'">
|
|
|
|
|
<a-menu-item @click="printFee(1)">{{ tbType == 'receive' ? '所选应付打印' : '所选应收打印' }}</a-menu-item>
|
|
|
|
|
<a-menu-item @click="printFee(2)">{{ tbType == 'receive' ? '应付客户打印' : '应收客户打印' }}</a-menu-item>
|
|
|
|
|
<a-menu-item @click="printFee(3)">{{ tbType == 'receive' ? '所有应付打印' : '所有应收打印' }}</a-menu-item>
|
|
|
|
|
</a-sub-menu>
|
|
|
|
|
<a-menu-item @click="feeTem">利润核算单打印</a-menu-item>
|
|
|
|
|
<a-menu-item @click="saveToTem">打印账单</a-menu-item>
|
|
|
|
|
</a-menu>
|
|
|
|
|
</template>
|
|
|
|
|
<a-button type="link">
|
|
|
|
|
<span class="iconfont icon-printing" :style="{ fontSize: '12px' }"></span>
|
|
|
|
|
打印
|
|
|
|
|
<a-dropdown>
|
|
|
|
|
<template #overlay>
|
|
|
|
|
<a-menu>
|
|
|
|
|
<a-menu-item @click="history">历史引入</a-menu-item>
|
|
|
|
|
<a-menu-item @click="feeTem">引入费用模版</a-menu-item>
|
|
|
|
|
<a-menu-item @click="saveToTem">保存为费用模版</a-menu-item>
|
|
|
|
|
<a-sub-menu :title="tbType == 'receive' ? '生成应付' : '生成应收'">
|
|
|
|
|
<a-menu-item @click="selectInsert(1)">{{ tbType == 'receive' ? '所选生成应付' : '所选生成应收' }}</a-menu-item>
|
|
|
|
|
<a-menu-item @click="selectInsert(2)">{{ tbType == 'receive' ? '所有生成应付' : '所有生成应收' }}</a-menu-item>
|
|
|
|
|
</a-sub-menu>
|
|
|
|
|
</a-menu>
|
|
|
|
|
</template>
|
|
|
|
|
<a-button type="link">
|
|
|
|
|
引入费用
|
|
|
|
|
<span class="iconfont icon-xia" :style="{ fontSize: '12px' }"></span>
|
|
|
|
|
</a-button>
|
|
|
|
|
</a-dropdown>
|
|
|
|
|
<a-button type="link" size="mini" @click="addRow">
|
|
|
|
|
<span class="iconfont icon-tianjia" :style="{ fontSize: '12px' }"></span>
|
|
|
|
|
添加
|
|
|
|
|
</a-button>
|
|
|
|
|
</a-dropdown>
|
|
|
|
|
<a-dropdown>
|
|
|
|
|
<template #overlay>
|
|
|
|
|
<a-menu>
|
|
|
|
|
<a-menu-item @click="submit">提交审核</a-menu-item>
|
|
|
|
|
<a-menu-item @click="submitAll">{{ tbType == 'receive' ? '应收提交' : '应付提交' }}</a-menu-item>
|
|
|
|
|
<a-menu-item>整票提交</a-menu-item>
|
|
|
|
|
<a-menu-item @click="revokeSubmit">撤销提交</a-menu-item>
|
|
|
|
|
<a-menu-item>撤销整票提交</a-menu-item>
|
|
|
|
|
<a-menu-item>申请开票</a-menu-item>
|
|
|
|
|
<a-menu-item>收费申请</a-menu-item>
|
|
|
|
|
<a-menu-item>费用拆分</a-menu-item>
|
|
|
|
|
<a-menu-item @click="openFlowChart">查看工作流</a-menu-item>
|
|
|
|
|
<a-menu-item>批量更改费用对象</a-menu-item>
|
|
|
|
|
<a-menu-item>批量修改核算单位</a-menu-item>
|
|
|
|
|
<a-menu-item>禁开发票</a-menu-item>
|
|
|
|
|
<a-menu-item>费用信息排序</a-menu-item>
|
|
|
|
|
</a-menu>
|
|
|
|
|
</template>
|
|
|
|
|
<a-button type="link">
|
|
|
|
|
提交审核
|
|
|
|
|
<span class="iconfont icon-xia" :style="{ fontSize: '12px' }"></span>
|
|
|
|
|
<a-button type="link" @click="copyRow">
|
|
|
|
|
<span class="iconfont icon-fuzhi" :style="{ fontSize: '12px' }"></span>
|
|
|
|
|
复制
|
|
|
|
|
</a-button>
|
|
|
|
|
</a-dropdown>
|
|
|
|
|
<a-button @click="openApplyModify" type="link">
|
|
|
|
|
申请修改
|
|
|
|
|
</a-button>
|
|
|
|
|
<a-button type="link" @click="deleteApply">
|
|
|
|
|
申请删除
|
|
|
|
|
</a-button>
|
|
|
|
|
<a-button type="link" @click="cancelApply">
|
|
|
|
|
取消申请
|
|
|
|
|
</a-button>
|
|
|
|
|
<a-dropdown>
|
|
|
|
|
<template #overlay>
|
|
|
|
|
<a-menu>
|
|
|
|
|
<a-menu-item @click="history">历史引入</a-menu-item>
|
|
|
|
|
<a-menu-item @click="feeTem">引入费用模版</a-menu-item>
|
|
|
|
|
<a-menu-item @click="saveToTem">保存为费用模版</a-menu-item>
|
|
|
|
|
<a-sub-menu :title="tbType == 'receive' ? '生成应付' : '生成应收'">
|
|
|
|
|
<a-menu-item @click="selectInsert(1)">{{ tbType == 'receive' ? '所选生成应付' : '所选生成应收' }}</a-menu-item>
|
|
|
|
|
<a-menu-item @click="selectInsert(2)">{{ tbType == 'receive' ? '所有生成应付' : '所有生成应收' }}</a-menu-item>
|
|
|
|
|
</a-sub-menu>
|
|
|
|
|
</a-menu>
|
|
|
|
|
</template>
|
|
|
|
|
<a-button type="link">
|
|
|
|
|
引入费用
|
|
|
|
|
<span class="iconfont icon-xia" :style="{ fontSize: '12px' }"></span>
|
|
|
|
|
<a-button type="link" @click="save">
|
|
|
|
|
<span class="iconfont icon-icon_baocun" :style="{ fontSize: '12px' }"></span>
|
|
|
|
|
保存
|
|
|
|
|
</a-button>
|
|
|
|
|
</a-dropdown>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- 引入历史数据弹窗 -->
|
|
|
|
|
<HistoryDrawer ref="historyDrawer" @submit="submitHistory"></HistoryDrawer>
|
|
|
|
|
<!-- 费用模版弹窗 -->
|
|
|
|
|