|
@@ -14,7 +14,7 @@
|
|
<a-row :gutter="15">
|
|
<a-row :gutter="15">
|
|
<a-col :md="6" :sm="24">
|
|
<a-col :md="6" :sm="24">
|
|
<a-form-model-item label="销售日期" prop="time">
|
|
<a-form-model-item label="销售日期" prop="time">
|
|
- <rangeDateTime ref="rangeDate" :value="queryParam.time" @change="dateChange" />
|
|
|
|
|
|
+ <rangeDate ref="rangeDate" :value="queryParam.time" @change="dateChange" />
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
<a-col :md="5" :sm="24">
|
|
<a-col :md="5" :sm="24">
|
|
@@ -42,9 +42,9 @@
|
|
<a-col :md="6" :sm="24">
|
|
<a-col :md="6" :sm="24">
|
|
<a-form-model-item label="操作员">
|
|
<a-form-model-item label="操作员">
|
|
<a-select
|
|
<a-select
|
|
- id="salesOrderTotalList-creatorId"
|
|
|
|
|
|
+ id="salesOrderTotalList-operatorSn"
|
|
allowClear
|
|
allowClear
|
|
- v-model="queryParam.creatorId"
|
|
|
|
|
|
+ v-model="queryParam.operatorSn"
|
|
placeholder="请选择操作员"
|
|
placeholder="请选择操作员"
|
|
:showSearch="true"
|
|
:showSearch="true"
|
|
option-filter-prop="children"
|
|
option-filter-prop="children"
|
|
@@ -128,7 +128,7 @@
|
|
import { commonMixin } from '@/utils/mixin'
|
|
import { commonMixin } from '@/utils/mixin'
|
|
import getDate from '@/libs/getDate.js'
|
|
import getDate from '@/libs/getDate.js'
|
|
import { STable, VSelect } from '@/components'
|
|
import { STable, VSelect } from '@/components'
|
|
-import rangeDateTime from '@/views/common/rangeDateTime.vue'
|
|
|
|
|
|
+import rangeDate from '@/views/common/rangeDate.vue'
|
|
import subarea from '@/views/common/subarea.js'
|
|
import subarea from '@/views/common/subarea.js'
|
|
import custList from '@/views/common/custList.vue'
|
|
import custList from '@/views/common/custList.vue'
|
|
import reportModal from '@/views/common/reportModal.vue'
|
|
import reportModal from '@/views/common/reportModal.vue'
|
|
@@ -139,7 +139,7 @@ import { reportSalesBillList, reportSalesBillCount, reportSalesBillExport } from
|
|
export default {
|
|
export default {
|
|
name: 'SalesOrderTotalList',
|
|
name: 'SalesOrderTotalList',
|
|
mixins: [commonMixin],
|
|
mixins: [commonMixin],
|
|
- components: { STable, VSelect, rangeDateTime, custList, subarea, reportModal },
|
|
|
|
|
|
+ components: { STable, VSelect, rangeDate, custList, subarea, reportModal },
|
|
data () {
|
|
data () {
|
|
return {
|
|
return {
|
|
spinning: false,
|
|
spinning: false,
|
|
@@ -148,15 +148,15 @@ export default {
|
|
showExport: false,
|
|
showExport: false,
|
|
queryParam: { // 查询条件
|
|
queryParam: { // 查询条件
|
|
time: [
|
|
time: [
|
|
- getDate.getCurrMonthDays().starttime + ' 00:00:00',
|
|
|
|
- getDate.getCurrMonthDays().endtime + ' 23:59:59'
|
|
|
|
|
|
+ getDate.getCurrMonthDays().starttime,
|
|
|
|
+ getDate.getCurrMonthDays().endtime
|
|
],
|
|
],
|
|
- beginDate: getDate.getCurrMonthDays().starttime + ' 00:00:00',
|
|
|
|
- endDate: getDate.getCurrMonthDays().endtime + ' 23:59:59',
|
|
|
|
|
|
+ beginDate: getDate.getCurrMonthDays().starttime,
|
|
|
|
+ endDate: getDate.getCurrMonthDays().endtime,
|
|
salesBillNo: '',
|
|
salesBillNo: '',
|
|
dealerName: '',
|
|
dealerName: '',
|
|
dealerLevel: undefined,
|
|
dealerLevel: undefined,
|
|
- creatorId: undefined,
|
|
|
|
|
|
+ operatorSn: undefined,
|
|
subareaSn: undefined,
|
|
subareaSn: undefined,
|
|
dealerProvinceSn: undefined
|
|
dealerProvinceSn: undefined
|
|
},
|
|
},
|
|
@@ -196,7 +196,7 @@ export default {
|
|
{ title: '销售单号', dataIndex: 'salesBillNo', width: 160, align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '销售单号', dataIndex: 'salesBillNo', width: 160, align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '开单日期', dataIndex: 'createDate', width: 130, align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '开单日期', dataIndex: 'createDate', width: 130, align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '销售日期', dataIndex: 'auditDate', width: 130, align: 'center', customRender: function (text) { return text || '--' } },
|
|
{ title: '销售日期', dataIndex: 'auditDate', width: 130, align: 'center', customRender: function (text) { return text || '--' } },
|
|
- { title: '客户名称', dataIndex: 'dealerName', width: 120,align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
|
|
|
+ { title: '客户名称', dataIndex: 'dealerName', width: 120, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '客户级别', dataIndex: 'dealerLevelDictValue', width: 120, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '客户级别', dataIndex: 'dealerLevelDictValue', width: 120, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '直接绑定客户名称', dataIndex: 'directDealerName', width: 120, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '直接绑定客户名称', dataIndex: 'directDealerName', width: 120, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '间接绑定客户名称', dataIndex: 'indirectDealerName', width: 120, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
{ title: '间接绑定客户名称', dataIndex: 'indirectDealerName', width: 120, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
@@ -277,16 +277,16 @@ export default {
|
|
// 重置
|
|
// 重置
|
|
resetSearchForm () {
|
|
resetSearchForm () {
|
|
this.queryParam.time = [
|
|
this.queryParam.time = [
|
|
- getDate.getCurrMonthDays().starttime + ' 00:00:00',
|
|
|
|
- getDate.getCurrMonthDays().endtime + ' 23:59:59'
|
|
|
|
|
|
+ getDate.getCurrMonthDays().starttime,
|
|
|
|
+ getDate.getCurrMonthDays().endtime
|
|
]
|
|
]
|
|
this.$refs.rangeDate.resetDate(this.queryParam.time)
|
|
this.$refs.rangeDate.resetDate(this.queryParam.time)
|
|
- this.queryParam.beginDate = getDate.getCurrMonthDays().starttime + ' 00:00:00'
|
|
|
|
- this.queryParam.endDate = getDate.getCurrMonthDays().endtime + ' 23:59:59'
|
|
|
|
|
|
+ this.queryParam.beginDate = getDate.getCurrMonthDays().starttime
|
|
|
|
+ this.queryParam.endDate = getDate.getCurrMonthDays().endtime
|
|
this.queryParam.salesBillNo = ''
|
|
this.queryParam.salesBillNo = ''
|
|
this.queryParam.dealerName = ''
|
|
this.queryParam.dealerName = ''
|
|
this.queryParam.dealerLevel = undefined
|
|
this.queryParam.dealerLevel = undefined
|
|
- this.queryParam.creatorId = undefined
|
|
|
|
|
|
+ this.queryParam.operatorSn = undefined
|
|
this.queryParam.subareaSn = undefined
|
|
this.queryParam.subareaSn = undefined
|
|
this.queryParam.dealerProvinceSn = undefined
|
|
this.queryParam.dealerProvinceSn = undefined
|
|
this.totalData = null
|
|
this.totalData = null
|