From a3832c1a1f4007b0276e1448c820d3441a08dd4a Mon Sep 17 00:00:00 2001 From: xuwenbo <717567226@qq.com> Date: Tue, 8 Sep 2020 23:26:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=84=E4=BB=B6=E7=BB=91=E5=AE=9A=E5=A4=AA?= =?UTF-8?q?=E6=B7=B1=E5=AF=BC=E8=87=B4=E4=B8=8D=E8=83=BD=E5=88=B7=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/activity/combination/form.vue | 14 +++++++++----- src/views/activity/seckill/form.vue | 11 +++++++---- src/views/components/good/index.vue | 5 +++-- 3 files changed, 19 insertions(+), 11 deletions(-) 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) {