|
@@ -12,7 +12,7 @@
|
|
|
:rules="rules"
|
|
|
@keyup.enter.native="handleSearch">
|
|
|
<a-row :gutter="15">
|
|
|
- <a-col :md="4" :sm="24">
|
|
|
+ <a-col :md="6" :sm="24">
|
|
|
<a-form-model-item label="月份" prop="month">
|
|
|
<a-month-picker
|
|
|
placeholder="请选择月份"
|
|
@@ -23,22 +23,27 @@
|
|
|
style="width: 100%;"/>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
- <a-col :md="4" :sm="24">
|
|
|
+ <a-col :md="6" :sm="24">
|
|
|
<a-form-model-item label="省份" prop="provinceSn">
|
|
|
<Area id="priceDifferenceDetailList-provinceSn" v-model="queryParam.provinceSn" placeholder="请选择省"></Area>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
- <a-col :md="5" :sm="24">
|
|
|
+ <a-col :md="6" :sm="24">
|
|
|
<a-form-model-item label="记账门店">
|
|
|
<custList id="priceDifferenceDetailList-rebateDealer" ref="rebateDealerList" @change="rebateDealerChange"></custList>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
- <a-col :md="5" :sm="24">
|
|
|
+ <a-col :md="6" :sm="24">
|
|
|
<a-form-model-item label="客户名称">
|
|
|
<dealerSubareaScopeList id="priceDifferenceDetailList-custList" ref="custList" :itemSn="queryParam.dealerSn" @change="custChange"></dealerSubareaScopeList>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
- <a-col :md="6" :sm="24" style="margin-bottom: 10px;">
|
|
|
+ <a-col :md="6" :sm="24" v-show="isShowCustomerSearch">
|
|
|
+ <a-form-item label="客服">
|
|
|
+ <customerService ref="customerName" v-model="queryParam.bizUserSn"></customerService>
|
|
|
+ </a-form-item>
|
|
|
+ </a-col>
|
|
|
+ <a-col :md="isShowCustomerSearch?6:24" :sm="24" style="margin-bottom: 10px;" :style="{textAlign: isShowCustomerSearch?'':'center'}">
|
|
|
<a-button type="primary" @click="handleSearch" :disabled="disabled" id="priceDifferenceDetailList-refresh">查询</a-button>
|
|
|
<a-button style="margin-left: 5px" @click="resetSearchForm" :disabled="disabled" id="priceDifferenceDetailList-reset">重置</a-button>
|
|
|
<a-button
|
|
@@ -106,12 +111,13 @@ import Area from '@/views/common/area.js'
|
|
|
import subarea from '@/views/common/subarea.js'
|
|
|
import rangeDate from '@/views/common/rangeDate.vue'
|
|
|
import reportModal from '@/views/common/reportModal.vue'
|
|
|
+import customerService from '@/views/common/customerService.vue'
|
|
|
import { hdExportExcel } from '@/libs/exportExcel'
|
|
|
import { reportRebateReportList, reportRebateCount, reportRebateExport } from '@/api/reportData'
|
|
|
export default {
|
|
|
name: 'PriceDifferenceDetailReportList',
|
|
|
mixins: [commonMixin],
|
|
|
- components: { STable, VSelect, custList, dealerSubareaScopeList, subarea, Area, rangeDate, reportModal },
|
|
|
+ components: { STable, VSelect, custList, dealerSubareaScopeList, subarea, Area, rangeDate, reportModal, customerService },
|
|
|
data () {
|
|
|
return {
|
|
|
spinning: false,
|
|
@@ -122,7 +128,8 @@ export default {
|
|
|
month: moment().format('YYYY-MM'),
|
|
|
provinceSn: undefined,
|
|
|
rebateDealerSn: undefined,
|
|
|
- dealerSn: undefined
|
|
|
+ dealerSn: undefined,
|
|
|
+ bizUserSn: undefined
|
|
|
},
|
|
|
rules: {
|
|
|
'month': [{ required: true, message: '请选择月份', trigger: 'change' }],
|
|
@@ -215,6 +222,7 @@ export default {
|
|
|
this.queryParam.provinceSn = undefined
|
|
|
this.queryParam.rebateDealerSn = undefined
|
|
|
this.queryParam.dealerSn = undefined
|
|
|
+ this.queryParam.bizUserSn = undefined
|
|
|
this.$refs.rebateDealerList.resetForm()
|
|
|
this.totalData = null
|
|
|
if (this.advanced) {
|