From 8bf0b7d34360a2c5d757d51470409439ff3f9f30 Mon Sep 17 00:00:00 2001 From: Timi Date: Wed, 23 Sep 2026 12:53:22 +0800 Subject: [PATCH] fix delivered at now --- .../fulfillment/OrderFulfillmentCreate.vue | 36 +++++++++++++++---- 1 file changed, 29 insertions(+), 7 deletions(-) diff --git a/src/pages/fulfillment/OrderFulfillmentCreate.vue b/src/pages/fulfillment/OrderFulfillmentCreate.vue index 089bc8d..4d1a076 100644 --- a/src/pages/fulfillment/OrderFulfillmentCreate.vue +++ b/src/pages/fulfillment/OrderFulfillmentCreate.vue @@ -81,13 +81,23 @@
- +
+ + +
@@ -373,6 +383,11 @@ function confirmTime(value: string | number): void { pickerVisible.value = false; } +function resetDeliveredAt(): void { + deliveredAtText.value = ""; + draftTime.value = ""; +} + function resolveTimestamp(value: string): number | undefined { if (!value) return undefined; const timestamp = new Date(value.replace(" ", "T")).getTime(); @@ -663,6 +678,13 @@ onUnmounted(() => navBarStore.clearRight()); } } + .time-actions { + gap: .5rem; + display: flex; + align-items: center; + justify-content: flex-end; + } + .tips { font-size: .875rem; }