|
|
@@ -397,12 +397,22 @@
|
|
|
label="紧急联系人电话" />
|
|
|
</div>
|
|
|
</template>
|
|
|
- <template v-for="(item, index) in TCFXList" v-if="dictTypeFormShow" v-else>
|
|
|
- <van-field
|
|
|
- readonly
|
|
|
- label="属性"
|
|
|
- v-if="item.dictValue == list.tcfxName"
|
|
|
- v-model="item.text" />
|
|
|
+ <template v-else>
|
|
|
+ <template v-for="(item, index) in TCFXList" v-if="dictTypeFormShow">
|
|
|
+ <van-field
|
|
|
+ readonly
|
|
|
+ label="属性"
|
|
|
+ v-if="item.dictValue == list.tcfxName"
|
|
|
+ v-model="item.text" />
|
|
|
+ </template>
|
|
|
+ <template>
|
|
|
+ <van-field readonly label="主营竞品品牌" v-model="storeCompetitorList" />
|
|
|
+ <van-field
|
|
|
+ v-if="list.otherCompetitor"
|
|
|
+ readonly
|
|
|
+ label="其他"
|
|
|
+ v-model="list.otherCompetitor" />
|
|
|
+ </template>
|
|
|
</template>
|
|
|
</van-tab>
|
|
|
</van-tabs>
|
|
|
@@ -707,6 +717,7 @@ export default {
|
|
|
orderList: [],
|
|
|
cityABStore: false, //同城分销A/B店
|
|
|
displayImg: [],
|
|
|
+ storeCompetitorList: '',
|
|
|
};
|
|
|
},
|
|
|
watch: {
|
|
|
@@ -825,7 +836,7 @@ export default {
|
|
|
styleId: 'abc',
|
|
|
position: new TMap.LatLng(
|
|
|
this.maplist[val].location.lat,
|
|
|
- this.maplist[val].location.lng
|
|
|
+ this.maplist[val].location.lng,
|
|
|
),
|
|
|
},
|
|
|
]);
|
|
|
@@ -1384,6 +1395,11 @@ export default {
|
|
|
this.lon = res.data.lon;
|
|
|
}
|
|
|
this.list = res.data;
|
|
|
+ if (this.list.storeCompetitorList) {
|
|
|
+ this.storeCompetitorList = this.list.storeCompetitorList.join(',');
|
|
|
+ } else {
|
|
|
+ this.list.storeCompetitorList = [];
|
|
|
+ }
|
|
|
if (this.list.imgSed && this.list.imgSed != '') {
|
|
|
this.displayImg = this.list.imgSed.split(',');
|
|
|
} else {
|