style: 样式修改.

bugfix: customer选择页面弹窗触发错误.
This commit is contained in:
2025-12-29 10:46:00 +08:00
parent 8c2f4ca6e6
commit 9c41bf4711
6 changed files with 54 additions and 48 deletions

View File

@@ -147,6 +147,7 @@ const onScroll = (e: Event) => {
// 打开customer选择时关闭profile弹窗 如果不是点击confirem关闭则重新打开profile弹窗
const handleShowPopup = (flag: boolean) => {
showSwitchCustomerPopup.value = flag
if(props.isCustomer) return
show.value = !flag
if (flag) {
loadCustomers(true)
@@ -178,15 +179,15 @@ const handleFetchCustomerList = () => {
}
MyEvent.add('update-customer-list', handleFetchCustomerList)
const openSwitchCustomerPopup = (flag = true) => {
showSwitchCustomerPopup.value = flag
}
// const openSwitchCustomerPopup = (flag = true) => {
// showSwitchCustomerPopup.value = flag
// }
onMounted(() => {
handleFetchCustomerList()
})
defineExpose({ open, close, openSwitchCustomerPopup })
defineExpose({ open, close, handleShowPopup })
</script>
<template>