This commit is contained in:
mkm 2024-08-07 18:32:40 +08:00
parent 5542d67b1e
commit d16b9b693f
1 changed files with 9 additions and 9 deletions

View File

@ -276,15 +276,15 @@ const handleSubmit = async () => {
stock_type: stock_type.value,
warehouse_id: warehouse_id.value
}).then((res) => {
removeTab()
if (res.code == 1) {
ElMessage.success(res.msg)
// removeTab()
// if (res.code == 1) {
// ElMessage.success(res.msg)
setTimeout(() => {
removeTab()
}, 2000)
} else {
ElMessage.error(res.msg)
}
// } else {
// ElMessage.error(res.msg)
// }
// router.push({
// path: '/warehouse/warehouse_product'