From 7637b25a4cf62370aaeee5f7fb6377f3fc0ea7b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=B8=85?= <3115919733@qq.com> Date: Fri, 30 May 2025 13:36:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=BA=93=E5=86=85=E7=AE=A1?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/stocked/MoveLibrary/index.vue | 1 - src/views/stocked/MoveTransformation/index.vue | 9 ++++----- src/views/stocked/holdAndRelease/index.vue | 2 -- src/views/stocked/locationMovePage/index.vue | 1 - 4 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/views/stocked/MoveLibrary/index.vue b/src/views/stocked/MoveLibrary/index.vue index 86d9ff3..8f1f3fa 100644 --- a/src/views/stocked/MoveLibrary/index.vue +++ b/src/views/stocked/MoveLibrary/index.vue @@ -596,7 +596,6 @@ async function LeftIn() { }) } - state.loading3 = false } async function RightIn() { diff --git a/src/views/stocked/MoveTransformation/index.vue b/src/views/stocked/MoveTransformation/index.vue index 82aaeef..1cb68d6 100644 --- a/src/views/stocked/MoveTransformation/index.vue +++ b/src/views/stocked/MoveTransformation/index.vue @@ -585,29 +585,28 @@ async function RightIn() { materialSpecName: state.queryParams.params.MATERIALSPECNAME, opType: 'Dessign', }; - state.loading = true; + state.loading2 = true; AssignOrDessignShipRequest(params).then((res: any) => { if (res.code == 200) { 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 { ElMessageBox.alert('勾选的数据不能为空!', '提示框', { confirmButtonText: 'OK', }) } - state.loading = false; } function handleStockOut() { diff --git a/src/views/stocked/holdAndRelease/index.vue b/src/views/stocked/holdAndRelease/index.vue index d696dc7..5f764a8 100644 --- a/src/views/stocked/holdAndRelease/index.vue +++ b/src/views/stocked/holdAndRelease/index.vue @@ -389,8 +389,6 @@ function Release() { state.Button_state2 = false state.loading3 = false }); - state.loading3 = false - state.Button_state2 = false } function resetQuery() { queryFormRef.value.resetFields(); diff --git a/src/views/stocked/locationMovePage/index.vue b/src/views/stocked/locationMovePage/index.vue index 5a40791..8a55ea9 100644 --- a/src/views/stocked/locationMovePage/index.vue +++ b/src/views/stocked/locationMovePage/index.vue @@ -716,7 +716,6 @@ async function submit() { confirmButtonText: 'OK' }) } - state.loading2 = false state.Button_state = false } /*