Commit 75d09d96 authored by zhengke's avatar zhengke

修改

parent 09c04b78
...@@ -501,13 +501,14 @@ ...@@ -501,13 +501,14 @@
}, },
//选择商品 //选择商品
getGoodsChoice() { getGoodsChoice() {
this.addMsg.ImgList=[];
var chooseGoods = this.$refs.choiceGood.getChoicedGoods(); var chooseGoods = this.$refs.choiceGood.getChoicedGoods();
if(chooseGoods&&chooseGoods[0].CarouselImageList.length>0){ if(chooseGoods&&chooseGoods[0].CarouselImageList.length>0){
chooseGoods[0].CarouselImageList.forEach(x=>{ chooseGoods[0].CarouselImageList.forEach(x=>{
this.addMsg.ImgList.push(x.Path); this.addMsg.ImgList.push(x.Path);
}) })
} }
this.GoodsName = chooseGoods[0].Name; this.addMsg.GoodsName = chooseGoods[0].Name;
this.addMsg.GoodsId = chooseGoods[0].Id this.addMsg.GoodsId = chooseGoods[0].Id
this.isShowGoods = false; this.isShowGoods = false;
this.$refs.choiceGood.toggleSelection(); this.$refs.choiceGood.toggleSelection();
......
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