diff --git a/pages/product/addGoodDetail/addGoodDetail.vue b/pages/product/addGoodDetail/addGoodDetail.vue
index efaba34..30fabd8 100644
--- a/pages/product/addGoodDetail/addGoodDetail.vue
+++ b/pages/product/addGoodDetail/addGoodDetail.vue
@@ -729,21 +729,20 @@
let that = this
this.isSet2()
that.formData.delivery_way = that.$store.state.app.userInfo?.mer_info.delivery_way.split(',')
- console.log(that.formData)
- // if (option.product_id) {
- // that.formData.product_id = option.product_id
- // this.mode = 'edit'
- // this.showSet = true
- // productDetail(option.mer_id, option.product_id).then(res => {
- // this.formData = res.data
- // //该死的后端,格式不按添加的格式来
- // this.formData.product_attribute = JSON.parse(this.formData.product_attribute)
- // this.formData.cate_name = this.formData.storeCategory.cate_name
- // this.formData.cate_id = this.formData.storeCategory.store_category_id
- // this.formData.imageList = this.formData.image_list
- // if (!that.formData.imageList) that.formData.imageList = []
- // })
- // }
+ if (option.product_id) {
+ that.formData.product_id = option.product_id
+ this.mode = 'edit'
+ this.showSet = true
+ productDetail(option.mer_id, option.product_id).then(res => {
+ this.formData = res.data
+ //该死的后端,格式不按添加的格式来
+ this.formData.product_attribute = JSON.parse(this.formData.product_attribute)
+ this.formData.cate_name = this.formData.storeCategory.cate_name
+ this.formData.cate_id = this.formData.storeCategory.store_category_id
+ this.formData.imageList = this.formData.image_list
+ if (!that.formData.imageList) that.formData.imageList = []
+ })
+ }
diff --git a/pages/product/list/index.vue b/pages/product/list/index.vue
index 3b5532c..faa6f2b 100644
--- a/pages/product/list/index.vue
+++ b/pages/product/list/index.vue
@@ -56,12 +56,12 @@
-->
-
+
+ :style="{height:[1,7].includes(where.type) ?'410rpx':'336rpx'}">
@@ -98,7 +98,7 @@
+ @click="showOverly=true,xjItem=item" v-if='where.type==6||where.type==5||where.type==7'>
删除
订单{{item.product_order_number}}
-
-
+
+
+