From b6f401dd0a9d9bfb6c11c07cdcaab967eabb8af1 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期三, 29 四月 2026 17:50:28 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 small-program/pages/luggage-storage/luggage-storage.vue |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/small-program/pages/luggage-storage/luggage-storage.vue b/small-program/pages/luggage-storage/luggage-storage.vue
index 24e9b99..f56b395 100644
--- a/small-program/pages/luggage-storage/luggage-storage.vue
+++ b/small-program/pages/luggage-storage/luggage-storage.vue
@@ -332,6 +332,12 @@
 						</view>
 						<text class="amount-row-value">{{ amountData.distance + 'km' }}</text>
 					</view>
+					<view v-if="activeMode !== 'city' && amountData.days" class="amount-row amount-row-extra">
+						<view class="amount-row-left">
+							<text class="amount-row-label">瀵勫瓨澶╂暟</text>
+						</view>
+						<text class="amount-row-value">{{ amountData.days + '澶�' }}</text>
+					</view>
 					<view v-if="amountData.insuranceFee" class="amount-row amount-row-extra">
 						<view class="amount-row-left">
 							<text class="amount-row-label">鐗╁搧淇濊垂</text>
@@ -762,6 +768,7 @@
 			},
 			async calculateLocalPriceOnly() {
 				if (!this.selectedStore || !this.form.arriveTime || !this.form.pickupTime) {
+					this.amountData = null
 					return
 				}
 				const luggageList = this.luggageTypes
@@ -771,6 +778,7 @@
 						quantity: item.count
 					}))
 				if (luggageList.length === 0) {
+					this.amountData = null
 					return
 				}
 				const res = await this.$u.api.calculateLocalPrice({
@@ -792,9 +800,11 @@
 			},
 			async calculateRemotePrice() {
 				if (!this.sendStore || !this.form.arriveTime || !this.form.pickupTime) {
+					this.amountData = null
 					return
 				}
 				if (!this.receiveStore && !this.receiveAddr) {
+					this.amountData = null
 					return
 				}
 				const luggageList = this.luggageTypes
@@ -804,6 +814,7 @@
 						quantity: item.count
 					}))
 				if (luggageList.length === 0) {
+					this.amountData = null
 					return
 				}
 				let fromLat = ''

--
Gitblit v1.9.3