修改出库管理连续点击
This commit is contained in:
parent
5ac11a347a
commit
a2a83269f6
@ -514,6 +514,7 @@ function resetQuery() {
|
||||
|
||||
|
||||
async function handleStockOut() {
|
||||
state.button_state = true
|
||||
if (state.MaterialPackingUsername.length > 0) {
|
||||
let param = {
|
||||
user: localStorage.get('userId'),
|
||||
|
@ -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';
|
||||
|
Loading…
x
Reference in New Issue
Block a user