|
@@ -183,7 +183,7 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
|
|
|
- <el-table v-loading="loading" :data="annualSaleGoalMergeList" @selection-change="handleSelectionChange">
|
|
|
+ <el-table v-loading="loading" :data="annualSaleGoalMergeList" @selection-change="handleSelectionChange" v-horizontal-scroll>
|
|
|
<el-table-column type="selection" width="55" align="center"/>
|
|
|
<el-table-column label="编码" align="center" prop="code" width="180"/>
|
|
|
<el-table-column label="目标名称" align="center" prop="goalName" width="180"/>
|
|
@@ -344,7 +344,7 @@
|
|
|
</el-row>
|
|
|
<el-tabs v-model="activeName" @tab-click="getNewTwoArray">
|
|
|
<el-tab-pane label="年销售目标合并明细" name="annualSaleGoalMergeDetails">
|
|
|
- <el-table max-height="300" show-summary :summary-method="getSummaries" v-loading="loading" :data="annualSaleGoalMergeDetailsList">
|
|
|
+ <el-table max-height="300" show-summary :summary-method="getSummaries" v-loading="loading" :data="annualSaleGoalMergeDetailsList" v-horizontal-scroll>
|
|
|
<el-table-column label="序号" type="index" width="70" align="center" fixed />
|
|
|
<el-table-column label="销售组织" align="center" width="180">
|
|
|
<template slot-scope="scope">
|
|
@@ -468,7 +468,7 @@
|
|
|
</el-table>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="区域目标汇总(年)" name="zoneGoalSum(year)">
|
|
|
- <el-table max-height="300" show-summary :summary-method="getSummaries" v-loading="loading" :data="areaDetailList">
|
|
|
+ <el-table max-height="300" show-summary :summary-method="getSummaries" v-loading="loading" :data="areaDetailList" v-horizontal-scroll>
|
|
|
<el-table-column label="序号" type="index" width="70" align="center" fixed />
|
|
|
<el-table-column label="销售组织" align="center" width="180">
|
|
|
<template slot-scope="scope">
|
|
@@ -565,7 +565,7 @@
|
|
|
</el-table>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="客户目标汇总(年)" name="customerGoalSum(year)">
|
|
|
- <el-table max-height="300" show-summary :summary-method="getSummaries" v-loading="loading" :data="customerDetailList">
|
|
|
+ <el-table max-height="300" show-summary :summary-method="getSummaries" v-loading="loading" :data="customerDetailList" v-horizontal-scroll>
|
|
|
<el-table-column label="序号" type="index" width="70" align="center" fixed />
|
|
|
<el-table-column label="销售组织" align="center" width="180">
|
|
|
<template slot-scope="scope">
|
|
@@ -1111,7 +1111,7 @@ export default {
|
|
|
/** 删除按钮操作 */
|
|
|
handleDelete(row) {
|
|
|
const ids = row.id || this.ids;
|
|
|
- this.$modal.confirm('是否确认删除年度销售目标明细编号为"' + ids + '"的数据项?').then(function () {
|
|
|
+ this.$modal.confirm('是否确认删除年度销售目标单据编号为"' + row.code + '"的数据项?').then(function () {
|
|
|
return delAnnualSaleGoalMerge(ids);
|
|
|
}).then(() => {
|
|
|
this.getList();
|
|
@@ -1125,7 +1125,7 @@ export default {
|
|
|
this.computeTotal()
|
|
|
} else { // 修改
|
|
|
if (row.id !== null) {
|
|
|
- this.$modal.confirm('是否确认删除年度销售目标明细编号为"' + row.id + '"的数据项?').then(function () {
|
|
|
+ this.$modal.confirm('是否确认删除年度销售目标明细序号为"' + (index + 1) + '"的数据项?').then(function () {
|
|
|
return delAnnualSaleMergeDetails(row.id);
|
|
|
}).then(() => {
|
|
|
this.getListDetails();
|