✨ 新增未关联业务员客户列表

This commit is contained in:
caojia
2026-10-29 10:35:24 +08:00
parent d02d3dd881
commit eafc8af89a
9 changed files with 172 additions and 1 deletions
@@ -114,6 +114,15 @@
v-hasPermi="['customersupplier:customerinfo:remove']"
>删除</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="info"
plain
icon="User"
@click="unlinkedSalesDialogVisible = true"
v-hasPermi="['customersupplier:customerinfo:list']"
>未关联业务员</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="warning"
@@ -302,6 +311,8 @@
:customer-name="billCustomer.customerName"
/>
<customer-unlinked-sales-dialog v-model="unlinkedSalesDialogVisible" />
<!-- 右键复制列值 -->
<table-copy-menu
ref="copyMenuRef"
@@ -319,6 +330,7 @@ import { useProducts, parseProductCodes } from '@/components/ProductSelect/usePr
import { useUsers } from '@/components/UserSelect/useUsers'
import CustomerLogDialog from './components/CustomerLogDialog.vue'
import CustomerBillListDialog from './customermoney/CustomerBillListDialog.vue'
import CustomerUnlinkedSalesDialog from './components/CustomerUnlinkedSalesDialog.vue'
import { useColumnSettings } from '@/utils/columnSettings'
const { proxy } = getCurrentInstance()
@@ -531,6 +543,7 @@ function handleCustomerMoney(row) {
/** 在客户信息列表内打开只读账单弹窗 */
const billDialogVisible = ref(false)
const billCustomer = ref({})
const unlinkedSalesDialogVisible = ref(false)
function handleViewBills(row) {
if (!row || !row.customerId) {
proxy.$modal.msgWarning('客户信息无效,无法查看账单')