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()