|
@ -329,6 +329,8 @@ |
|
|
filters: filters, |
|
|
filters: filters, |
|
|
pageNo: 1, |
|
|
pageNo: 1, |
|
|
pageSize: 1000, |
|
|
pageSize: 1000, |
|
|
|
|
|
sort:"number", |
|
|
|
|
|
by:"DESC" |
|
|
} |
|
|
} |
|
|
getCountJobList(params).then(res => { |
|
|
getCountJobList(params).then(res => { |
|
|
uni.hideLoading(); |
|
|
uni.hideLoading(); |
|
@ -344,9 +346,9 @@ |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
if (resultList == 0) { |
|
|
if (list.length == 0) { |
|
|
that.showMessage('未查找到库位' + '【' + result.label.code + '】的盘点任务'); |
|
|
that.showMessage('未查找到库位' + '【' + result.label.code + '】的盘点任务'); |
|
|
} else if (resultList == 1) { |
|
|
} else if (list.length == 1) { |
|
|
that.selectItem(list[0]); |
|
|
that.selectItem(list[0]); |
|
|
}else { |
|
|
}else { |
|
|
that.$refs.jobList.openList(list) |
|
|
that.$refs.jobList.openList(list) |
|
|