|
|
@ -1,96 +1,110 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<div class="CsMain p-4" id="detail">
|
|
|
|
<div class="CsMain p-4" id="detail">
|
|
|
|
<div class="buttonBox">
|
|
|
|
<div class="buttonBox">
|
|
|
|
<div class="nav" @click="Save"> <i class="iconfont icon-icon_baocun"></i>保存</div>
|
|
|
|
<!-- <div @click="Save"> <i class="iconfont icon-icon_baocun"></i>保存</div> -->
|
|
|
|
<div class="nav" @click="waitFor"> <i class="iconfont icon-printing"></i>标准打印</div>
|
|
|
|
<!-- <div @click="waitFor"> <i class="iconfont icon-printing"></i>标准打印</div> -->
|
|
|
|
<!-- <div class="nav" @click="waitFor"> <i class="iconfont icon-dayinxiaopiao"></i>模板打印</div> -->
|
|
|
|
<!-- <div @click="waitFor"> <i class="iconfont icon-icon_baocun"></i>保存并关闭</div> -->
|
|
|
|
<div class="nav" @click="waitFor"> <i class="iconfont icon-icon_baocun"></i>保存并关闭</div>
|
|
|
|
|
|
|
|
<div class="nav" @click="waitFor"> <i class="iconfont icon-icon_baocun"></i>保存并新建</div>
|
|
|
|
<!-- <div > <i class="iconfont icon-jiahao2fill"></i>费用提交审核</div> -->
|
|
|
|
<div class="nav" @click="Lock">
|
|
|
|
<div class="left">
|
|
|
|
<Icon icon="ant-design:lock-outlined" class="iconfont" />
|
|
|
|
<a-button type="link" @click="Lock">
|
|
|
|
锁定
|
|
|
|
<span class="iconfont icon-locksuo IconColor"></span>
|
|
|
|
</div>
|
|
|
|
锁定
|
|
|
|
<div class="nav" @click="UnLock">
|
|
|
|
</a-button>
|
|
|
|
<Icon icon="ant-design:unlock-outlined" class="iconfont" />
|
|
|
|
<a-button type="link" @click="UnLock">
|
|
|
|
撤销锁定
|
|
|
|
<span class="iconfont icon-lock-openkaisuo IconColor"></span>
|
|
|
|
|
|
|
|
撤销锁定
|
|
|
|
|
|
|
|
</a-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="nav"> <i class="iconfont icon-jiahao2fill"></i>费用提交审核</div>
|
|
|
|
<a-button type="link" @click="addDetail">
|
|
|
|
|
|
|
|
<span class="iconfont icon-new_document"></span>
|
|
|
|
|
|
|
|
新建
|
|
|
|
|
|
|
|
</a-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<a-tabs v-model:activeKey="activeKey" type="card" class="CsTabs">
|
|
|
|
|
|
|
|
<a-tab-pane key="1" tab="账单明细">
|
|
|
|
|
|
|
|
<a-row class="CsHeader" :gutter="5">
|
|
|
|
|
|
|
|
<a-col :span="24" class="headerForm">
|
|
|
|
|
|
|
|
<a-spin :spinning="spinningT">
|
|
|
|
|
|
|
|
<BasicForm @register="registerForm" />
|
|
|
|
|
|
|
|
</a-spin>
|
|
|
|
|
|
|
|
</a-col>
|
|
|
|
|
|
|
|
</a-row>
|
|
|
|
|
|
|
|
<a-row class="CsBottom" :gutter="5">
|
|
|
|
|
|
|
|
<a-col :span="17" class="bottomTableL">
|
|
|
|
|
|
|
|
<a-spin :spinning="spinningL">
|
|
|
|
|
|
|
|
<BasicTable
|
|
|
|
|
|
|
|
class="ds-table"
|
|
|
|
|
|
|
|
@register="registerTableL"
|
|
|
|
|
|
|
|
@selection-change="selectionChange"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<template #toolbar>
|
|
|
|
|
|
|
|
<div class="buttonGroup">
|
|
|
|
|
|
|
|
<div class="nav" @click="addDetail">
|
|
|
|
|
|
|
|
<i class="iconfont icon-jiahao2fill"></i>增加账单明细
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<a-popconfirm
|
|
|
|
|
|
|
|
title="是否要删除选中数据?"
|
|
|
|
|
|
|
|
ok-text="是"
|
|
|
|
|
|
|
|
cancel-text="否"
|
|
|
|
|
|
|
|
@confirm="DelDetailL"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<div class="nav">
|
|
|
|
|
|
|
|
<i class="iconfont icon-shanchu2"></i>
|
|
|
|
|
|
|
|
删除账单明细
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</a-popconfirm>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <div class="nav" @click="RowClick">
|
|
|
|
<!-- <a-tabs v-model:activeKey="activeKey" type="card" class="CsTabs">
|
|
|
|
<i class="iconfont icon-bianjiwenjian"></i>
|
|
|
|
<a-tab-pane key="1" tab="账单明细"> -->
|
|
|
|
测试 后期改为双击
|
|
|
|
<ActionBar
|
|
|
|
</div> -->
|
|
|
|
:id="route.query.id"
|
|
|
|
</div>
|
|
|
|
temId="1777229219986804736"
|
|
|
|
</template>
|
|
|
|
name="khdz"
|
|
|
|
</BasicTable>
|
|
|
|
:save="Save"
|
|
|
|
</a-spin>
|
|
|
|
></ActionBar>
|
|
|
|
</a-col>
|
|
|
|
<a-row class="CsHeader" :gutter="5">
|
|
|
|
<a-col :span="7" class="bottomTableR">
|
|
|
|
<a-col :span="24" class="headerForm">
|
|
|
|
<a-spin :spinning="spinningR">
|
|
|
|
<a-spin :spinning="spinningT">
|
|
|
|
<BasicTable class="ds-table" @register="registerTableR">
|
|
|
|
<BasicForm @register="registerForm" />
|
|
|
|
<template #toolbar>
|
|
|
|
</a-spin>
|
|
|
|
<div class="buttonGroup">
|
|
|
|
</a-col>
|
|
|
|
<a-popconfirm
|
|
|
|
</a-row>
|
|
|
|
title="是否要删除选中数据?"
|
|
|
|
<!-- <a-row class="CsBottom" :gutter="5">
|
|
|
|
ok-text="是"
|
|
|
|
<a-col :span="24" class="bottomTableL"> -->
|
|
|
|
cancel-text="否"
|
|
|
|
<div class="CsBottom">
|
|
|
|
@confirm="DelDetailR"
|
|
|
|
<div class="bottomTableL">
|
|
|
|
>
|
|
|
|
<a-spin :spinning="spinningL">
|
|
|
|
<div class="nav">
|
|
|
|
<BasicTable
|
|
|
|
<i class="iconfont icon-shanchu2"></i>
|
|
|
|
class="ds-table"
|
|
|
|
删除账单费用明细
|
|
|
|
@register="registerTableL"
|
|
|
|
</div>
|
|
|
|
@selection-change="selectionChange"
|
|
|
|
</a-popconfirm>
|
|
|
|
>
|
|
|
|
|
|
|
|
<template #tableTitle>
|
|
|
|
|
|
|
|
<p class="tableTitle">账单明细</p>
|
|
|
|
|
|
|
|
<a-popconfirm
|
|
|
|
|
|
|
|
title="确定删除当前选中数据?"
|
|
|
|
|
|
|
|
ok-text="是"
|
|
|
|
|
|
|
|
cancel-text="否"
|
|
|
|
|
|
|
|
@confirm="DelDetailL"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<a-button type="link">
|
|
|
|
|
|
|
|
<span class="iconfont icon-shanchu21"></span>
|
|
|
|
|
|
|
|
删除账单明细
|
|
|
|
|
|
|
|
</a-button>
|
|
|
|
|
|
|
|
</a-popconfirm>
|
|
|
|
|
|
|
|
<a-button type="link" @click="waitFor">
|
|
|
|
|
|
|
|
<span class="iconfont icon-fujian"></span>
|
|
|
|
|
|
|
|
附件管理
|
|
|
|
|
|
|
|
</a-button>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
</BasicTable>
|
|
|
|
|
|
|
|
</a-spin>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="bottomTableR">
|
|
|
|
|
|
|
|
<a-spin :spinning="spinningR">
|
|
|
|
|
|
|
|
<BasicTable class="ds-table" @register="registerTableR">
|
|
|
|
|
|
|
|
<template #toolbar>
|
|
|
|
|
|
|
|
<div class="buttonGroup">
|
|
|
|
|
|
|
|
<a-popconfirm
|
|
|
|
|
|
|
|
title="是否要删除选中数据?"
|
|
|
|
|
|
|
|
ok-text="是"
|
|
|
|
|
|
|
|
cancel-text="否"
|
|
|
|
|
|
|
|
@confirm="DelDetailR"
|
|
|
|
|
|
|
|
>
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
<i class="iconfont icon-shanchu2"></i>
|
|
|
|
|
|
|
|
删除账单费用明细
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</a-popconfirm>
|
|
|
|
</BasicTable>
|
|
|
|
</div>
|
|
|
|
</a-spin>
|
|
|
|
</template>
|
|
|
|
</a-col>
|
|
|
|
</BasicTable>
|
|
|
|
</a-row>
|
|
|
|
</a-spin>
|
|
|
|
</a-tab-pane>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- </a-col>
|
|
|
|
|
|
|
|
<a-col :span="24" class="bottomTableR"> -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- </a-col>
|
|
|
|
|
|
|
|
</a-row> -->
|
|
|
|
|
|
|
|
<!-- </a-tab-pane>
|
|
|
|
<a-tab-pane key="2" tab="附件">
|
|
|
|
<a-tab-pane key="2" tab="附件">
|
|
|
|
<BasicTable class="ds-table" @register="registerTableFile">
|
|
|
|
<BasicTable class="ds-table" @register="registerTableFile">
|
|
|
|
<template #toolbar>
|
|
|
|
<template #toolbar>
|
|
|
|
<div class="buttonGroup">
|
|
|
|
<div class="buttonGroup">
|
|
|
|
<div class="nav">
|
|
|
|
<div>
|
|
|
|
<i class="iconfont icon-shanchu2"></i>
|
|
|
|
<i class="iconfont icon-shanchu2"></i>
|
|
|
|
删除
|
|
|
|
删除
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="nav" @click="OpenFileModal">
|
|
|
|
<div @click="OpenFileModal">
|
|
|
|
<i class="iconfont icon-shiyongwendang"></i>
|
|
|
|
<i class="iconfont icon-shiyongwendang"></i>
|
|
|
|
上传附件
|
|
|
|
上传附件
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -98,7 +112,7 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</BasicTable>
|
|
|
|
</BasicTable>
|
|
|
|
</a-tab-pane>
|
|
|
|
</a-tab-pane>
|
|
|
|
</a-tabs>
|
|
|
|
</a-tabs> -->
|
|
|
|
<Info
|
|
|
|
<Info
|
|
|
|
ref="RefInfo"
|
|
|
|
ref="RefInfo"
|
|
|
|
@register="registerAdd"
|
|
|
|
@register="registerAdd"
|
|
|
@ -190,8 +204,8 @@
|
|
|
|
showTableSetting: false,
|
|
|
|
showTableSetting: false,
|
|
|
|
bordered: true,
|
|
|
|
bordered: true,
|
|
|
|
showIndexColumn: true,
|
|
|
|
showIndexColumn: true,
|
|
|
|
canResize: true,
|
|
|
|
// canResize: true,
|
|
|
|
resizeHeightOffset: 35,
|
|
|
|
// resizeHeightOffset: 3500,
|
|
|
|
immediate: false,
|
|
|
|
immediate: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -405,15 +419,20 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|
<style lang="less">
|
|
|
|
<style lang="less">
|
|
|
|
@import url('/@/styles/buttonGroup.scss');
|
|
|
|
|
|
|
|
.CsMain {
|
|
|
|
.CsMain {
|
|
|
|
height: 100%;
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
flex-direction: column;
|
|
|
|
.buttonBox {
|
|
|
|
.buttonBox {
|
|
|
|
background: #fff;
|
|
|
|
display: flex;
|
|
|
|
padding: 5px 10px;
|
|
|
|
// flex: 1;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
.left {
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
> div {
|
|
|
|
|
|
|
|
margin-right: 5px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.CsTabs {
|
|
|
|
.CsTabs {
|
|
|
|
height: calc(100% - 43px);
|
|
|
|
height: calc(100% - 43px);
|
|
|
@ -429,21 +448,62 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.CsHeader {
|
|
|
|
.CsHeader {
|
|
|
|
padding-bottom: 0 !important;
|
|
|
|
padding-bottom: 0 !important;
|
|
|
|
|
|
|
|
margin: 0 0 10px 0 !important;
|
|
|
|
|
|
|
|
border: 1px solid #e8ebed;
|
|
|
|
.headerForm {
|
|
|
|
.headerForm {
|
|
|
|
background: #fff;
|
|
|
|
background: #fff;
|
|
|
|
padding: 10px 15px 0 15px !important;
|
|
|
|
padding: 5px 15px 10px 15px !important;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.CsBottom {
|
|
|
|
.CsBottom {
|
|
|
|
flex: 1;
|
|
|
|
height: calc(100vh - 300px);
|
|
|
|
padding-top: 0 !important;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
// flex: 1;
|
|
|
|
|
|
|
|
// padding-top: 0 !important;
|
|
|
|
.bottomTableL {
|
|
|
|
.bottomTableL {
|
|
|
|
padding-left: 0 !important;
|
|
|
|
height: calc(100vh - 535px);
|
|
|
|
|
|
|
|
border: 1px solid #e8ebed;
|
|
|
|
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.bottomTableR {
|
|
|
|
.bottomTableR {
|
|
|
|
padding-right: 0 !important;
|
|
|
|
height: calc(100vh - 600px);
|
|
|
|
|
|
|
|
border: 1px solid #e8ebed;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.ant-spin-nested-loading {
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
.ant-spin-container {
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
.ds-table {
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
.ant-table-wrapper {
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
.ant-spin-nested-loading {
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
.ant-spin-container {
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
.ant-table {
|
|
|
|
|
|
|
|
height: calc(100% - 30px);
|
|
|
|
|
|
|
|
.ant-table-container {
|
|
|
|
|
|
|
|
height: calc(100% - 54px);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.tableTitle {
|
|
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
|
|
|
letter-spacing: 1px;
|
|
|
|
|
|
|
|
line-height: 15.84px;
|
|
|
|
|
|
|
|
color: rgba(51, 56, 61, 1);
|
|
|
|
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
vertical-align: bottom;
|
|
|
|
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|