|
@@ -2,7 +2,7 @@
|
|
<a-card size="small" :bordered="false" class="actualSalesReportList-wrap">
|
|
<a-card size="small" :bordered="false" class="actualSalesReportList-wrap">
|
|
<a-spin :spinning="spinning" tip="Loading...">
|
|
<a-spin :spinning="spinning" tip="Loading...">
|
|
<!-- 搜索条件 -->
|
|
<!-- 搜索条件 -->
|
|
- <div class="table-page-search-wrapper">
|
|
|
|
|
|
+ <div class="table-page-search-wrapper newTableSearchName">
|
|
<a-form-model
|
|
<a-form-model
|
|
id="actualSalesReportList-form"
|
|
id="actualSalesReportList-form"
|
|
ref="ruleForm"
|
|
ref="ruleForm"
|
|
@@ -33,41 +33,35 @@
|
|
allowClear></v-select>
|
|
allowClear></v-select>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
|
|
+ <a-col :md="6" :sm="24">
|
|
|
|
+ <a-form-model-item label="所在区域">
|
|
|
|
+ <subarea id="actualSalesReportList-allocateTypeSn" v-model="queryParam.dealer.subareaSn"></subarea>
|
|
|
|
+ </a-form-model-item>
|
|
|
|
+ </a-col>
|
|
<template v-if="advanced">
|
|
<template v-if="advanced">
|
|
- <a-col :md="6" :sm="24">
|
|
|
|
- <a-form-model-item label="所在区域">
|
|
|
|
- <subarea id="actualSalesReportList-allocateTypeSn" v-model="queryParam.dealer.subareaSn"></subarea>
|
|
|
|
- </a-form-model-item>
|
|
|
|
- </a-col>
|
|
|
|
<a-col :md="12" :sm="24">
|
|
<a-col :md="12" :sm="24">
|
|
<a-row>
|
|
<a-row>
|
|
- <a-form-model-item label="地区" style="margin-bottom: 0!important;">
|
|
|
|
|
|
+ <a-form-model-item label="地区" >
|
|
<a-col span="7">
|
|
<a-col span="7">
|
|
- <a-form-model-item prop="dealerProvinceSn" style="margin: 0;">
|
|
|
|
- <a-select v-model="queryParam.dealer.provinceSn" allowClear @change="getCityList" placeholder="请选择省">
|
|
|
|
- <a-select-option v-for="item in addrProvinceList" :value="item.id" :key="item.id + 'a'">{{ item.name }}</a-select-option>
|
|
|
|
- </a-select>
|
|
|
|
- </a-form-model-item>
|
|
|
|
|
|
+ <a-select v-model="queryParam.dealer.provinceSn" allowClear @change="getCityList" placeholder="请选择省">
|
|
|
|
+ <a-select-option v-for="item in addrProvinceList" :value="item.id" :key="item.id + 'a'">{{ item.name }}</a-select-option>
|
|
|
|
+ </a-select>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col span="7" offset="1">
|
|
<a-col span="7" offset="1">
|
|
- <a-form-model-item prop="dealerCitySn" style="margin: 0;">
|
|
|
|
- <a-select v-model="queryParam.dealer.citySn" allowClear @change="getAreaList" placeholder="请选择市">
|
|
|
|
- <a-select-option v-for="item in addrCityList" :value="item.id" :key="item.id + 'b'">{{ item.name }}</a-select-option>
|
|
|
|
- </a-select>
|
|
|
|
- </a-form-model-item>
|
|
|
|
|
|
+ <a-select v-model="queryParam.dealer.citySn" allowClear @change="getAreaList" placeholder="请选择市">
|
|
|
|
+ <a-select-option v-for="item in addrCityList" :value="item.id" :key="item.id + 'b'">{{ item.name }}</a-select-option>
|
|
|
|
+ </a-select>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col span="7" offset="1">
|
|
<a-col span="7" offset="1">
|
|
- <a-form-model-item prop="dealerCountySn" style="margin: 0;">
|
|
|
|
- <a-select v-model="queryParam.dealer.districtSn" allowClear placeholder="请选择区/县">
|
|
|
|
- <a-select-option v-for="item in addrDistrictList" :value="item.id" :key="item.id + 'c'">{{ item.name }}</a-select-option>
|
|
|
|
- </a-select>
|
|
|
|
- </a-form-model-item>
|
|
|
|
|
|
+ <a-select v-model="queryParam.dealer.districtSn" allowClear placeholder="请选择区/县">
|
|
|
|
+ <a-select-option v-for="item in addrDistrictList" :value="item.id" :key="item.id + 'c'">{{ item.name }}</a-select-option>
|
|
|
|
+ </a-select>
|
|
</a-col>
|
|
</a-col>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-row>
|
|
</a-row>
|
|
</a-col>
|
|
</a-col>
|
|
</template>
|
|
</template>
|
|
- <a-col :md="6" :sm="24">
|
|
|
|
|
|
+ <a-col :md="24" :sm="24" style="text-align:center;">
|
|
<a-button type="primary" @click="handleSearch" :disabled="disabled" id="actualSalesReportList-refresh">查询</a-button>
|
|
<a-button type="primary" @click="handleSearch" :disabled="disabled" id="actualSalesReportList-refresh">查询</a-button>
|
|
<a-button style="margin-left: 8px" @click="resetSearchForm" :disabled="disabled" id="actualSalesReportList-reset">重置</a-button>
|
|
<a-button style="margin-left: 8px" @click="resetSearchForm" :disabled="disabled" id="actualSalesReportList-reset">重置</a-button>
|
|
<a-button
|
|
<a-button
|
|
@@ -212,7 +206,7 @@ export default {
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
columns () {
|
|
columns () {
|
|
- let _this=this
|
|
|
|
|
|
+ const _this = this
|
|
const arr = [
|
|
const arr = [
|
|
{ title: '区域', dataIndex: 'dealer.subareaNameSet', width: 90, align: 'center', customRender: function (text) { return (text && text.length > 0) ? text.join('/') : '--' } },
|
|
{ title: '区域', dataIndex: 'dealer.subareaNameSet', width: 90, align: 'center', customRender: function (text) { return (text && text.length > 0) ? text.join('/') : '--' } },
|
|
{ title: '省份', dataIndex: 'dealer.provinceName', width: 90, align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '省份', dataIndex: 'dealer.provinceName', width: 90, align: 'center', customRender: function (text) { return text || '--' } },
|
|
@@ -230,42 +224,42 @@ export default {
|
|
dataIndex: 'jpLqqAmount',
|
|
dataIndex: 'jpLqqAmount',
|
|
align: 'right',
|
|
align: 'right',
|
|
width: 80,
|
|
width: 80,
|
|
- customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '变速箱滤清器',
|
|
title: '变速箱滤清器',
|
|
dataIndex: 'jpBsxLqqAmount',
|
|
dataIndex: 'jpBsxLqqAmount',
|
|
align: 'right',
|
|
align: 'right',
|
|
width: 80,
|
|
width: 80,
|
|
- customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '雨刮片',
|
|
title: '雨刮片',
|
|
dataIndex: 'jpYgpAmount',
|
|
dataIndex: 'jpYgpAmount',
|
|
align: 'right',
|
|
align: 'right',
|
|
width: 80,
|
|
width: 80,
|
|
- customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '喇叭',
|
|
title: '喇叭',
|
|
dataIndex: 'jpLbAmount',
|
|
dataIndex: 'jpLbAmount',
|
|
align: 'right',
|
|
align: 'right',
|
|
width: 80,
|
|
width: 80,
|
|
- customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '刹车片',
|
|
title: '刹车片',
|
|
dataIndex: 'jpScpAmount',
|
|
dataIndex: 'jpScpAmount',
|
|
align: 'right',
|
|
align: 'right',
|
|
width: 80,
|
|
width: 80,
|
|
- customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '感应线',
|
|
title: '感应线',
|
|
dataIndex: 'jpGyxAmount',
|
|
dataIndex: 'jpGyxAmount',
|
|
align: 'right',
|
|
align: 'right',
|
|
width: 80,
|
|
width: 80,
|
|
- customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
@@ -278,21 +272,21 @@ export default {
|
|
dataIndex: 'gpLqqAmount',
|
|
dataIndex: 'gpLqqAmount',
|
|
align: 'right',
|
|
align: 'right',
|
|
width: 80,
|
|
width: 80,
|
|
- customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '雨刮片',
|
|
title: '雨刮片',
|
|
dataIndex: 'gpYgpAmount',
|
|
dataIndex: 'gpYgpAmount',
|
|
align: 'right',
|
|
align: 'right',
|
|
width: 80,
|
|
width: 80,
|
|
- customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '刹车片',
|
|
title: '刹车片',
|
|
dataIndex: 'gpScpAmount',
|
|
dataIndex: 'gpScpAmount',
|
|
align: 'right',
|
|
align: 'right',
|
|
width: 80,
|
|
width: 80,
|
|
- customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
@@ -305,14 +299,14 @@ export default {
|
|
dataIndex: 'wsDhxqAmount',
|
|
dataIndex: 'wsDhxqAmount',
|
|
align: 'right',
|
|
align: 'right',
|
|
width: 80,
|
|
width: 80,
|
|
- customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '灯泡',
|
|
title: '灯泡',
|
|
dataIndex: 'wsDpAmount',
|
|
dataIndex: 'wsDpAmount',
|
|
align: 'right',
|
|
align: 'right',
|
|
width: 80,
|
|
width: 80,
|
|
- customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
@@ -321,35 +315,35 @@ export default {
|
|
dataIndex: 'hjAmount',
|
|
dataIndex: 'hjAmount',
|
|
align: 'right',
|
|
align: 'right',
|
|
width: 80,
|
|
width: 80,
|
|
- customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '德路斯',
|
|
title: '德路斯',
|
|
dataIndex: 'dlsAmount',
|
|
dataIndex: 'dlsAmount',
|
|
align: 'right',
|
|
align: 'right',
|
|
width: 80,
|
|
width: 80,
|
|
- customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: 'TBU',
|
|
title: 'TBU',
|
|
dataIndex: 'tbuAmount',
|
|
dataIndex: 'tbuAmount',
|
|
align: 'right',
|
|
align: 'right',
|
|
width: 80,
|
|
width: 80,
|
|
- customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: 'TBU-P',
|
|
title: 'TBU-P',
|
|
dataIndex: 'tbupAmount',
|
|
dataIndex: 'tbupAmount',
|
|
align: 'right',
|
|
align: 'right',
|
|
width: 80,
|
|
width: 80,
|
|
- customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '布瑞斯',
|
|
title: '布瑞斯',
|
|
dataIndex: 'brsAmount',
|
|
dataIndex: 'brsAmount',
|
|
align: 'right',
|
|
align: 'right',
|
|
width: 80,
|
|
width: 80,
|
|
- customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
@@ -361,49 +355,49 @@ export default {
|
|
dataIndex: 'ngkAmount',
|
|
dataIndex: 'ngkAmount',
|
|
align: 'right',
|
|
align: 'right',
|
|
width: 80,
|
|
width: 80,
|
|
- customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '飞利浦',
|
|
title: '飞利浦',
|
|
dataIndex: 'flpAmount',
|
|
dataIndex: 'flpAmount',
|
|
align: 'right',
|
|
align: 'right',
|
|
width: 80,
|
|
width: 80,
|
|
- customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '车仆',
|
|
title: '车仆',
|
|
dataIndex: 'cpAmount',
|
|
dataIndex: 'cpAmount',
|
|
align: 'right',
|
|
align: 'right',
|
|
width: 80,
|
|
width: 80,
|
|
- customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '瓦尔塔',
|
|
title: '瓦尔塔',
|
|
dataIndex: 'wetAmount',
|
|
dataIndex: 'wetAmount',
|
|
align: 'right',
|
|
align: 'right',
|
|
width: 80,
|
|
width: 80,
|
|
- customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '雷贝斯托',
|
|
title: '雷贝斯托',
|
|
dataIndex: 'lbstAmount',
|
|
dataIndex: 'lbstAmount',
|
|
align: 'right',
|
|
align: 'right',
|
|
width: 80,
|
|
width: 80,
|
|
- customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '德尔福',
|
|
title: '德尔福',
|
|
dataIndex: 'defAmount',
|
|
dataIndex: 'defAmount',
|
|
align: 'right',
|
|
align: 'right',
|
|
width: 80,
|
|
width: 80,
|
|
- customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
},
|
|
},
|
|
{
|
|
{
|
|
title: '巴诺德',
|
|
title: '巴诺德',
|
|
dataIndex: 'bndAmount',
|
|
dataIndex: 'bndAmount',
|
|
align: 'right',
|
|
align: 'right',
|
|
width: 80,
|
|
width: 80,
|
|
- customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
|
|
|
|
+ customRender: function (text) { return (text || text == 0) ? _this.toThousands(text) : '--' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|