From fd56908c571668193087e0c3e0949f9c1da61d8e Mon Sep 17 00:00:00 2001 From: Timi Date: Thu, 12 Nov 2026 17:48:51 +0800 Subject: [PATCH] fix: ProductStockCalendar.vue style --- components.d.ts | 1 + .../component/ProductStockCalendar.vue | 291 ++++++++++++++++-- 2 files changed, 260 insertions(+), 32 deletions(-) diff --git a/components.d.ts b/components.d.ts index 95b65d8..66ac3c9 100644 --- a/components.d.ts +++ b/components.d.ts @@ -45,6 +45,7 @@ declare module 'vue' { SegmentedSlider: typeof import('./src/components/SegmentedSlider.vue')['default'] StoreRemoveDialog: typeof import('./src/components/StoreRemoveDialog.vue')['default'] TagSelector: typeof import('./src/components/TagSelector.vue')['default'] + TAvatar: typeof import('tdesign-mobile-vue')['Avatar'] TBadge: typeof import('tdesign-mobile-vue')['Badge'] TButton: typeof import('tdesign-mobile-vue')['Button'] TCalendar: typeof import('tdesign-mobile-vue')['Calendar'] diff --git a/src/pages/product/component/ProductStockCalendar.vue b/src/pages/product/component/ProductStockCalendar.vue index c8b3f79..6631e21 100644 --- a/src/pages/product/component/ProductStockCalendar.vue +++ b/src/pages/product/component/ProductStockCalendar.vue @@ -10,18 +10,38 @@ content="产品规格" @click="selectorVisible = true" > - + @@ -31,45 +51,78 @@ v-model:visible="selectorVisible" @select="selectProduct" /> - -
-
- 入库 - 出库 -
- - + +
+ +
-