diff --git a/src/views/crm/business/BusinessForm.vue b/src/views/crm/business/BusinessForm.vue index 6b03047b..4af1abe0 100644 --- a/src/views/crm/business/BusinessForm.vue +++ b/src/views/crm/business/BusinessForm.vue @@ -101,7 +101,7 @@ @@ -123,7 +123,7 @@ disabled v-model="formData.totalPrice" placeholder="请输入商机金额" - :formatter="erpPriceTableColumnFormatter" + :formatter="erpPriceInputFormatter" /> @@ -142,7 +142,7 @@ import * as CustomerApi from '@/api/crm/customer' import * as UserApi from '@/api/system/user' import { useUserStore } from '@/store/modules/user' import BusinessProductForm from './components/BusinessProductForm.vue' -import { erpPriceMultiply, erpPriceTableColumnFormatter } from '@/utils' +import { erpPriceMultiply, erpPriceInputFormatter } from '@/utils' const { t } = useI18n() // 国际化 const message = useMessage() // 消息弹窗 diff --git a/src/views/crm/contract/ContractForm.vue b/src/views/crm/contract/ContractForm.vue index 9c5b2c6a..db2eec9b 100644 --- a/src/views/crm/contract/ContractForm.vue +++ b/src/views/crm/contract/ContractForm.vue @@ -159,7 +159,7 @@ @@ -181,7 +181,7 @@ disabled v-model="formData.totalPrice" placeholder="请输入商机金额" - :formatter="erpPriceTableColumnFormattere" + :formatter="erpPriceInputFormatter" /> @@ -199,7 +199,7 @@ import * as ContractApi from '@/api/crm/contract' import * as UserApi from '@/api/system/user' import * as ContactApi from '@/api/crm/contact' import * as BusinessApi from '@/api/crm/business' -import { erpPriceMultiply, erpPriceTableColumnFormatter } from '@/utils' +import { erpPriceMultiply, erpPriceInputFormatter } from '@/utils' import { useUserStore } from '@/store/modules/user' import ContractProductForm from '@/views/crm/contract/components/ContractProductForm.vue'