fix filters style
This commit is contained in:
@@ -188,11 +188,7 @@ import { useCurrentStoreStore } from "@/store/currentStoreStore";
|
|||||||
import { useNavBarStore } from "@/store/navBarStore";
|
import { useNavBarStore } from "@/store/navBarStore";
|
||||||
import type { Customer } from "@/types/Customer";
|
import type { Customer } from "@/types/Customer";
|
||||||
import type { ManagedUser } from "@/types/ManagedUser";
|
import type { ManagedUser } from "@/types/ManagedUser";
|
||||||
import type {
|
import type { FollowUpReminder, FollowUpReminderPage, FollowUpReminderStatus } from "@/types/FollowUpReminder";
|
||||||
FollowUpReminder,
|
|
||||||
FollowUpReminderPage,
|
|
||||||
FollowUpReminderStatus
|
|
||||||
} from "@/types/FollowUpReminder";
|
|
||||||
import { getCustomerPhotoURL } from "@/utils/customer";
|
import { getCustomerPhotoURL } from "@/utils/customer";
|
||||||
import { parseDateTime } from "@/utils/date";
|
import { parseDateTime } from "@/utils/date";
|
||||||
import { gaoRoleCodes, permissionCodes } from "@/utils/permission";
|
import { gaoRoleCodes, permissionCodes } from "@/utils/permission";
|
||||||
@@ -382,18 +378,6 @@ function openResponsibleSelector(): void {
|
|||||||
responsibleSelectorVisible.value = true;
|
responsibleSelectorVisible.value = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
async function clearFilters(): Promise<void> {
|
|
||||||
statusFilter.value = "";
|
|
||||||
dateFilterType.value = "all";
|
|
||||||
dateRange.value = ["", ""];
|
|
||||||
selectedCustomerId.value = "";
|
|
||||||
selectedCustomer.value = undefined;
|
|
||||||
customerSearchKeyword.value = "";
|
|
||||||
selectedResponsibleId.value = "";
|
|
||||||
selectedResponsible.value = undefined;
|
|
||||||
await refresh();
|
|
||||||
}
|
|
||||||
|
|
||||||
// ---------- 列表 ----------
|
// ---------- 列表 ----------
|
||||||
|
|
||||||
const isRefreshing = ref(false);
|
const isRefreshing = ref(false);
|
||||||
|
|||||||
@@ -392,7 +392,6 @@ onUnmounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.list {
|
.list {
|
||||||
padding-top: .75rem;
|
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
|
|
||||||
|
|||||||
@@ -454,7 +454,6 @@ onUnmounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.list {
|
.list {
|
||||||
padding-top: .75rem;
|
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|||||||
@@ -338,7 +338,6 @@ onUnmounted(() => {
|
|||||||
min-height: 70vh;
|
min-height: 70vh;
|
||||||
|
|
||||||
.list {
|
.list {
|
||||||
padding-top: .75rem;
|
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|||||||
@@ -547,7 +547,6 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
<style scoped lang="less">
|
<style scoped lang="less">
|
||||||
.product-stock-record-list {
|
.product-stock-record-list {
|
||||||
gap: .75rem;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
padding: var(--app-nav-height) 0 1rem;
|
padding: var(--app-nav-height) 0 1rem;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
@@ -585,7 +584,6 @@ onUnmounted(() => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.list-wrap {
|
.list-wrap {
|
||||||
gap: 1rem;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
||||||
|
|||||||
@@ -333,7 +333,6 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
.list-wrap {
|
.list-wrap {
|
||||||
min-height: 70vh;
|
min-height: 70vh;
|
||||||
padding-top: .75rem;
|
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
|
|||||||
@@ -553,10 +553,6 @@ onUnmounted(() => navBarStore.clearRight());
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.t-pull-down-refresh) {
|
|
||||||
padding-top: .75rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.item {
|
.item {
|
||||||
|
|
||||||
.avatar {
|
.avatar {
|
||||||
|
|||||||
Reference in New Issue
Block a user