Commit 17f95e04 by zhu_yu_dan

添加会员制度里中循环中的key

parent a7f3fa23
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -8,9 +8,9 @@
<div class="attention-wrap member-task-contain">
<!-- tab panel -->
<div class="outer-contain">
<template v-for="(taskrow,index) in companyGroupTask">
<template v-for="(taskrow,index) in companyGroupTask" >
<template v-if="taskrow.item.length">
<el-row class="row-task-cell" v-for="(taskchild,ind) in taskrow.item">
<el-row class="row-task-cell" v-for="(taskchild,ind) in taskrow.item" :key="idx">
<el-col :span="8">
{{taskchild.missionItemName}}
</el-col>
......@@ -87,7 +87,7 @@
</div>
<div class="merchant-contain padding-0" v-for="(evaItem,index) in evaluateData">
<div class="merchant-contain padding-0" v-for="(evaItem,index) in evaluateData" :key="index">
<!-- 订单 -->
<div>
<el-row class="order-evaluate-row row-thead">
......@@ -98,7 +98,7 @@
</div></el-col>
<el-col :span="8"><div class=""><el-switch v-model="evaItem.status" @change="merchantOrderSwitch($event,index,evaItem,'all')"></el-switch></div></el-col>
</el-row>
<el-row class="order-evaluate-row" v-for="(bodyItem,ind) in evaItem.enterpriseMissonList">
<el-row class="order-evaluate-row" v-for="(bodyItem,ind) in evaItem.enterpriseMissonList" :key="ind">
<el-col :span="8"><div class="">{{bodyItem.brandName}}</div></el-col>
<el-col :span="8">
<div class="">
......@@ -112,7 +112,7 @@
</div>
<!-- 额外十字评语 -->
<div class="merchant-contain padding-0" v-for="(evaItem,index) in evaluateTextData">
<div class="merchant-contain padding-0" v-for="(evaItem,index) in evaluateTextData" :key="index">
<div>
<el-row class="order-evaluate-row row-thead">
<el-col :span="8"><div class="">{{evaItem.missionItemName}}</div></el-col>
......@@ -131,7 +131,7 @@
</el-col>
<el-col :span="8"><div class=""><el-switch v-model="evaItem.status" @change="merchantOrderSwitch($event,index,evaItem,'all')"></el-switch></div></el-col>
</el-row>
<el-row class="order-evaluate-row" v-for="(bodyItem,ind) in evaItem.enterpriseMissonList">
<el-row class="order-evaluate-row" v-for="(bodyItem,ind) in evaItem.enterpriseMissonList" :key="ind">
<el-col :span="8"><div class="">{{bodyItem.brandName}}</div></el-col>
<el-col :span="8">
<div class="">
......
......@@ -20,8 +20,8 @@
<el-form-item label="选择商户">
<el-select v-model="ruleForm.cliqueEnterpriseIds" placeholder="请选择" multiple >
<el-option
v-for="item in mechantOption"
v-for="(item,ind) in mechantOption"
:key="ind"
:label="item.label"
:value="item.value">
</el-option>
......
......@@ -127,7 +127,8 @@
<template slot-scope="scope">
<el-select size="small" v-model="scope.row.selectedGradeId" placeholder="请选择" @change="changeCardLevel($event,scope.row)">
<el-option
v-for="item in scope.row.gradeList"
v-for="(item,ind) in scope.row.gradeList"
:key="ind"
:label="item.gradeName"
:value="item.gradeId">
</el-option>
......
......@@ -69,7 +69,8 @@
@focus="searchFocus(index,item)"
>
<el-option
v-for="item in storeListOptions"
v-for="(item,ind) in storeListOptions"
:key="ind"
:label="item.value"
:value="item.key">
</el-option>
......@@ -138,8 +139,8 @@
<el-form-item label="选择商户">
<el-select v-model="item.enterpriseRelationIdArr" placeholder="请选择" multiple >
<el-option
v-for="item in mechantOption"
v-for="(item,ind) in mechantOption"
:key="ind"
:label="item.label"
:value="item.value">
</el-option>
......
......@@ -129,7 +129,8 @@
<template slot-scope="scope">
<el-select size="small" v-model="scope.row.selectedGradeId" placeholder="请选择" @change="changeCardLevel($event,scope.row)">
<el-option
v-for="item in scope.row.gradeList"
v-for="(item,ind) in scope.row.gradeList"
:key="ind"
:label="item.gradeName"
:value="item.gradeId">
</el-option>
......
......@@ -35,8 +35,8 @@
<el-form-item label="选择商户">
<el-select v-model="item.enterpriseRelationIdArr" placeholder="请选择" multiple >
<el-option
v-for="item in mechantOption"
v-for="(item,ind) in mechantOption"
:key="ind"
:label="item.label"
:value="item.value">
</el-option>
......
......@@ -68,8 +68,8 @@
@focus="searchFocus(index,item)"
>
<el-option
v-for="item in storeListOptions"
v-for="(item,ind) in storeListOptions"
:key="ind"
:label="item.value"
:value="item.key">
</el-option>
......@@ -144,8 +144,8 @@
<el-form-item label="选择商户">
<el-select v-model="item.enterpriseRelationIdArr" placeholder="请选择" multiple >
<el-option
v-for="item in mechantOption"
v-for="(item,ind) in mechantOption"
:key="ind"
:label="item.label"
:value="item.value">
</el-option>
......
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