Commit 0c6e26ab by Kyle_Li

update: update

parent d27bd78a
......@@ -11,14 +11,14 @@
<el-form :model="form" label-width="110px">
<el-form-item label="门店名称">{{ form.storeName || '--' }}</el-form-item>
<el-form-item label="指标额">
{{ form.perfromanceValue }}
{{ parseFloat(form.performanceValue).toFixed(2) }}
<el-button type="text" @click="dialogVisible=true">修改</el-button>
</el-form-item>
<el-form-item label="指标类型">业绩指标日权重</el-form-item>
<el-form-item label="">
<div class="content-data">
<span class="color2">月指标:¥ </span>
<span class="color1">100,000</span>
<span class="color1">{{ parseFloat(form.performanceValue).toFixed(2) }}</span>
<span class="color2">日指标总和:¥ </span>
<span class="color1" :style="{ color: totalDayTarget > monthTarget ? '#F5222D' : '#606266' }">{{ parseFloat(totalDayTarget).toFixed(2) }}</span>
</div>
......
......@@ -8,7 +8,7 @@
-->
<!-- -->
<template>
<div class="common-app-right" style="padding: 0" v-loading="loading">
<div class="common-app-right" style="padding: 0">
<el-tabs v-model="activeName" @tab-click="getData">
<el-tab-pane label="已设置指标门店" name="0"></el-tab-pane>
<el-tab-pane label="未设置指标门店" name="1"></el-tab-pane>
......@@ -89,6 +89,7 @@
<el-table
:data="tableData"
:loading="loading"
style="width: 100%"
ref="multipleTable"
@selection-change="handleSelectionChange">
......@@ -304,7 +305,8 @@ export default {
// 门店分组change
checkGroupIds(nodes) {
console.log(nodes);
this.search.storeParam = nodes.map(item => item[this.form.storeType === '1' ? 'storeGroupId' : 'tagId']).join(',');
this.search.storeParam = nodes.map(item => item[this.search.storeType === '1' ? 'storeGroupId' : 'storeTagId']).join(',');
this.searchChange();
},
storeChange() {
this.search.storeParam = '';
......
......@@ -7,7 +7,7 @@
* @LastEditTime: 2020-11-09 10:40:34
-->
<template>
<div class="common-app-right" v-loading="loading">
<div class="common-app-right">
<div class="list-content">
<div class="content-search">
......@@ -73,6 +73,7 @@
<el-table
:data="tableData"
:loading="loading"
style="width: 100%"
ref="multipleTable"
@selection-change="handleSelectionChange">
......@@ -94,7 +95,7 @@
{{ [ '业绩', '新增会员' ][tab - 1] }}指标
</template>
<template slot-scope="{row}">
{{ row.perfromanceValue ? `¥${row.perfromanceValue}` : '--' }}
{{ row.performanceValue ? `¥${row.performanceValue}` : '--' }}
</template>
</el-table-column>
<el-table-column label="日指标" show-overflow-tooltip>
......@@ -147,7 +148,7 @@
performanceType: row.performanceType,
storeInfoId: row.storeInfoId,
storeName: row.storeName,
perfromanceValue: row.perfromanceValue,
performanceValue: row.performanceValue,
flag: row.clerkFlag == 1
}
})">
......@@ -165,7 +166,7 @@
performanceType: row.performanceType,
storeInfoId: row.storeInfoId,
storeName: row.storeName,
perfromanceValue: row.perfromanceValue,
performanceValue: row.performanceValue,
flag: row.dayFlag == 1
}
})">
......@@ -321,7 +322,8 @@ export default {
// 门店分组change
checkGroupIds(nodes) {
console.log(nodes);
this.search.storeParam = nodes.map(item => item[this.form.storeType === '1' ? 'storeGroupId' : 'tagId']).join(',');
this.search.storeParam = nodes.map(item => item[this.search.storeType === '1' ? 'storeGroupId' : 'storeTagId']).join(',');
this.searchChange();
},
storeChange() {
this.search.storeParam = '';
......
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