diff --git a/klp-ui/src/views/wms/receive/detail/index.vue b/klp-ui/src/views/wms/receive/detail/index.vue index 53c7f374..1f55d886 100644 --- a/klp-ui/src/views/wms/receive/detail/index.vue +++ b/klp-ui/src/views/wms/receive/detail/index.vue @@ -86,9 +86,11 @@ @@ -269,12 +271,15 @@ export default { cancelButtonText: "取消", type: "warning" }).then(() => { + this.buttonLoading = true; updatePendingAction({ ...row, actionStatus: 3, // 3表示拒签 }).then(response => { this.$modal.msgSuccess("拒签成功"); this.getList(); + }).finally(() => { + this.buttonLoading = false; }); }); }, @@ -340,9 +345,12 @@ export default { cancelButtonText: "取消", type: "warning" }).then(() => { + this.buttonLoading = true; delPendingAction(row.actionId).then(response => { this.$modal.msgSuccess("删除成功"); this.getList(); + }).finally(() => { + this.buttonLoading = false; }); }); }, diff --git a/klp-ui/src/views/wms/receive/report/index.vue b/klp-ui/src/views/wms/receive/report/index.vue index 1d99796f..9e570574 100644 --- a/klp-ui/src/views/wms/receive/report/index.vue +++ b/klp-ui/src/views/wms/receive/report/index.vue @@ -20,7 +20,7 @@ @@ -39,7 +39,7 @@ @@ -158,7 +158,7 @@ export default { this.summary = res.data?.summary || null this.details = res.data?.details || [] } catch (error) { - console.error('获取发货报表失败:', error) + console.error('获取收货报表失败:', error) this.$message.error('获取数据失败') this.summary = null this.details = []