From bf60ee88e2e572340d1e417d7f939d432fba9ab9 Mon Sep 17 00:00:00 2001
From: gyq <875626088@qq.com>
Date: Wed, 6 Mar 2024 17:01:47 +0800
Subject: [PATCH] =?UTF-8?q?1.=E4=BC=98=E5=8C=96=E7=BC=96=E8=BE=91=E5=95=86?=
=?UTF-8?q?=E5=93=81=E8=A7=84=E6=A0=BC=E9=80=89=E6=8B=A9=EF=BC=8C=E5=8F=AA?=
=?UTF-8?q?=E8=83=BD=E9=87=8D=E6=96=B0=E6=B7=BB=E5=8A=A0=202.=E4=BC=98?=
=?UTF-8?q?=E5=8C=96=E5=95=86=E5=93=81=E5=88=97=E8=A1=A8=E6=96=B0=E5=A2=9E?=
=?UTF-8?q?=E5=AD=97=E6=AE=B5shopid=203.=E4=BF=AE=E5=A4=8D=E6=B7=BB?=
=?UTF-8?q?=E5=8A=A0=E5=95=86=E5=93=81=E5=9B=BE=E7=89=87=E4=B8=8D=E7=94=9F?=
=?UTF-8?q?=E6=95=88=204.=E4=BF=AE=E5=A4=8D=E7=94=A8=E6=88=B7=E7=99=BB?=
=?UTF-8?q?=E5=BD=95404?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/shopList/index.vue | 6 +-
src/components/uploadImg/index.vue | 8 +-
src/layout/components/Navbar.vue | 10 ++-
src/router/index.js | 4 +-
src/store/modules/user.js | 5 ++
src/views/product/add_shop.vue | 74 ++++++++++++++-----
.../systemMerchant/components/addPayType.vue | 1 +
src/views/systemMerchant/payTypes.js | 10 +--
src/views/userInfo/{list => }/index.vue | 0
9 files changed, 85 insertions(+), 33 deletions(-)
rename src/views/userInfo/{list => }/index.vue (100%)
diff --git a/src/components/shopList/index.vue b/src/components/shopList/index.vue
index f17351a..21ae13f 100644
--- a/src/components/shopList/index.vue
+++ b/src/components/shopList/index.vue
@@ -6,7 +6,8 @@
-
+
@@ -30,11 +31,13 @@
+
¥{{ scope.row.lowPrice }}
+
0/0
@@ -99,6 +102,7 @@ export default {
const res = await tbProduct({
page: this.tableData.page,
size: this.tableData.size,
+ shopId: localStorage.getItem('shopId'),
sort: 'id',
})
this.tableData.loading = false
diff --git a/src/components/uploadImg/index.vue b/src/components/uploadImg/index.vue
index d5185f4..3f039e5 100644
--- a/src/components/uploadImg/index.vue
+++ b/src/components/uploadImg/index.vue
@@ -1,8 +1,8 @@
+ :list-type="type" :on-preview="handlePictureCardPreview" :multiple="limit > 1" :on-success="handleSuccess"
+ :on-error="handleError" :on-exceed="onExceed" :on-remove="handleRemove">
@@ -63,8 +63,8 @@ export default {
})
},
handleRemove(file, fileList) {
- // console.log(file, fileList);
- this.$emit('remove')
+ let arr = fileList.map(item => item.url)
+ this.$emit('remove', arr)
},
clearFiles() {
this.$refs.upload.clearFiles()
diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index 3de8341..32fbfe0 100644
--- a/src/layout/components/Navbar.vue
+++ b/src/layout/components/Navbar.vue
@@ -1,11 +1,12 @@
-
+