From b5cc5315b0b2136b2a94a71084355eef7cc2b103 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期六, 25 四月 2026 15:15:59 +0800
Subject: [PATCH] 门店修改面面
---
small-program/pages/luggage-storage/luggage-storage.vue | 16 +++++++++++++---
1 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/small-program/pages/luggage-storage/luggage-storage.vue b/small-program/pages/luggage-storage/luggage-storage.vue
index 937f3dc..4e1dcb6 100644
--- a/small-program/pages/luggage-storage/luggage-storage.vue
+++ b/small-program/pages/luggage-storage/luggage-storage.vue
@@ -16,7 +16,7 @@
<scroll-view scroll-y class="page-scroll">
<view class="page-content">
- <view v-if="activeMode === 'local'" class="service-point-card cell-card" @click="openStorePopup">
+ <view v-if="activeMode === 'local'" class="service-point-card cell-card" @click="openStorePopup0">
<view class="cell-left with-icon">
<image class="cell-icon" src="/static/icon/ic_store@2x.png" mode="widthFix"></image>
<view class="store-cell-copy">
@@ -557,9 +557,10 @@
})
try {
const uploadResults = await this.uploadFiles(tempFilePaths, maxCount)
+ const addrs = uploadResults.map(item => item.imgaddr)
const fullPaths = uploadResults.map(item => item.url || item.path || item)
this.uploadedImages = [...this.uploadedImages, ...fullPaths.map(url => ({ url }))]
- this.form.goodsImages = [...this.form.goodsImages, ...fullPaths]
+ this.form.goodsImages = [...this.form.goodsImages, ...addrs]
uni.hideLoading()
uni.showToast({
title: '涓婁紶鎴愬姛',
@@ -617,8 +618,16 @@
this.tempSelectedStoreId = null
this.showStorePopup = true
},
+ openStorePopup0() {
+ this.storePopupType = 'send0'
+ this.tempSelectedStoreId = null
+ this.showStorePopup = true
+ },
confirmStore() {
+
+ console.log("=========================")
const selected = this.storeList.find(item => item.active)
+ console.log(selected)
if (this.storePopupType === 'send') {
this.sendStore = selected
} else if (this.storePopupType === 'receive') {
@@ -877,7 +886,7 @@
orderParams.fromShopId = this.sendStore.id
if (this.receiveStore) {
orderParams.toType = 0
- orderParams.toShopId = this.receiveStore.id
+ orderParams.takeShopId = this.receiveStore.id
orderParams.takeLat = this.receiveStore.latitude
orderParams.takeLgt = this.receiveStore.longitude
orderParams.takeLocation = this.receiveStore.address
@@ -1206,6 +1215,7 @@
display: flex;
align-items: center;
image {
+ flex-shrink: 0;
width: 24rpx;
height: 24rpx;
margin-right: 4rpx;
--
Gitblit v1.9.3