Commit 68779bae by lixiaomin

修改店铺商品信息特惠bug

parent 7bf4d85a
...@@ -69,8 +69,7 @@ export default { ...@@ -69,8 +69,7 @@ export default {
price : null, price : null,
discount : null, discount : null,
type : null, type : null,
recommendPrice:null, recommendPrice:null
recommendTagList:[]
}, },
open: false, open: false,
tagValues:"", tagValues:"",
...@@ -159,10 +158,9 @@ export default { ...@@ -159,10 +158,9 @@ export default {
this.form.goodsId = data.id this.form.goodsId = data.id
this.form.price = data.price this.form.price = data.price
this.form.discount = data.discount this.form.discount = data.discount
this.form.type = 2 this.form.type = 2;
this.form.recommendPrice=data.recommendPrice this.recommendTagList=[];
this.goodsTagList=data.goodsTagList; this.goodsTagList=data.goodsTagList;
this.recommendTagList=data.recommendTagList;
if(this.goodsTagList.length>0){ if(this.goodsTagList.length>0){
for(let i=0;i<this.goodsTagList.length;i++){ for(let i=0;i<this.goodsTagList.length;i++){
this.goodsTagValue=this.goodsTagValue+this.goodsTagList[i]; this.goodsTagValue=this.goodsTagValue+this.goodsTagList[i];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment