修改库内管理

This commit is contained in:
王帅 2025-05-30 13:36:13 +08:00
parent 0d82446c75
commit 7637b25a4c
4 changed files with 4 additions and 9 deletions

View File

@ -596,7 +596,6 @@ async function LeftIn() {
})
}
state.loading3 = false
}
async function RightIn() {

View File

@ -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() {

View File

@ -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();

View File

@ -716,7 +716,6 @@ async function submit() {
confirmButtonText: 'OK'
})
}
state.loading2 = false
state.Button_state = false
}
/*