修改库内管理
This commit is contained in:
parent
0d82446c75
commit
7637b25a4c
@ -596,7 +596,6 @@ async function LeftIn() {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
state.loading3 = false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
async function RightIn() {
|
async function RightIn() {
|
||||||
|
@ -585,29 +585,28 @@ async function RightIn() {
|
|||||||
materialSpecName: state.queryParams.params.MATERIALSPECNAME,
|
materialSpecName: state.queryParams.params.MATERIALSPECNAME,
|
||||||
opType: 'Dessign',
|
opType: 'Dessign',
|
||||||
};
|
};
|
||||||
state.loading = true;
|
state.loading2 = true;
|
||||||
AssignOrDessignShipRequest(params).then((res: any) => {
|
AssignOrDessignShipRequest(params).then((res: any) => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
handleQuery();
|
handleQuery();
|
||||||
state.loading = false;
|
state.loading2 = false;
|
||||||
} else {
|
} else {
|
||||||
ElMessageBox.alert('操作失败:' + res.message, '提醒框', {
|
ElMessageBox.alert('操作失败:' + res.message, '提醒框', {
|
||||||
confirmButtonText: 'OK',
|
confirmButtonText: 'OK',
|
||||||
})
|
})
|
||||||
state.loading = false;
|
state.loading2 = false;
|
||||||
}
|
}
|
||||||
}).catch((err: any) => {
|
}).catch((err: any) => {
|
||||||
ElMessageBox.alert('操作失败:' + err.response.data.message, '提醒框', {
|
ElMessageBox.alert('操作失败:' + err.response.data.message, '提醒框', {
|
||||||
confirmButtonText: 'OK',
|
confirmButtonText: 'OK',
|
||||||
})
|
})
|
||||||
state.loading = false;
|
state.loading2 = false;
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
ElMessageBox.alert('勾选的数据不能为空!', '提示框', {
|
ElMessageBox.alert('勾选的数据不能为空!', '提示框', {
|
||||||
confirmButtonText: 'OK',
|
confirmButtonText: 'OK',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
state.loading = false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleStockOut() {
|
function handleStockOut() {
|
||||||
|
@ -389,8 +389,6 @@ function Release() {
|
|||||||
state.Button_state2 = false
|
state.Button_state2 = false
|
||||||
state.loading3 = false
|
state.loading3 = false
|
||||||
});
|
});
|
||||||
state.loading3 = false
|
|
||||||
state.Button_state2 = false
|
|
||||||
}
|
}
|
||||||
function resetQuery() {
|
function resetQuery() {
|
||||||
queryFormRef.value.resetFields();
|
queryFormRef.value.resetFields();
|
||||||
|
@ -716,7 +716,6 @@ async function submit() {
|
|||||||
confirmButtonText: 'OK'
|
confirmButtonText: 'OK'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
state.loading2 = false
|
|
||||||
state.Button_state = false
|
state.Button_state = false
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user