Commit 84a142b3 by Lin

feat(financeManage): 优化财务列表视图和添加对账下载对话框

- 修改financeList.vue,调整业务场景列的显示逻辑,确保更清晰的用户体验。
- 新增下载对账对话框组件,提升财务管理功能的完整性。
- 更新相关数据绑定和状态管理,确保对话框的可见性控制。
1 parent f8325b32
...@@ -175,7 +175,15 @@ ...@@ -175,7 +175,15 @@
align="center"> align="center">
</el-table-column> --> </el-table-column> -->
<!-- 仅会员权益场景显示 --> <!-- 仅会员权益场景显示 -->
<el-table-column v-if="searchForm.sceneType == 0" prop="businessType" label="所属业务" align="center"> <!-- <el-table-column v-if="searchForm.sceneType == 0" prop="businessType" label="所属业务" align="center">
<template slot-scope="scope">
<span v-if="scope.row.businessType">{{
scope.row.businessType == "2" ? "延保" : "权益"
}}</span>
<span v-else>-</span>
</template>
</el-table-column> -->
<el-table-column prop="businessType" label="业务场景" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<span v-if="scope.row.businessType">{{ <span v-if="scope.row.businessType">{{
scope.row.businessType == "2" ? "延保" : "权益" scope.row.businessType == "2" ? "延保" : "权益"
...@@ -463,6 +471,7 @@ ...@@ -463,6 +471,7 @@
<el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="page.currentPage" :page-sizes="[10, 20, 30, 40]" :page-size="page.pageSize" :total="total" layout="sizes,total,->,prev,pager,next,jumper" /> <el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page="page.currentPage" :page-sizes="[10, 20, 30, 40]" :page-size="page.pageSize" :total="total" layout="sizes,total,->,prev,pager,next,jumper" />
</div> </div>
<download-account-dialog :account-visible="accountVisible" v-if="accountVisible" :scene="searchForm.sceneType" @custTmpl="handleCustTmpl" @handleBill="handleBill" @accountClose="accountClose" /> <download-account-dialog :account-visible="accountVisible" v-if="accountVisible" :scene="searchForm.sceneType" @custTmpl="handleCustTmpl" @handleBill="handleBill" @accountClose="accountClose" />
<download-reconci-dialog :account-visible="reconciVisible" v-if="reconciVisible" :scene="searchForm.sceneType" @custTmpl="handleCustTmpl" @handleBill="handleBill" @accountClose="reconciClose" />
<!-- 出库面板 --> <!-- 出库面板 -->
<warehouse-detail v-if="warehouseVisible" :warehouse-visible="warehouseVisible" :order-info-id="orderId" @handleDrawerClose="handleDrawerClose" /> <warehouse-detail v-if="warehouseVisible" :warehouse-visible="warehouseVisible" :order-info-id="orderId" @handleDrawerClose="handleDrawerClose" />
<d2-file-import-dialog :is-visible="fileVisible" <d2-file-import-dialog :is-visible="fileVisible"
...@@ -495,6 +504,7 @@ import { ...@@ -495,6 +504,7 @@ import {
BaseData BaseData
} from "@/common/constants" } from "@/common/constants"
import downloadAccountDialog from "./downloadAccountDialog" import downloadAccountDialog from "./downloadAccountDialog"
import downloadReconciDialog from "./downloadReconciDialog"
import warehouseDetail from "./warehouseDetail" import warehouseDetail from "./warehouseDetail"
import tmplDrawer from "./components/TmplDrawer" import tmplDrawer from "./components/TmplDrawer"
import SystemBillDialog from "./components/SystemBillDialog" import SystemBillDialog from "./components/SystemBillDialog"
...@@ -506,7 +516,8 @@ export default { ...@@ -506,7 +516,8 @@ export default {
downloadAccountDialog, downloadAccountDialog,
warehouseDetail, warehouseDetail,
tmplDrawer, tmplDrawer,
SystemBillDialog SystemBillDialog,
downloadReconciDialog
}, },
data() { data() {
...@@ -717,6 +728,7 @@ export default { ...@@ -717,6 +728,7 @@ export default {
upgradeTransfer: "" upgradeTransfer: ""
}, },
accountVisible: false, accountVisible: false,
reconciVisible: false,
warehouseVisible: false, warehouseVisible: false,
orderId: "", orderId: "",
outboundStatusShow: { outboundStatusShow: {
...@@ -994,7 +1006,7 @@ export default { ...@@ -994,7 +1006,7 @@ export default {
this.accountVisible = !this.accountVisible this.accountVisible = !this.accountVisible
}, },
downloadSystemAccount() { downloadSystemAccount() {
this.accountVisible = !this.accountVisible this.reconciVisible = !this.reconciVisible
}, },
// 查看明细 // 查看明细
handleDetail(data) { handleDetail(data) {
...@@ -1263,6 +1275,11 @@ export default { ...@@ -1263,6 +1275,11 @@ export default {
this.tmplDrawerVisible = !this.tmplDrawerVisible this.tmplDrawerVisible = !this.tmplDrawerVisible
}, },
reconciClose(isRefresh) {
this.reconciVisible = !this.reconciVisible
// isRefresh && this.handleSearch()
},
// 自定义模版字段 // 自定义模版字段
handleCustTmpl(val) { handleCustTmpl(val) {
console.log(val, 'val---') console.log(val, 'val---')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!