Commit 45888fdd authored by 黄奎's avatar 黄奎

页面修改

parent 5b9dacd0
...@@ -168,8 +168,6 @@ ...@@ -168,8 +168,6 @@
<el-button type="text" @click="isShowGoods=true">选择商品</el-button> <el-button type="text" @click="isShowGoods=true">选择商品</el-button>
</el-form-item> </el-form-item>
<el-form-item label="动态文案" prop="MaterialInfo"> <el-form-item label="动态文案" prop="MaterialInfo">
<!-- <UeEditor style="width:750px;" :defaultMsg="defaultMsg" :config="config" :IsMultiple="true"
ref="UeEditor1"></UeEditor> -->
<el-input type="textarea" :rows="6" v-model="addMsg.MaterialInfo"></el-input> <el-input type="textarea" :rows="6" v-model="addMsg.MaterialInfo"></el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
...@@ -596,12 +594,13 @@ ...@@ -596,12 +594,13 @@
}, },
//选择商品 //选择商品
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 (this.addMsg.ImgList && this.addMsg.ImgList.length == 0) {
chooseGoods[0].CarouselImageList.forEach(x => { if (chooseGoods && chooseGoods[0].CarouselImageList.length > 0) {
this.addMsg.ImgList.push(x.Path); chooseGoods[0].CarouselImageList.forEach(x => {
}) this.addMsg.ImgList.push(x.Path);
})
}
} }
this.addMsg.GoodsName = chooseGoods[0].Name; this.addMsg.GoodsName = chooseGoods[0].Name;
this.addMsg.GoodsId = chooseGoods[0].Id this.addMsg.GoodsId = chooseGoods[0].Id
......
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