feat: 进销存更新

This commit is contained in:
wwz
2025-04-08 17:41:30 +08:00
parent 6fb991ff32
commit 86f68a5cdf
7 changed files with 96 additions and 75 deletions

View File

@@ -168,7 +168,7 @@ const refAddHaocaiTakin = ref();
function refAddHaocaiTakinShow(item: any, type: string) {
console.log(item);
if (type === "manual-in") {
router.push({ path: "/inventory/libraryrecords", query: { type: type, conId: item.id } });
router.push({ path: "/inventory/libraryrecords", query: { inOutType: type, conId: item.id } });
return;
}
if (type === "delete") {
@@ -222,7 +222,7 @@ function handleToolbarClick(name: string) {
return;
}
if (name == "damage-out" || name == "manual-out" || name == "manual-in") {
router.push({ path: "/inventory/libraryrecords", query: { type: name } });
router.push({ path: "/inventory/libraryrecords", query: { inOutType: name } });
return;
}
}