diff --git a/src/views/activity/combination/form.vue b/src/views/activity/combination/form.vue index 42dbec8..5a22fa2 100644 --- a/src/views/activity/combination/form.vue +++ b/src/views/activity/combination/form.vue @@ -6,22 +6,22 @@ - + - + - + - + @@ -382,7 +382,8 @@ export default { }, 'form1.good': { handler(val,oldVal){ - this.getInfoChooseGood (val.cform.id) + console.log(val) + this.getInfoChooseGood (val.productId) }, }, }, @@ -390,6 +391,9 @@ export default { this.getInfo(); }, methods: { + onInput(){ + this.$forceUpdate(); + }, confirm () { let that = this; that.createBnt = true; diff --git a/src/views/activity/seckill/form.vue b/src/views/activity/seckill/form.vue index cc30561..6925628 100644 --- a/src/views/activity/seckill/form.vue +++ b/src/views/activity/seckill/form.vue @@ -6,22 +6,22 @@ - + - + - + - + @@ -394,6 +394,9 @@ export default { }) }, methods: { + onInput(){ + this.$forceUpdate(); + }, confirm () { let that = this; that.createBnt = true; diff --git a/src/views/components/good/index.vue b/src/views/components/good/index.vue index 402c73f..d6f5cbe 100644 --- a/src/views/components/good/index.vue +++ b/src/views/components/good/index.vue @@ -116,8 +116,9 @@ export default { that.$set(that.value,"productId", null) that.$set(that.value,"storeName", null) that.$set(that.value,"image", null) - this.$set(this.value,"otPrice", null) - this.$set(this.value,"price", null) + that.$set(that.value,"otPrice", null) + that.$set(that.value,"price", null) + that.$set(that.value,"cform",null) }) }, doSelect(data) {