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 } /*