|
@@ -29,10 +29,10 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="经销商名称" prop="name" label-width="90px">
|
|
|
+ <el-form-item label="门店名称" prop="name" label-width="90px">
|
|
|
<el-input
|
|
|
v-model="queryParams.name"
|
|
|
- placeholder="请输入经销商名称"
|
|
|
+ placeholder="请输入门店名称"
|
|
|
clearable
|
|
|
size="small"
|
|
|
@keyup.enter.native="handleQuery"
|
|
@@ -99,7 +99,7 @@
|
|
|
disabled
|
|
|
@click="handleAdd"
|
|
|
v-hasPermi="['system:post:add']"
|
|
|
- >添加经销商</el-button>
|
|
|
+ >添加门店</el-button>
|
|
|
</el-col> -->
|
|
|
<el-col :span="1.5">
|
|
|
<el-button
|
|
@@ -109,7 +109,7 @@
|
|
|
size="mini"
|
|
|
@click="handleOrderExport"
|
|
|
v-hasPermi="['business:salesite:export']"
|
|
|
- >导出经销商</el-button
|
|
|
+ >导出门店</el-button
|
|
|
>
|
|
|
</el-col>
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
@@ -117,8 +117,8 @@
|
|
|
|
|
|
<el-table v-loading="loading" :data="siteList" @sort-change="sortChannelId" @selection-change="handleSelectionChange">
|
|
|
<!-- <el-table-column type="selection" width="55" /> -->
|
|
|
- <el-table-column label="经销商编号" sortable="custom" prop="channelId" width="110px"/>
|
|
|
- <el-table-column label="经销商名称" show-overflow-tooltip prop="name" min-width="110px" >
|
|
|
+ <el-table-column label="门店编号" sortable="custom" prop="channelId" width="110px"/>
|
|
|
+ <el-table-column label="门店名称" show-overflow-tooltip prop="name" min-width="110px" >
|
|
|
<template slot-scope="scope">
|
|
|
<pre>{{scope.row.name}}</pre>
|
|
|
</template>
|
|
@@ -262,7 +262,7 @@ export default {
|
|
|
showSearch: true,
|
|
|
// 总条数
|
|
|
total: 0,
|
|
|
- // 经销商表格数据
|
|
|
+ // 门店表格数据
|
|
|
siteList: [],
|
|
|
// 弹出层标题
|
|
|
title: "",
|
|
@@ -301,7 +301,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
methods: {
|
|
|
- /** 查询经销商列表 */
|
|
|
+ /** 查询门店列表 */
|
|
|
getList() {
|
|
|
this.loading = true;
|
|
|
listSaleSite('pageNum='+this.pageParams.pageNum + '&pageSize='+this.pageParams.pageSize+'&orderByColumn='+ this.pageParams.orderByColumn +'&isAsc='+ this.pageParams.isAsc +'&',this.queryParams).then(response => {
|
|
@@ -345,7 +345,7 @@ export default {
|
|
|
|
|
|
// 导出订单
|
|
|
handleOrderExport() {
|
|
|
- this.$confirm("是否确认导出经销商?", "提示", {
|
|
|
+ this.$confirm("是否确认导出门店?", "提示", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
type: "warning",
|
|
@@ -473,7 +473,7 @@ export default {
|
|
|
handleStatusChange(row) {
|
|
|
var newStatus = this.getValue(row.status) == 2?1:2
|
|
|
let text = this.getValue(row.status) == 2 ? "启用" : "停用";
|
|
|
- this.$confirm('确认要"' + text + '""' + row.name + '"经销商吗?', "警告", {
|
|
|
+ this.$confirm('确认要"' + text + '""' + row.name + '"门店吗?', "警告", {
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
type: "warning"
|