From cd22e26589dc13854defab3854e9ca0daeeeccc8 Mon Sep 17 00:00:00 2001 From: qsh <> Date: Thu, 7 Nov 2024 10:42:43 +0800 Subject: [PATCH] sc --- src/views/Home/Comp/DialogSalerReportDetail.vue | 17 +++++++++++++---- src/views/Home/SalesReport.vue | 12 ++++++++++-- 2 files changed, 23 insertions(+), 6 deletions(-) diff --git a/src/views/Home/Comp/DialogSalerReportDetail.vue b/src/views/Home/Comp/DialogSalerReportDetail.vue index e15be40..89f6e84 100644 --- a/src/views/Home/Comp/DialogSalerReportDetail.vue +++ b/src/views/Home/Comp/DialogSalerReportDetail.vue @@ -24,7 +24,7 @@ @change="sourceChange" /> - + - + - + @@ -98,6 +104,9 @@ import { set } from 'lodash-es' import * as reportApi from '@/api/home/reportSaler' import { getIntDictOptions } from '@/utils/dict' import { removeNullField } from '@/utils' +import { useAppStore } from '@/store/modules/app' + +const appStore = useAppStore() const props = defineProps({ licenseTypeOptions: { @@ -362,7 +371,7 @@ const setReportData = async (data) => { personDetail.payPriceOfSingleSign, personDetail.costOfSingleClue, personDetail.netProfitOfSingleSign, - averageDetail.signRate + personDetail.signRate // personDetail.clueCostTotal, // personDetail.payPriceTotal, // personDetail.profitTotal diff --git a/src/views/Home/SalesReport.vue b/src/views/Home/SalesReport.vue index f1cbdfc..f36563e 100644 --- a/src/views/Home/SalesReport.vue +++ b/src/views/Home/SalesReport.vue @@ -26,7 +26,7 @@ placeholder="请选择渠道" /> - + 成交数 - + @@ -132,7 +138,9 @@ import { removeNullField } from '@/utils' import { formatDate } from '@/utils/formatTime' import { handleTree } from '@/utils/tree' import { getIntDictOptions } from '@/utils/dict' +import { useAppStore } from '@/store/modules/app' +const appStore = useAppStore() onMounted(() => { getOptions() handleReset()