|
@@ -315,7 +315,7 @@
|
|
|
<promotion-show-modal ref="showModal" :openModal="openShowModal" @close="openShowModal = false"></promotion-show-modal>
|
|
|
<!-- 添加产品 -->
|
|
|
<chooseProduct
|
|
|
- ref="chooseProduct"
|
|
|
+ ref="chooseProductList"
|
|
|
:chooseType="chooseTypeList"
|
|
|
:openModal="showProModal"
|
|
|
@ok="addProductSuccess"
|
|
@@ -547,9 +547,6 @@ export default {
|
|
|
}
|
|
|
this.isShowNextStep = false
|
|
|
this.isDisabled = false
|
|
|
- if (this.$refs.setContent) {
|
|
|
- this.$refs.setContent.clearContent()
|
|
|
- }
|
|
|
if (this.$refs.ruleForm) {
|
|
|
this.$refs.ruleForm.resetFields()
|
|
|
}
|
|
@@ -622,11 +619,8 @@ export default {
|
|
|
this.$refs.chooseProduct.pageInit()
|
|
|
}
|
|
|
})
|
|
|
-
|
|
|
- this.$refs.setContent.setProductSn(productArr)
|
|
|
},
|
|
|
onChangeTree (e) {
|
|
|
- s
|
|
|
deleteByProductType({ promoActiveSn: this.$route.params.sn, productTypeSnList: this.sellForm.productRangeList || [] }).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
this.$refs.chooseProduct.pageInit()
|