Browse Source

去掉商品首页添加活动商品

master
xuwenbo 4 years ago
parent
commit
97855e60fd
  1. 46
      src/views/shop/goods/index.vue

46
src/views/shop/goods/index.vue

@ -81,18 +81,6 @@
</div>
<el-button slot="reference" type="danger" icon="el-icon-delete" size="mini">删除</el-button>
</el-popover>
<el-dropdown size="mini" split-button type="primary" trigger="click">
操作
<el-dropdown-menu slot="dropdown">
<el-dropdown-item>
<el-button
size="mini"
type="warning"
@click="editE(scope.row)"
>开启砍价</el-button>
</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
</template>
</el-table-column>
</el-table>
@ -284,40 +272,6 @@ export default {
}
_this.dialog = true
},
editE(data) {
this.isAdd = false
const _this = this.$refs.form5
_this.form = {
productId: data.id,
merId: data.merId,
image: data.image,
images: data.sliderImage,
imageArr: data.image.split(','),
sliderImageArr: data.sliderImage.split(','),
title: data.storeName,
info: data.storeInfo,
postage: data.postage,
unitName: data.unitName,
sort: data.sort,
sales: data.sales,
stock: data.stock,
isShow: data.isShow,
status: 1,
isHot: data.isHot,
description: data.description,
isPostage: data.isPostage,
people: 0,
price: 0.01,
effectiveTime: 24,
otPrice: data.otPrice,
cost: data.cost,
num: 1,
giveIntegral: 0,
isDel: 0,
browse: 0
}
_this.dialog = true
},
attr(data) {
console.log(3333)
this.isAttr = false

Loading…
Cancel
Save