Commit c34d330f authored by 黄奎's avatar 黄奎

页面修改

parent e0b9430e
......@@ -128,7 +128,7 @@
<i class="elzk el-tooltip el-icon-info"></i>
</el-tooltip>
</template>
<goodsSpe :SpecList="SpecificationList">
<goodsSpe v-show="IsShowSpec" :SpecList="SpecificationList">
</goodsSpe>
</el-form-item>
......@@ -428,6 +428,7 @@
App_share_title: '', //自定义分享标题、
App_share_pic: '', //自定义分享图片
},
IsShowSpec:false,//是否显示规格
SpecificationList:[],//规格列表
rules: {
......@@ -462,6 +463,7 @@
//选择商品
getGoodsChoice() {
this.isShowGoods = false;
this.IsShowSpec=false;
var chooseGoods = this.$refs.choiceGood.getChoicedGoods();
console.log("chooseGoods",chooseGoods);
if(chooseGoods&&chooseGoods.length>0)
......@@ -475,7 +477,8 @@
this.addMsg.Goods_unit=chooseGoods[0].DefaultSpecificationName;
this.addMsg.Goods_no=chooseGoods[0].GoodsNumbers;
this.addMsg.Goods_weight=chooseGoods[0].GoodsWeight;
this.SpecificationList=choiceGood[0].SpecificationList;
this.SpecificationList=chooseGoods[0].SpecificationList;
this.IsShowSpec=true;
}
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