From db96301a4715b1c4f1180095441963ed6f430797 Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期五, 17 一月 2025 11:02:41 +0800 Subject: [PATCH] 开发功能 --- admin/src/views/finance/components/bullDetail.vue | 43 +++++++++++++++++++++++++------------------ 1 files changed, 25 insertions(+), 18 deletions(-) diff --git a/admin/src/views/finance/components/bullDetail.vue b/admin/src/views/finance/components/bullDetail.vue index ac60691..b40909b 100644 --- a/admin/src/views/finance/components/bullDetail.vue +++ b/admin/src/views/finance/components/bullDetail.vue @@ -8,23 +8,26 @@ <el-tag type="success" v-if="info.status === 0">寮�鍚�</el-tag> <el-tag type="info" v-if="info.status === 1">鍏抽棴</el-tag> </div> - <el-button plain type="primary" v-if="![1].includes(info.payStatus)" @click="$refs.flowingWater.open('鍒涘缓鏀舵敮娴佹按', { - billType: returnBillType(), - billId: info.id, - costType: info.costType, - receivableFee: Math.abs(info.needReceivableFee), - costTypeName: returnText(info.costType), - contractCode: info.contractCode, - contractId: info.contractId, - startDate: info.startDate, - endDate: info.endDate, - multifileList: [], - date: `${info.startDate} ~ ${info.endDate}`, - companyId: info.companyId, - companyName: info.companyName, - actReceivableFee: Math.abs(info.needReceivableFee), - needReceivableFeeCopy: info.needReceivableFee - })">鏂板缓鏀舵敮娴佹按</el-button> + <div style="display: flex; align-items: center;"> + <el-button @click="$refs.call.open('鍙戦�佸偓缂撮�氱煡', info)">鍙戦�佺即璐归�氱煡</el-button> + <el-button plain type="primary" v-if="![1].includes(info.payStatus)" @click="$refs.flowingWater.open('鍒涘缓鏀舵敮娴佹按', { + billType: returnBillType(), + billId: info.id, + costType: info.costType, + receivableFee: Math.abs(info.needReceivableFee), + costTypeName: returnText(info.costType), + contractCode: info.contractCode, + contractId: info.contractId, + startDate: info.startDate, + endDate: info.endDate, + multifileList: [], + date: `${info.startDate} ~ ${info.endDate}`, + companyId: info.companyId, + companyName: info.companyName, + actReceivableFee: Math.abs(info.needReceivableFee), + needReceivableFeeCopy: info.needReceivableFee + })">鏂板缓鏀舵敮娴佹按</el-button> + </div> </div> <div class="line"></div> <div class="main"> @@ -190,6 +193,8 @@ <FlowingWater ref="flowingWater" @success="getDetails" @refresh="Refresh" /> <!-- 鍚堝悓璇︽儏 --> <ContractDetail ref="ContractDetailRef" /> + <!-- 鍙戦�佺即璐归�氱煡 --> + <Call ref="call" /> </GlobalWindow> </template> @@ -197,13 +202,15 @@ import GlobalWindow from '@/components/common/GlobalWindow' import BaseOpera from '@/components/base/BaseOpera' import FlowingWater from './flowingWater' +import Call from './call' import ContractDetail from '../../contract/components/contractDetail' import { getYwContractBillById } from '@/api/contract' export default { components: { GlobalWindow, FlowingWater, - ContractDetail + ContractDetail, + Call }, extends: BaseOpera, data() { -- Gitblit v1.9.3