文件路径: views/product/addProduct/index.vue


代码:
// 修改积分方式
updateDeduction(e) {
this.formValidate.integral_rate = e
},文件路径: views/product/addProduct/components/productMarket.vue




代码:
// 切换积分抵扣
changeIntergral(e) {
this.$emit('updateDeduction', e);
}
