|
@@ -68,9 +68,9 @@
|
|
|
class="sfaStoreChainsContactList"
|
|
class="sfaStoreChainsContactList"
|
|
|
v-for="(item, index) in sfaStoreChainsContactList"
|
|
v-for="(item, index) in sfaStoreChainsContactList"
|
|
|
:key="index">
|
|
:key="index">
|
|
|
- {{ item.CategoryName }}
|
|
|
|
|
- {{ item.CustomerCode }}
|
|
|
|
|
- {{ item.CustomerName }}
|
|
|
|
|
|
|
+ {{ item.categoryDescribe }}
|
|
|
|
|
+ {{ item.chainCode }}
|
|
|
|
|
+ {{ item.chainName }}
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
<template v-else>
|
|
<template v-else>
|
|
@@ -525,7 +525,7 @@
|
|
|
}">
|
|
}">
|
|
|
<i class="van-icon van-icon-success"></i>
|
|
<i class="van-icon van-icon-success"></i>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="value">{{ val.CustomerCode }} {{ val.CustomerName }}</div>
|
|
|
|
|
|
|
+ <div class="value">{{ val.chainCode }} {{ val.chainName }}</div>
|
|
|
</div>
|
|
</div>
|
|
|
<van-empty description="" v-if="item.children.length == 0" />
|
|
<van-empty description="" v-if="item.children.length == 0" />
|
|
|
</div>
|
|
</div>
|
|
@@ -1964,7 +1964,7 @@ export default {
|
|
|
for (let x = 0; x < this.treeSelect.length; x++) {
|
|
for (let x = 0; x < this.treeSelect.length; x++) {
|
|
|
// 设置左侧选中图标
|
|
// 设置左侧选中图标
|
|
|
let activate = this.activatedTCFXList.find((item) => {
|
|
let activate = this.activatedTCFXList.find((item) => {
|
|
|
- return item.CategoryCode == this.treeSelect[x].code;
|
|
|
|
|
|
|
+ return item.categoryCode == this.treeSelect[x].code;
|
|
|
});
|
|
});
|
|
|
this.treeSelect[x].dot = activate ? true : false;
|
|
this.treeSelect[x].dot = activate ? true : false;
|
|
|
// 右侧选中返现
|
|
// 右侧选中返现
|
|
@@ -1972,7 +1972,7 @@ export default {
|
|
|
if (children) {
|
|
if (children) {
|
|
|
for (let y = 0; y < children.length; y++) {
|
|
for (let y = 0; y < children.length; y++) {
|
|
|
let activate = this.activatedTCFXList.find((item) => {
|
|
let activate = this.activatedTCFXList.find((item) => {
|
|
|
- return children[y].CustomerCode == item.CustomerCode;
|
|
|
|
|
|
|
+ return children[y].chainCode == item.chainCode;
|
|
|
});
|
|
});
|
|
|
if (activate) {
|
|
if (activate) {
|
|
|
children[y].Check = true;
|
|
children[y].Check = true;
|
|
@@ -1996,7 +1996,7 @@ export default {
|
|
|
// 右侧数据点击
|
|
// 右侧数据点击
|
|
|
treeSelectItemClick(itemData, index, val, ind) {
|
|
treeSelectItemClick(itemData, index, val, ind) {
|
|
|
itemData.children.forEach((item) => {
|
|
itemData.children.forEach((item) => {
|
|
|
- if (val.CustomerCode == item.CustomerCode) {
|
|
|
|
|
|
|
+ if (val.chainCode == item.chainCode) {
|
|
|
item.Check = !item.Check;
|
|
item.Check = !item.Check;
|
|
|
// 设置左侧选中图标
|
|
// 设置左侧选中图标
|
|
|
itemData.dot = item.Check;
|
|
itemData.dot = item.Check;
|