diff --git a/ruoyi-ui/src/views/check/job/in/index.vue b/ruoyi-ui/src/views/check/job/in/index.vue index ea259f6..68f997e 100644 --- a/ruoyi-ui/src/views/check/job/in/index.vue +++ b/ruoyi-ui/src/views/check/job/in/index.vue @@ -333,6 +333,9 @@ export default { // 如果有数据,自动选中第一行 if (this.mydoJobList.length > 0) { this.handleRowClick(this.mydoJobList[0]); + }else { + this.mydoJobDetailList = [] + this.detailLoading = false } }) }, @@ -426,14 +429,12 @@ export default { manualInvalidation(data).then(response => { this.$modal.msgSuccess(this.$t('checkJobIn.operaSuccess')); this.getList(); - this.getDetailList() }) }else if (row.type === 'completed'){ //手动完成 manualCompleted(data).then(response => { this.$modal.msgSuccess(this.$t('checkJobIn.operaSuccess')); this.getList(); - this.getDetailList() }) } }, diff --git a/ruoyi-ui/src/views/check/job/out/index.vue b/ruoyi-ui/src/views/check/job/out/index.vue index 5d961dd..ebb6ad9 100644 --- a/ruoyi-ui/src/views/check/job/out/index.vue +++ b/ruoyi-ui/src/views/check/job/out/index.vue @@ -315,6 +315,9 @@ export default { // 如果有数据,自动选中第一行 if (this.mydoJobList.length > 0) { this.handleRowClick(this.mydoJobList[0]); + }else { + this.mydoJobDetailList = [] + this.detailLoading = false } }) }, diff --git a/ruoyi-ui/src/views/check/stockCheck/index.vue b/ruoyi-ui/src/views/check/stockCheck/index.vue index f37909b..88efd79 100644 --- a/ruoyi-ui/src/views/check/stockCheck/index.vue +++ b/ruoyi-ui/src/views/check/stockCheck/index.vue @@ -312,6 +312,9 @@ export default { // 获取列表后,自动点击第一行数据 if (this.stockCheckList.length > 0) { this.handleRowClick(this.stockCheckList[0]) + }else { + this.stockCheckDetailList = [] + this.detailLoading = false } }) }, @@ -427,7 +430,6 @@ export default { updateStockCheck(data).then(response => { this.$modal.msgSuccess(this.$t('checkStockCheck.invalidateSuccess')) this.getList() - this.getDetailList() }) } else { this.$modal.msgError(this.$t('checkStockCheck.onlyUnreviewedCanInvalidate')) @@ -463,7 +465,6 @@ export default { updateStockCheck(data).then(response => { this.$modal.msgSuccess(this.$t('checkStockCheck.confirmSuccess')) this.getList() - this.getDetailList() }) } else { this.$modal.msgError(this.$t('checkStockCheck.onlyReviewedCanConfirm')) @@ -481,7 +482,6 @@ export default { autoAllocation(stockCheckData).then(response => { this.$modal.msgSuccess(this.$t('checkStockCheck.autoAllocationSuccess')) this.getList() - this.getDetailList() }) }, diff --git a/ruoyi-ui/src/views/in/job/index.vue b/ruoyi-ui/src/views/in/job/index.vue index f61eb9e..b7a72be 100644 --- a/ruoyi-ui/src/views/in/job/index.vue +++ b/ruoyi-ui/src/views/in/job/index.vue @@ -325,6 +325,9 @@ export default { // 如果有数据,自动选中第一行 if (this.mydoJobList.length > 0) { this.handleRowClick(this.mydoJobList[0]); + } else { + this.mydoJobDetailList = [] + this.detailLoading = false } }) }, @@ -416,8 +419,6 @@ export default { manualInvalidation(data).then(response => { this.$modal.msgSuccess(this.$t('inJob.operaSuccess')); this.getList(); - // 查询子表格数据 - this.getDetailList(); }) @@ -426,9 +427,6 @@ export default { manualCompleted(data).then(response => { this.$modal.msgSuccess(this.$t('inJob.operaSuccess')); this.getList(); - // 查询子表格数据 - this.getDetailList(); - }) } diff --git a/ruoyi-ui/src/views/in/receive/index.vue b/ruoyi-ui/src/views/in/receive/index.vue index 30227b0..1d7a516 100644 --- a/ruoyi-ui/src/views/in/receive/index.vue +++ b/ruoyi-ui/src/views/in/receive/index.vue @@ -425,7 +425,6 @@ export default { return delStockin(stockinGuids) }).then(() => { this.getList() - this.getDetailList() this.$modal.msgSuccess(this.$t('inReceiveStockin.deleteSuccess')) }).catch(() => { }) @@ -465,7 +464,6 @@ export default { return delStockInDetail(stockinDetailIds) }).then(() => { this.getDetailList(this.queryDetailParams.stockinId) - this.getList() this.$modal.msgSuccess(this.$t('inReceiveStockin.deleteSuccess')) }).catch(() => { }) diff --git a/ruoyi-ui/src/views/in/stockIn/index.vue b/ruoyi-ui/src/views/in/stockIn/index.vue index 9b1b3e9..60dde93 100644 --- a/ruoyi-ui/src/views/in/stockIn/index.vue +++ b/ruoyi-ui/src/views/in/stockIn/index.vue @@ -376,7 +376,6 @@ export default { invalidatedStockIn(data).then(response => { this.$modal.msgSuccess(this.$t('inStockin.invalidateSuccess')) this.getList() - this.getDetailList() }) }else { this.$modal.msgError(this.$t('inStockin.onlyUnreviewedCanInvalidate')) diff --git a/ruoyi-ui/src/views/job/outJobManagement.vue b/ruoyi-ui/src/views/job/outJobManagement.vue index e1c82fd..17de2d7 100644 --- a/ruoyi-ui/src/views/job/outJobManagement.vue +++ b/ruoyi-ui/src/views/job/outJobManagement.vue @@ -279,6 +279,9 @@ export default { // 如果有数据,自动选中第一行 if (this.mydoJobList.length > 0) { this.handleRowClick(this.mydoJobList[0]); + }else { + this.mydoJobDetailList = [] + this.detailLoading = false } }) }, @@ -391,7 +394,6 @@ export default { }).then(() => { this.$modal.msgSuccess("手动完成成功"); this.getList(); - this.getDetailList() }).catch(() => {}); }, //手动作废 @@ -413,7 +415,6 @@ export default { }).then(() => { this.$modal.msgSuccess("手动作废成功"); this.getList(); - this.getDetailList() }).catch(() => {}); } diff --git a/ruoyi-ui/src/views/out/outStockoutManage.vue b/ruoyi-ui/src/views/out/outStockoutManage.vue index 62b8d29..f097f93 100644 --- a/ruoyi-ui/src/views/out/outStockoutManage.vue +++ b/ruoyi-ui/src/views/out/outStockoutManage.vue @@ -325,6 +325,9 @@ export default { // 如果有数据,自动选中第一行 if (this.outStockoutList.length > 0) { this.handleRowClick(this.outStockoutList[0]); + }else { + this.outStockDetailList = [] + this.detailLoading = false } }) @@ -407,7 +410,6 @@ export default { updateOutStockStatus(params).then(response => { this.$modal.msgSuccess(response) this.getList() - this.getDetailList() }) }, @@ -439,7 +441,6 @@ export default { this.$modal.msgSuccess(response.msg) } this.getList() - this.getDetailList() }) }, /** 手动分配按钮操作 */