|
|
|
@ -452,14 +452,20 @@ export default {
|
|
|
|
|
getList() {
|
|
|
|
|
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.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.checkTimeEnd = moment(this.queryParams.checkTimeArray[1]).format('YYYY-MM-DD HH:mm:ss');
|
|
|
|
|
}else{
|
|
|
|
|
this.queryParams.checkTimeStart = null;
|
|
|
|
|
this.queryParams.checkTimeEnd = null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
listQcInventory(this.queryParams).then(response => {
|
|
|
|
|