diff --git a/src/layout/clcNoPlan.vue b/src/layout/clcNoPlan.vue index 796f39f..419a22a 100644 --- a/src/layout/clcNoPlan.vue +++ b/src/layout/clcNoPlan.vue @@ -241,6 +241,9 @@ export default { methods: { // 查询库存余量 getStockNumOfGoodsIdMethod() { + if (this.workFormEntity.goodsId == '') { + return + } const request = { goodsId: this.workFormEntity.goodsId, userName: store.getters.getUserName diff --git a/src/layout/doKitting.vue b/src/layout/doKitting.vue index b058e56..8882f6a 100644 --- a/src/layout/doKitting.vue +++ b/src/layout/doKitting.vue @@ -178,7 +178,7 @@ export default { this.$refs.goodsId.focus() this.timer = setInterval(() => { this.queryFinish() - }, 3000) + }, 1000) }, beforeUnmount() { clearInterval(this.timer) diff --git a/src/layout/pickTaskMonitor.vue b/src/layout/pickTaskMonitor.vue index 67939e0..117ce1f 100644 --- a/src/layout/pickTaskMonitor.vue +++ b/src/layout/pickTaskMonitor.vue @@ -3,10 +3,12 @@
- - + 搜索 重置 @@ -103,6 +105,7 @@ export default { total: 0, vehicleIdQuery: '', standQuery: '', + pickStatusQuery: -99, loading: true, dialogVisible: false, pickTaskId: '', @@ -128,6 +131,28 @@ export default { label: '已到达' } ], + pickStatusOptions: [ + { + value: -99, + label: '全部' + }, + { + value: -1, + label: '暂存' + }, + { + value: 0, + label: '待下发' + }, + { + value: 1, + label: '已下发' + }, + { + value: 2, + label: '已到达' + } + ], } }, mounted() { @@ -141,6 +166,7 @@ export default { pageSize: this.pageSize, vehicleId: this.vehicleIdQuery.trim(), standId: this.standQuery.trim(), + pickStatus: this.pickStatusQuery == -99 ? null : this.pickStatusQuery, userName: store.getters.getUserName } getPickTasksByPage(request).then(res => {