Commit 253daaa9 authored by 黄奎's avatar 黄奎

页面修改

parent 775d6b6e
......@@ -622,7 +622,8 @@
<template v-if="addMsg.SeparateDistribution == 1">
<el-form-item label="分销类型">
<el-radio v-model="addMsg.SeparateDistributionType" :label="1">普通设置</el-radio>
<el-radio @change="butionType" v-model="addMsg.SeparateDistributionType" :label="2" style="display:none;">详细设置</el-radio>
<el-radio @change="butionType" v-model="addMsg.SeparateDistributionType" :label="2"
style="display:none;">详细设置</el-radio>
</el-form-item>
<el-form-item label="分销佣金类型">
<el-radio v-model="addMsg.SeparateDistributionMoneyType" :label="2">固定金额</el-radio>
......@@ -1264,18 +1265,14 @@
},
methods: {
setMemberData() {
if (this.memberList1 && this.memberList1.length > 0 && this.addMsg.MemberPriceTreeList && this.addMsg
.MemberPriceTreeList.length > 0) {
if (this.memberList1 && this.memberList1.length > 0 && this.addMsg.MemberPriceList && this.addMsg
.MemberPriceList.length > 0) {
this.memberList1.forEach(mItem => {
if (mItem.GradePriceList && mItem.GradePriceList.length > 0) {
mItem.GradePriceList.forEach(gItem => {
this.addMsg.MemberPriceTreeList.forEach(pItem => {
if (pItem.GradePriceList && pItem.GradePriceList.length > 0) {
pItem.GradePriceList.forEach(subItem => {
if (gItem.MemberGrade == subItem.MemberGrade) {
gItem.MemberPrice = subItem.MemberPrice;
}
})
this.addMsg.MemberPriceList.forEach(pItem => {
if (gItem.MemberGrade == pItem.MemberGrade) {
gItem.MemberPrice = pItem.MemberPrice;
}
});
})
......@@ -2128,7 +2125,7 @@
ico: ""
}
}
console.log(this.Stores,'Stores');
console.log(this.Stores, 'Stores');
this.getSuggestPrice();
this.getFXDGradeList2();
this.getTree();
......@@ -2341,7 +2338,7 @@
}
},
watch: {
"addMsg.MemberPriceTreeList"(val) {
"addMsg.MemberPriceList"(val) {
this.setMemberData();
}
}
......
......@@ -60,7 +60,7 @@
</el-table-column>
<el-table-column prop="Id" width="80" sortable label="ID">
</el-table-column>
<el-table-column prop="Remark" label="分类">
<el-table-column prop="Remark" width="150" label="分类">
<template slot-scope="scope">
<el-tag size="mini" v-if="scope.row.CategoryList && scope.row.CategoryList.length>0">
{{scope.row.CategoryList[0].CategoryName}}</el-tag>
......@@ -117,7 +117,7 @@
</el-table-column>
<el-table-column prop="StoreNameList" label="所属门店">
<template slot-scope="scope">
<el-tag v-if="scope.row.StoreNameList && scope.row.StoreNameList.length>0" style="margin-top:5px;"
<el-tag v-if="scope.row.StoreNameList && scope.row.StoreNameList.length>0" style="margin-top:5px;margin-left:5px;"
v-for="(subItem,subIndex) in scope.row.StoreNameList" :key="subIndex">
{{subItem}}
</el-tag>
......
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