From a2a83269f6226b68f738ef19b5873df8c2ceca34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=B8=85?= <3115919733@qq.com> Date: Thu, 29 May 2025 13:55:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=87=BA=E5=BA=93=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E8=BF=9E=E7=BB=AD=E7=82=B9=E5=87=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/stockOut/PurReturn/index.vue | 1 + src/views/stockOut/shipRequestByTC/index.vue | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/views/stockOut/PurReturn/index.vue b/src/views/stockOut/PurReturn/index.vue index cc15ddc..3e8ba33 100644 --- a/src/views/stockOut/PurReturn/index.vue +++ b/src/views/stockOut/PurReturn/index.vue @@ -514,6 +514,7 @@ function resetQuery() { async function handleStockOut() { + state.button_state = true if (state.MaterialPackingUsername.length > 0) { let param = { user: localStorage.get('userId'), diff --git a/src/views/stockOut/shipRequestByTC/index.vue b/src/views/stockOut/shipRequestByTC/index.vue index 8597ac1..f7370b9 100644 --- a/src/views/stockOut/shipRequestByTC/index.vue +++ b/src/views/stockOut/shipRequestByTC/index.vue @@ -853,26 +853,26 @@ async function RightIn() { materialSpecName: state.queryParams.params.MATERIALSPECNAME, }; - state.loading = true; + state.loading2 = true; DeAssignShipRequest(params).then((res: any) => { if (res.success) { handleQuery(); - state.loading = false; + state.loading2 = false; } else { ElMessageBox.alert('操作失败:' + res.message, '提醒框', { confirmButtonText: 'OK', }) - state.loading = false; + state.loading2 = false; } }).catch((err: any) => { ElMessageBox.alert('操作失败:' + err.response.data.message, '提醒框', { confirmButtonText: 'OK', }) - state.loading = false; + state.loading2 = false; }) } else { @@ -882,7 +882,7 @@ async function RightIn() { confirmButtonText: 'OK', }) } - state.loading = false; + state.loading2 = false; // if (state.column3.length > 0) { // state.loading2 = true; // state.ChangeParams.header.MESSAGENAME = 'DeassignShipRequestFromBox';