|
@@ -7,7 +7,7 @@
|
|
<a-row :gutter="15">
|
|
<a-row :gutter="15">
|
|
<a-col :md="5" :sm="24">
|
|
<a-col :md="5" :sm="24">
|
|
<a-form-item label="经销商名称">
|
|
<a-form-item label="经销商名称">
|
|
- <dealerSubareaScopeList placeholder="请输入经销商名称搜索" ref="dealerSubareaScopeList" id="dealerAccountNewList-senderName" @change="custChange" />
|
|
|
|
|
|
+ <dealerSubareaScopeList placeholder="请输入经销商名称搜索" ref="dealerSubareaScopeList" id="dealerAccountNewList-dealerName" @change="custChange" />
|
|
</a-form-item>
|
|
</a-form-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :md="5" :sm="24">
|
|
<a-col :md="5" :sm="24">
|
|
@@ -27,7 +27,7 @@
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :md="4" :sm="24">
|
|
<a-col :md="4" :sm="24">
|
|
<a-button type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="dealerAccountNewList-refresh">查询</a-button>
|
|
<a-button type="primary" @click="$refs.table.refresh(true)" :disabled="disabled" id="dealerAccountNewList-refresh">查询</a-button>
|
|
- <a-button style="margin:0 5px" @click="resetSearchForm" :disabled="disabled" id="dealerAccountNewList-reset">重置</a-button>
|
|
|
|
|
|
+ <a-button style="margin:0 5px;" @click="resetSearchForm" :disabled="disabled" id="dealerAccountNewList-reset">重置</a-button>
|
|
<a-button
|
|
<a-button
|
|
type="primary"
|
|
type="primary"
|
|
v-if="$hasPermissions('B_merchantInfo_export')"
|
|
v-if="$hasPermissions('B_merchantInfo_export')"
|
|
@@ -58,7 +58,7 @@
|
|
bordered>
|
|
bordered>
|
|
<!-- 轮胎补贴金额 -->
|
|
<!-- 轮胎补贴金额 -->
|
|
<template slot="moneyNum" slot-scope="text, record">
|
|
<template slot="moneyNum" slot-scope="text, record">
|
|
- <span v-if="$hasPermissions('B_salesDetail')" class="link-bule" @click="handleDetail(record)">111111111111</span>
|
|
|
|
|
|
+ <span v-if="$hasPermissions('B_salesDetail')" :id="'dealerAccountNewList-tireMoney'+record.id" class="link-bule" @click="handleDetail(record)">111111111111</span>
|
|
<span v-else>111111111111</span>
|
|
<span v-else>111111111111</span>
|
|
</template>
|
|
</template>
|
|
</s-table>
|
|
</s-table>
|
|
@@ -102,7 +102,7 @@ export default {
|
|
columns: [
|
|
columns: [
|
|
{ title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
|
|
{ title: '序号', dataIndex: 'no', width: '4%', align: 'center' },
|
|
{ title: '经销商名称', dataIndex: 'org.name', width: '20%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '经销商名称', dataIndex: 'org.name', width: '20%', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
- { title: '轮胎补贴金额(¥)', scopedSlots: { customRender: 'moneyNum' }, width: '12%', align: 'center' },
|
|
|
|
|
|
+ { title: '轮胎补贴金额(¥)', scopedSlots: { customRender: 'moneyNum' }, width: '12%', align: 'right' },
|
|
{ title: '区域', dataIndex: 'subareaArea.subareaName', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '区域', dataIndex: 'subareaArea.subareaName', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '分区', dataIndex: 'subareaArea.subareaAreaName', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '分区', dataIndex: 'subareaArea.subareaAreaName', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '商户级别', dataIndex: 'dealerLevelDictValue', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '商户级别', dataIndex: 'dealerLevelDictValue', width: '12%', align: 'center', customRender: function (text) { return text || '--' } },
|
|
@@ -131,9 +131,6 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- handleDetail (row) {
|
|
|
|
- this.$router.push({ name: 'dealerAccountDetail', params: { sn: row.tenantSn } })
|
|
|
|
- },
|
|
|
|
// 客户名称 change
|
|
// 客户名称 change
|
|
custChange (val) {
|
|
custChange (val) {
|
|
this.queryParam.dealerSn = val.key
|
|
this.queryParam.dealerSn = val.key
|
|
@@ -148,6 +145,10 @@ export default {
|
|
this.queryParam.dealerType1 = v[0]
|
|
this.queryParam.dealerType1 = v[0]
|
|
this.queryParam.dealerType2 = v[1]
|
|
this.queryParam.dealerType2 = v[1]
|
|
},
|
|
},
|
|
|
|
+ // 轮胎补贴金额 点击跳转详情页
|
|
|
|
+ handleDetail (row) {
|
|
|
|
+ this.$router.push({ name: 'dealerAccountDetail', params: { sn: row.tenantSn } })
|
|
|
|
+ },
|
|
// 重置
|
|
// 重置
|
|
resetSearchForm () {
|
|
resetSearchForm () {
|
|
this.queryParam.dealerSn = undefined
|
|
this.queryParam.dealerSn = undefined
|