Commit 75d09d96 authored by zhengke's avatar zhengke

修改

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