|
@@ -23,12 +23,12 @@
|
|
|
<template v-if="advanced">
|
|
|
<a-col :md="6" :sm="24">
|
|
|
<a-form-item label="审核时间">
|
|
|
- <rangeDate ref="auditRangeDate" :value="auditTime" @change="auditDateChange" />
|
|
|
+ <rangeDate ref="auditRangeDate" v-model="auditTime" @change="auditDateChange" />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :md="6" :sm="24">
|
|
|
<a-form-item label="出库时间">
|
|
|
- <rangeDate ref="outWareRangeDate" :value="outWareTime" @change="outWareDateChange" />
|
|
|
+ <rangeDate ref="outWareRangeDate" v-model="outWareTime" @change="outWareDateChange" />
|
|
|
</a-form-item>
|
|
|
</a-col>
|
|
|
<a-col :md="6" :sm="24">
|
|
@@ -340,10 +340,12 @@ export default {
|
|
|
this.queryParam.endDate = date[1]
|
|
|
},
|
|
|
auditDateChange (date) {
|
|
|
+ this.auditTime = date
|
|
|
this.queryParam.auditBeginDate = date[0]
|
|
|
this.queryParam.auditEndDate = date[1]
|
|
|
},
|
|
|
outWareDateChange (date) {
|
|
|
+ this.outWareTime = date
|
|
|
this.queryParam.outWarehouseBeginDate = date[0]
|
|
|
this.queryParam.outWarehouseEndDate = date[1]
|
|
|
},
|
|
@@ -474,12 +476,17 @@ export default {
|
|
|
this.$refs.rangeDate.resetDate(flag ? '' : this.time)
|
|
|
this.queryParam.beginDate = flag ? '' : getDate.getMonthDays(12).starttime
|
|
|
this.queryParam.endDate = flag ? '' : getDate.getMonthDays(12).endtime
|
|
|
- this.$refs.auditRangeDate.resetDate('')
|
|
|
+
|
|
|
this.queryParam.auditBeginDate = ''
|
|
|
this.queryParam.auditEndDate = ''
|
|
|
- this.$refs.outWareRangeDate.resetDate('')
|
|
|
this.queryParam.outWarehouseBeginDate = ''
|
|
|
this.queryParam.outWarehouseEndDate = ''
|
|
|
+ this.auditTime = []
|
|
|
+ this.outWareTime = []
|
|
|
+ if (this.advanced) {
|
|
|
+ this.$refs.auditRangeDate.resetDate('')
|
|
|
+ this.$refs.outWareRangeDate.resetDate('')
|
|
|
+ }
|
|
|
|
|
|
this.queryParam.buyerName = undefined
|
|
|
this.queryParam.buyerSn = undefined
|