|
@@ -19,7 +19,7 @@
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :md="6" :sm="24">
|
|
<a-col :md="6" :sm="24">
|
|
<a-form-model-item label="客户名称">
|
|
<a-form-model-item label="客户名称">
|
|
- <custList id="allocationPresentationList-dealerSn" ref="custList" @change="custChange"></custList>
|
|
|
|
|
|
+ <a-input id="allocationPresentationList-targetName" v-model.trim="queryParam.targetName" allowClear placeholder="请输入客户名称"/>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :md="6" :sm="24">
|
|
<a-col :md="6" :sm="24">
|
|
@@ -135,13 +135,12 @@
|
|
<script>
|
|
<script>
|
|
import { STable, VSelect } from '@/components'
|
|
import { STable, VSelect } from '@/components'
|
|
import rangeDateTime from '@/views/common/rangeDateTime.vue'
|
|
import rangeDateTime from '@/views/common/rangeDateTime.vue'
|
|
-import custList from '@/views/common/custList.vue'
|
|
|
|
import subarea from '@/views/common/subarea.js'
|
|
import subarea from '@/views/common/subarea.js'
|
|
import { getArea } from '@/api/data'
|
|
import { getArea } from '@/api/data'
|
|
import { hdExportExcel } from '@/libs/exportExcel'
|
|
import { hdExportExcel } from '@/libs/exportExcel'
|
|
import { reportAllocateDbjdReportList, reportAllocateDbjdReportCount, reportAllocateDbjdReportExport } from '@/api/reportData'
|
|
import { reportAllocateDbjdReportList, reportAllocateDbjdReportCount, reportAllocateDbjdReportExport } from '@/api/reportData'
|
|
export default {
|
|
export default {
|
|
- components: { STable, VSelect, rangeDateTime, subarea, custList },
|
|
|
|
|
|
+ components: { STable, VSelect, rangeDateTime, subarea },
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
spinning: false,
|
|
spinning: false,
|
|
@@ -151,8 +150,8 @@ export default {
|
|
beginDate: '',
|
|
beginDate: '',
|
|
endDate: '',
|
|
endDate: '',
|
|
allocateNo: '',
|
|
allocateNo: '',
|
|
|
|
+ targetName: '',
|
|
dealer: {
|
|
dealer: {
|
|
- 'dealerSn': undefined,
|
|
|
|
'provinceSn': undefined,
|
|
'provinceSn': undefined,
|
|
'citySn': undefined,
|
|
'citySn': undefined,
|
|
'districtSn': undefined,
|
|
'districtSn': undefined,
|
|
@@ -348,9 +347,6 @@ export default {
|
|
this.queryParam.beginDate = date[0] || ''
|
|
this.queryParam.beginDate = date[0] || ''
|
|
this.queryParam.endDate = date[1] || ''
|
|
this.queryParam.endDate = date[1] || ''
|
|
},
|
|
},
|
|
- custChange (val) {
|
|
|
|
- this.queryParam.dealer.dealerSn = val.key
|
|
|
|
- },
|
|
|
|
// 重置
|
|
// 重置
|
|
resetSearchForm () {
|
|
resetSearchForm () {
|
|
this.queryParam.time = []
|
|
this.queryParam.time = []
|
|
@@ -358,8 +354,8 @@ export default {
|
|
this.queryParam.beginDate = ''
|
|
this.queryParam.beginDate = ''
|
|
this.queryParam.endDate = ''
|
|
this.queryParam.endDate = ''
|
|
this.queryParam.allocateNo = ''
|
|
this.queryParam.allocateNo = ''
|
|
|
|
+ this.queryParam.targetName = ''
|
|
this.queryParam.dealer = {
|
|
this.queryParam.dealer = {
|
|
- 'dealerSn': undefined,
|
|
|
|
'provinceSn': undefined,
|
|
'provinceSn': undefined,
|
|
'citySn': undefined,
|
|
'citySn': undefined,
|
|
'districtSn': undefined,
|
|
'districtSn': undefined,
|