|
@@ -191,13 +191,13 @@ export default {
|
|
|
this.cooperations = res.data.rows;
|
|
|
}
|
|
|
})
|
|
|
- this.getList()
|
|
|
var now = new Date();
|
|
|
var startDate = dayjs().format('YYYY-MM-DD');
|
|
|
var endDate = dayjs().format('YYYY-MM-DD');
|
|
|
this.orderDate = [];
|
|
|
this.orderDate.push(startDate)
|
|
|
this.orderDate.push(endDate)
|
|
|
+ this.getList()
|
|
|
},
|
|
|
methods: {
|
|
|
search () {
|
|
@@ -225,6 +225,7 @@ export default {
|
|
|
let params = this.searchForm
|
|
|
params.rows = this.pageInfo.limit
|
|
|
params.page = this.pageInfo.page
|
|
|
+ this.searchOrderDate(this.orderDate)
|
|
|
getSellOrder({
|
|
|
...params,
|
|
|
organIdList: [...this.searchForm.organIdList].join()
|
|
@@ -238,8 +239,8 @@ export default {
|
|
|
},
|
|
|
searchOrderDate (value) {
|
|
|
if (value) {
|
|
|
- this.searchForm.startTime = value[0] + ' 00:00:00'
|
|
|
- this.searchForm.endTime = value[1] + ' 23:59:59'
|
|
|
+ this.searchForm.startTime = value[0]
|
|
|
+ this.searchForm.endTime = value[1]
|
|
|
} else {
|
|
|
this.searchForm.startTime = null
|
|
|
this.searchForm.endTime = null
|
|
@@ -254,6 +255,7 @@ export default {
|
|
|
search: '',
|
|
|
schoolId: '',
|
|
|
}
|
|
|
+ this.getList()
|
|
|
},
|
|
|
querySearch(queryString, cb) {
|
|
|
let restaurants = []
|