|
@@ -41,11 +41,11 @@
|
|
|
<template v-if="advanced">
|
|
|
<a-col :md="6" :sm="24">
|
|
|
<a-form-model-item label="地区">
|
|
|
- <AreaList id="actualSalesReportList-areaList" changeOnSelect ref="areaList" @change="areaChange" defValKey="id"></AreaList>
|
|
|
+ <AreaList id="actualSalesReportList-areaList" changeOnSelect ref="areaList" @change="areaChange" defValKey="id"></AreaList>
|
|
|
</a-form-model-item>
|
|
|
</a-col>
|
|
|
</template>
|
|
|
- <a-col :md="24" :sm="24" style="text-align:center;">
|
|
|
+ <a-col :md="24" :sm="24" style="margin-bottom:10px;text-align:center;">
|
|
|
<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
|
|
@@ -430,7 +430,7 @@ export default {
|
|
|
if (valid) {
|
|
|
_this.$refs.table.refresh(true)
|
|
|
} else {
|
|
|
- _this.$message.error("请选择销售日期")
|
|
|
+ _this.$message.error('请选择销售日期')
|
|
|
return false
|
|
|
}
|
|
|
})
|
|
@@ -466,18 +466,18 @@ export default {
|
|
|
'dealerLevel': undefined
|
|
|
}
|
|
|
this.totalData = null
|
|
|
- if(this.advanced){
|
|
|
+ if (this.advanced) {
|
|
|
this.$refs.areaList.clearData()
|
|
|
}
|
|
|
this.$refs.custList.resetForm()
|
|
|
this.$refs.ruleForm.resetFields()
|
|
|
this.$refs.table.clearTable()
|
|
|
},
|
|
|
- areaChange(val){
|
|
|
+ areaChange (val) {
|
|
|
this.queryParam.dealer.provinceSn = val[0] ? val[0] : ''
|
|
|
this.queryParam.dealer.citySn = val[1] ? val[1] : ''
|
|
|
this.queryParam.dealer.districtSn = val[2] ? val[2] : ''
|
|
|
- },
|
|
|
+ }
|
|
|
},
|
|
|
mounted () {
|
|
|
if (!this.$store.state.app.isNewTab) { // 页签刷新时调用
|