From bfc02d9cd38ccdeb09b3a1f2545e1c75cdf39b29 Mon Sep 17 00:00:00 2001
From: liyong <18434998025@163.com>
Date: 星期四, 14 五月 2026 18:01:10 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev_浪潮' into dev_浪潮

---
 src/views/basicData/product/materialIndex.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/views/basicData/product/materialIndex.vue b/src/views/basicData/product/materialIndex.vue
index 66c5cad..677dac9 100644
--- a/src/views/basicData/product/materialIndex.vue
+++ b/src/views/basicData/product/materialIndex.vue
@@ -440,7 +440,7 @@
           form.value.parentId = "";
         } else {
           form.value.id = currentId.value;
-          form.value.parentId = "";
+          form.value.parentId = currentParentId.value;
         }
         addOrEditProduct(form.value).then(res => {
           proxy.$modal.msgSuccess("鎻愪氦鎴愬姛");

--
Gitblit v1.9.3