浏览代码

价格策略状态显示

Signed-off-by: hsshuxian <3049816743@qq.com>
hsshuxian 8 月之前
父节点
当前提交
7345bb5ac0
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      ems-ui-cloud/src/views/basecfg/price/index.vue

+ 2 - 2
ems-ui-cloud/src/views/basecfg/price/index.vue

@@ -28,8 +28,8 @@
           <el-table-column label="服务区" align="center" prop="areaName"/>
           <el-table-column label="状态" align="center" width="100">
             <template slot-scope="scope">
-              <el-tag :type="scope.row.areaCode === currentAreaCode ? 'success' : 'info'" disable-transitions>
-                {{ scope.row.areaCode === currentAreaCode ? '生效' : '继承' }}
+              <el-tag :type="scope.$index === attrList.length - 1 ? 'success' : 'info'" disable-transitions>
+                {{ scope.$index === attrList.length - 1 ? '生效' : '继承' }}
               </el-tag>
             </template>
           </el-table-column>