|
@@ -696,9 +696,6 @@ export default {
|
|
}
|
|
}
|
|
this.isShowNextStep = false
|
|
this.isShowNextStep = false
|
|
this.isDisabled = false
|
|
this.isDisabled = false
|
|
- if (this.$refs.setContent) {
|
|
|
|
- this.$refs.setContent.clearContent()
|
|
|
|
- }
|
|
|
|
if (this.$refs.ruleForm) {
|
|
if (this.$refs.ruleForm) {
|
|
this.$refs.ruleForm.resetFields()
|
|
this.$refs.ruleForm.resetFields()
|
|
}
|
|
}
|
|
@@ -753,7 +750,7 @@ export default {
|
|
this.$message.warning('请输入返券金额(需大于0)!')
|
|
this.$message.warning('请输入返券金额(需大于0)!')
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- this.$refs.chooseProduct.editMorePrice(this.sellForm.ruleValue)
|
|
|
|
|
|
+ this.$refs.chooseProductList.editMorePrice(this.sellForm.ruleValue)
|
|
},
|
|
},
|
|
// 添加产品成功
|
|
// 添加产品成功
|
|
addProductSuccess (list) {
|
|
addProductSuccess (list) {
|
|
@@ -771,16 +768,14 @@ export default {
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|
|
this.showProModal = false
|
|
this.showProModal = false
|
|
// 获取产品列表 有分页
|
|
// 获取产品列表 有分页
|
|
- this.$refs.chooseProduct.pageInit()
|
|
|
|
|
|
+ this.$refs.chooseProductList.pageInit()
|
|
}
|
|
}
|
|
})
|
|
})
|
|
-
|
|
|
|
- this.$refs.setContent.setProductSn(productArr)
|
|
|
|
},
|
|
},
|
|
onChangeTree (e) {
|
|
onChangeTree (e) {
|
|
deleteByProductType({ promoActiveSn: this.$route.params.sn, productTypeSnList: this.sellForm.productRangeList || [] }).then(res => {
|
|
deleteByProductType({ promoActiveSn: this.$route.params.sn, productTypeSnList: this.sellForm.productRangeList || [] }).then(res => {
|
|
if (res.status == 200) {
|
|
if (res.status == 200) {
|
|
- this.$refs.chooseProduct.pageInit()
|
|
|
|
|
|
+ this.$refs.chooseProductList.pageInit()
|
|
}
|
|
}
|
|
})
|
|
})
|
|
// 保存产品范围
|
|
// 保存产品范围
|