CRM:完善回款列表

(cherry picked from commit 70bf234133)
This commit is contained in:
YunaiV
2024-02-25 16:52:07 +08:00
committed by shizhong
parent 71125e5b7c
commit 2cfabc3cee
3 changed files with 110 additions and 9 deletions

View File

@ -248,6 +248,7 @@ import ContractForm from './ContractForm.vue'
import { DICT_TYPE } from '@/utils/dict'
import { erpPriceTableColumnFormatter } from '@/utils'
import * as CustomerApi from '@/api/crm/customer'
import { TabsPaneContext } from 'element-plus'
defineOptions({ name: 'CrmContract' })
@ -271,6 +272,12 @@ const exportLoading = ref(false) // 导出的加载中
const activeName = ref('1') // 列表 tab
const customerList = ref<CustomerApi.CustomerVO[]>([]) // 客户列表
/** tab 切换 */
const handleTabClick = (tab: TabsPaneContext) => {
queryParams.sceneType = tab.paneName
handleQuery()
}
/** 查询列表 */
const getList = async () => {
loading.value = true