Commit 97514dd1 authored by 黄奎's avatar 黄奎

页面修改

parent 044032c9
......@@ -391,7 +391,8 @@
</el-card>
</el-tab-pane>
<el-tab-pane label="阶梯团设置">
<ladderGroup :Goods="addMsg" :GroupList="GroupList" :SpecList="SpecificationList" :PriceList="SpecificationPriceList"></ladderGroup>
<ladderGroup :Goods="addMsg" :GroupList="GroupList" :SpecList="SpecificationList"
:PriceList="SpecificationPriceList"></ladderGroup>
</el-tab-pane>
<el-tab-pane label="分销价设置">
<distributePrice></distributePrice>
......@@ -523,9 +524,10 @@
CardIds: "", //卡券发放
App_share_title: '', //自定义分享标题、
App_share_pic: '', //自定义分享图片
IsCustomSpecification: 2, // 是否自定义规格 1是 2否
},
IsShowSpec: false, //是否显示规格
GroupList:[],//阶梯价格列表
GroupList: [], //阶梯价格列表
SpecificationList: [], //规格列表
SpecificationPriceList: [], //规格价格列表
......@@ -571,7 +573,11 @@
SaveActivity() {
this.addMsg.SpecificationPriceList = this.SpecificationPriceList;
this.addMsg.SpecificationList = this.SpecificationList;
this.addMsg.GroupList=this.GroupList;
this.addMsg.GroupList = this.GroupList;
// 是否自定义规格 1是 2否
if (this.addMsg.SpecificationList && this.addMsg.SpecificationList.length > 0) {
this.addMsg.IsCustomSpecification = 1;
}
this.apipost("/api/GroupBuy/SetGroupbuyActivity", this.addMsg, res => {
console.log("res", res);
if (res.data.resultCode == 1) {
......
......@@ -91,9 +91,9 @@
<td style="width:55px;">
<el-checkbox></el-checkbox>
</td>
<template v-for="headerItem in attrGroups">
<td>{{headerItem.Name}}</td>
</template>
<td v-for="(headerItem,headerIndex) in attrGroups" :key="headerIndex">{{headerItem.Name}}</td>
<td>
<div class="header-require">拼团价</div>
</td>
......@@ -103,13 +103,12 @@
</tr>
</thead>
<tbody>
<tr v-for="item in pinTuanPriceList">
<tr v-for="(item,index) in pinTuanPriceList" :key="index">
<td>
<el-checkbox></el-checkbox>
</td>
<template v-for="(attrItem, attrIndex) in attrGroups">
<td v-if="attrIndex == index2" v-for="(item2, index2) in item.AttrList" :key="index2+'6'">
<td v-if="attrIndex == index2" v-for="(item2, index2) in item.AttrList" :key="index2+6">
{{ item.AttrList[index2].SVName }}
</td>
</template>
......
......@@ -458,7 +458,7 @@
methods: {
//选择图片
SelectId(msg) {
this.bgMsg.data.backgroundPicUrl = msg.url;
this.bgMsg.data.backgroundPicUrl =this.getIconLink(msg.url);
this.choicImg = false;
},
choose(num, position) {
......
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