From 1e6e7c123c0cbb69d13fd4dc041d99671f6231b6 Mon Sep 17 00:00:00 2001 From: mabo Date: Mon, 28 Jun 2021 18:14:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=B7=BB=E5=8A=A0=E5=95=86?= =?UTF-8?q?=E5=93=81=E6=8B=96=E6=8B=BD=E6=94=B9=E5=8F=98=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- manager/src/views/member/list/index.vue | 3 ++- .../goods/goods-seller/goodsOperation.vue | 21 ++++++++----------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/manager/src/views/member/list/index.vue b/manager/src/views/member/list/index.vue index fdffb632..d6a2ba21 100644 --- a/manager/src/views/member/list/index.vue +++ b/manager/src/views/member/list/index.vue @@ -324,7 +324,7 @@ export default { // 已选择用户数据 selectedList: { type: null, - default: "", + default: [], }, }, watch: { @@ -344,6 +344,7 @@ export default { callback(val, index) { this.$set(val, "___selected", !val.___selected); console.log(val.___selected); + console.log(this.selectMember); let findUser = this.selectMember.find((item) => { return item.id == val.id; }); diff --git a/seller/src/views/goods/goods-seller/goodsOperation.vue b/seller/src/views/goods/goods-seller/goodsOperation.vue index 6c4cfca8..bc67ca79 100644 --- a/seller/src/views/goods/goods-seller/goodsOperation.vue +++ b/seller/src/views/goods/goods-seller/goodsOperation.vue @@ -137,7 +137,7 @@ -
+ + + @@ -371,7 +372,7 @@

@@ -874,12 +875,12 @@ export default { editSkuPicture(row) { console.log(row); if (row.images && row.images.length > 0) { - this.previewPicture = row.images[0].url; + this.previewPicture = row.images[0]; } this.selectedSku = row; this.showSkuPicture = true; }, - handleView(url) { + handleView (url) { this.previewPicture = url; this.visible = true; }, @@ -1017,7 +1018,6 @@ export default { ...this.baseInfoForm, ...response.result, }; - // console.warn(this.baseInfoForm); this.baseInfoForm.release = "true"; this.baseInfoForm.recommend = this.baseInfoForm.recommend @@ -1184,10 +1184,7 @@ export default { }, // 编辑规格值 async skuValueChange(val, index, item) { - /** 更新skuInfo数据 */ - // let _arr = cloneObj(item); - // this.$set(item, "name", _arr.name); - // this.$set(this.skuInfo, index, _arr); + /** * 渲染规格详细表格 */