修改库内管理
This commit is contained in:
parent
0d82446c75
commit
7637b25a4c
@ -596,7 +596,6 @@ async function LeftIn() {
|
||||
})
|
||||
}
|
||||
|
||||
state.loading3 = false
|
||||
}
|
||||
|
||||
async function RightIn() {
|
||||
|
@ -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() {
|
||||
|
@ -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();
|
||||
|
@ -716,7 +716,6 @@ async function submit() {
|
||||
confirmButtonText: 'OK'
|
||||
})
|
||||
}
|
||||
state.loading2 = false
|
||||
state.Button_state = false
|
||||
}
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user