| | |
| | | }) |
| | | 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: '上传成功', |
| | |
| | | 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 |
| | |
| | | display: flex; |
| | | align-items: center; |
| | | image { |
| | | flex-shrink: 0; |
| | | width: 24rpx; |
| | | height: 24rpx; |
| | | margin-right: 4rpx; |