去掉商品首页添加活动商品
This commit is contained in:
@ -81,18 +81,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<el-button slot="reference" type="danger" icon="el-icon-delete" size="mini">删除</el-button>
|
<el-button slot="reference" type="danger" icon="el-icon-delete" size="mini">删除</el-button>
|
||||||
</el-popover>
|
</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>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@ -284,40 +272,6 @@ export default {
|
|||||||
}
|
}
|
||||||
_this.dialog = true
|
_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) {
|
attr(data) {
|
||||||
console.log(3333)
|
console.log(3333)
|
||||||
this.isAttr = false
|
this.isAttr = false
|
||||||
|
Reference in New Issue
Block a user