|
|
@ -523,15 +523,21 @@ export default {
|
|
|
|
getList() {
|
|
|
|
getList() {
|
|
|
|
this.loading = true;
|
|
|
|
this.loading = true;
|
|
|
|
|
|
|
|
|
|
|
|
if(this.queryParams.incomeTimeArray.length>0){
|
|
|
|
if(this.queryParams.incomeTimeArray != null && this.queryParams.incomeTimeArray.length>0){
|
|
|
|
this.queryParams.incomeTimeStart = moment(this.queryParams.incomeTimeArray[0]).format('YYYY-MM-DD HH:mm:ss');
|
|
|
|
this.queryParams.incomeTimeStart = moment(this.queryParams.incomeTimeArray[0]).format('YYYY-MM-DD HH:mm:ss');
|
|
|
|
this.queryParams.incomeTimeEnd = moment(this.queryParams.incomeTimeArray[1]).format('YYYY-MM-DD HH:mm:ss');
|
|
|
|
this.queryParams.incomeTimeEnd = moment(this.queryParams.incomeTimeArray[1]).format('YYYY-MM-DD HH:mm:ss');
|
|
|
|
}
|
|
|
|
}else{
|
|
|
|
|
|
|
|
this.queryParams.incomeTimeStart = null;
|
|
|
|
|
|
|
|
this.queryParams.incomeTimeEnd = null;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(this.queryParams.checkTimeArray.length>0){
|
|
|
|
if(this.queryParams.checkTimeArray != null && this.queryParams.checkTimeArray.length>0){
|
|
|
|
this.queryParams.checkTimeStart = moment(this.queryParams.checkTimeArray[0]).format('YYYY-MM-DD HH:mm:ss');
|
|
|
|
this.queryParams.checkTimeStart = moment(this.queryParams.checkTimeArray[0]).format('YYYY-MM-DD HH:mm:ss');
|
|
|
|
this.queryParams.checkTimeEnd = moment(this.queryParams.checkTimeArray[1]).format('YYYY-MM-DD HH:mm:ss');
|
|
|
|
this.queryParams.checkTimeEnd = moment(this.queryParams.checkTimeArray[1]).format('YYYY-MM-DD HH:mm:ss');
|
|
|
|
}
|
|
|
|
}else{
|
|
|
|
|
|
|
|
this.queryParams.checkTimeStart = null;
|
|
|
|
|
|
|
|
this.queryParams.checkTimeEnd = null;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
listWarehousing(this.queryParams).then(response => {
|
|
|
|
listWarehousing(this.queryParams).then(response => {
|
|
|
|
this.warehousingList = response.rows;
|
|
|
|
this.warehousingList = response.rows;
|
|
|
|