|
|
@ -5,113 +5,115 @@
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<div class="cost-action-bar">
|
|
|
|
<div class="cost-action-bar">
|
|
|
|
<a-button type="link" size="mini" @click="addRow">
|
|
|
|
<div>
|
|
|
|
<span class="iconfont icon-tianjia" :style="{ fontSize: '12px' }"></span>
|
|
|
|
<a-popconfirm
|
|
|
|
添加
|
|
|
|
:visible="deleteFlag"
|
|
|
|
</a-button>
|
|
|
|
title="确定要删除勾选的数据?"
|
|
|
|
<a-button type="link" @click="copyRow">
|
|
|
|
ok-text="确定"
|
|
|
|
<span class="iconfont icon-fuzhi" :style="{ fontSize: '12px' }"></span>
|
|
|
|
cancel-text="取消"
|
|
|
|
复制
|
|
|
|
@confirm="deleteRow"
|
|
|
|
</a-button>
|
|
|
|
@cancel="cancelDelete"
|
|
|
|
<a-button type="link" @click="save">
|
|
|
|
@click="checkDelete"
|
|
|
|
<span class="iconfont icon-icon_baocun" :style="{ fontSize: '12px' }"></span>
|
|
|
|
>
|
|
|
|
保存
|
|
|
|
<a-button danger type="link" >
|
|
|
|
</a-button>
|
|
|
|
<span class="iconfont icon-shanchu1" :style="{ fontSize: '12px' }"></span>
|
|
|
|
<a-popconfirm
|
|
|
|
删除
|
|
|
|
:visible="deleteFlag"
|
|
|
|
</a-button>
|
|
|
|
title="确定要删除勾选的数据?"
|
|
|
|
</a-popconfirm>
|
|
|
|
ok-text="确定"
|
|
|
|
<a-popconfirm
|
|
|
|
cancel-text="取消"
|
|
|
|
title="是否取消数据录入?"
|
|
|
|
@confirm="deleteRow"
|
|
|
|
ok-text="确定"
|
|
|
|
@cancel="cancelDelete"
|
|
|
|
cancel-text="取消"
|
|
|
|
@click="checkDelete"
|
|
|
|
@confirm="cancelEdit"
|
|
|
|
>
|
|
|
|
>
|
|
|
|
<a-button danger type="link" >
|
|
|
|
<a-button danger type="link">
|
|
|
|
<span class="iconfont icon-shanchu1" :style="{ fontSize: '12px' }"></span>
|
|
|
|
<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-button>
|
|
|
|
</a-popconfirm>
|
|
|
|
<a-dropdown>
|
|
|
|
<a-popconfirm
|
|
|
|
<template #overlay>
|
|
|
|
title="是否取消数据录入?"
|
|
|
|
<a-menu>
|
|
|
|
ok-text="确定"
|
|
|
|
<a-sub-menu :title="tbType == 'receive' ? '打印应付账单' : '打印应收账单'">
|
|
|
|
cancel-text="取消"
|
|
|
|
<a-menu-item @click="printFee(1)">{{ tbType == 'receive' ? '所选应付打印' : '所选应收打印' }}</a-menu-item>
|
|
|
|
@confirm="cancelEdit"
|
|
|
|
<a-menu-item @click="printFee(2)">{{ tbType == 'receive' ? '应付客户打印' : '应收客户打印' }}</a-menu-item>
|
|
|
|
>
|
|
|
|
<a-menu-item @click="printFee(3)">{{ tbType == 'receive' ? '所有应付打印' : '所有应收打印' }}</a-menu-item>
|
|
|
|
<a-button danger type="link">
|
|
|
|
</a-sub-menu>
|
|
|
|
<span class="iconfont icon-shanchu" :style="{ fontSize: '12px' }"></span>
|
|
|
|
<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-button>
|
|
|
|
</a-popconfirm>
|
|
|
|
<a-dropdown>
|
|
|
|
<a-button type="link" @click="refresh">
|
|
|
|
<template #overlay>
|
|
|
|
<span class="iconfont icon-shuaxin" :style="{ fontSize: '12px' }"></span>
|
|
|
|
<a-menu>
|
|
|
|
刷新
|
|
|
|
<a-menu-item @click="history">历史引入</a-menu-item>
|
|
|
|
</a-button>
|
|
|
|
<a-menu-item @click="feeTem">引入费用模版</a-menu-item>
|
|
|
|
<a-dropdown>
|
|
|
|
<a-menu-item @click="saveToTem">保存为费用模版</a-menu-item>
|
|
|
|
<template #overlay>
|
|
|
|
<a-sub-menu :title="tbType == 'receive' ? '生成应付' : '生成应收'">
|
|
|
|
<a-menu>
|
|
|
|
<a-menu-item @click="selectInsert(1)">{{ tbType == 'receive' ? '所选生成应付' : '所选生成应收' }}</a-menu-item>
|
|
|
|
<a-sub-menu :title="tbType == 'receive' ? '打印应付账单' : '打印应收账单'">
|
|
|
|
<a-menu-item @click="selectInsert(2)">{{ tbType == 'receive' ? '所有生成应付' : '所有生成应收' }}</a-menu-item>
|
|
|
|
<a-menu-item @click="printFee(1)">{{ tbType == 'receive' ? '所选应付打印' : '所选应收打印' }}</a-menu-item>
|
|
|
|
</a-sub-menu>
|
|
|
|
<a-menu-item @click="printFee(2)">{{ tbType == 'receive' ? '应付客户打印' : '应收客户打印' }}</a-menu-item>
|
|
|
|
</a-menu>
|
|
|
|
<a-menu-item @click="printFee(3)">{{ tbType == 'receive' ? '所有应付打印' : '所有应收打印' }}</a-menu-item>
|
|
|
|
</template>
|
|
|
|
</a-sub-menu>
|
|
|
|
<a-button type="link">
|
|
|
|
<a-menu-item @click="feeTem">利润核算单打印</a-menu-item>
|
|
|
|
引入费用
|
|
|
|
<a-menu-item @click="saveToTem">打印账单</a-menu-item>
|
|
|
|
<span class="iconfont icon-xia" :style="{ fontSize: '12px' }"></span>
|
|
|
|
</a-menu>
|
|
|
|
</a-button>
|
|
|
|
</template>
|
|
|
|
</a-dropdown>
|
|
|
|
<a-button type="link">
|
|
|
|
<a-button type="link" size="mini" @click="addRow">
|
|
|
|
<span class="iconfont icon-printing" :style="{ fontSize: '12px' }"></span>
|
|
|
|
<span class="iconfont icon-tianjia" :style="{ fontSize: '12px' }"></span>
|
|
|
|
打印
|
|
|
|
添加
|
|
|
|
</a-button>
|
|
|
|
</a-button>
|
|
|
|
</a-dropdown>
|
|
|
|
<a-button type="link" @click="copyRow">
|
|
|
|
<a-dropdown>
|
|
|
|
<span class="iconfont icon-fuzhi" :style="{ fontSize: '12px' }"></span>
|
|
|
|
<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-button>
|
|
|
|
</a-dropdown>
|
|
|
|
<a-button type="link" @click="save">
|
|
|
|
<a-button @click="openApplyModify" type="link">
|
|
|
|
<span class="iconfont icon-icon_baocun" :style="{ fontSize: '12px' }"></span>
|
|
|
|
申请修改
|
|
|
|
保存
|
|
|
|
</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>
|
|
|
|
</a-button>
|
|
|
|
</a-dropdown>
|
|
|
|
</div>
|
|
|
|
<!-- 引入历史数据弹窗 -->
|
|
|
|
<!-- 引入历史数据弹窗 -->
|
|
|
|
<HistoryDrawer ref="historyDrawer" @submit="submitHistory"></HistoryDrawer>
|
|
|
|
<HistoryDrawer ref="historyDrawer" @submit="submitHistory"></HistoryDrawer>
|
|
|
|
<!-- 费用模版弹窗 -->
|
|
|
|
<!-- 费用模版弹窗 -->
|
|
|
|