From 5048e4317163819636990183cdf578209f278786 Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期五, 23 十月 2026 11:12:39 +0800
Subject: [PATCH] Revert "feat: 添加产品树过滤功能,支持新增和编辑场景下的产品类别选择"
---
src/views/procurementManagement/procurementLedger/index.vue | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
diff --git a/src/views/procurementManagement/procurementLedger/index.vue b/src/views/procurementManagement/procurementLedger/index.vue
index 86aeb7d..b28df5d 100644
--- a/src/views/procurementManagement/procurementLedger/index.vue
+++ b/src/views/procurementManagement/procurementLedger/index.vue
@@ -547,7 +547,7 @@
filterable
check-strictly
@change="getModels"
- :data="productFormOptions"
+ :data="productOptions"
:render-after-expand="false"
style="width: 100%" />
</el-form-item>
@@ -705,7 +705,6 @@
onMounted,
reactive,
toRefs,
- computed,
getCurrentInstance,
nextTick,
} from "vue";
@@ -763,7 +762,6 @@
import dayjs from "dayjs";
import FileUpload from "@/components/AttachmentUpload/file/index.vue";
import { roundHalfUp, trimZeros } from "@/utils/formatNumber.js";
- import { filterRawMaterialTree } from "@/utils/productTree.js";
const userStore = useUserStore();
@@ -961,12 +959,6 @@
// 浜у搧琛ㄥ崟寮规鏁版嵁
const productFormVisible = ref(false);
const productOperationType = ref("");
- // 鏂板浜у搧鏃朵骇鍝佸ぇ绫诲彧灞曠ず銆屽師鏉愭枡銆嶏紝缂栬緫鏃朵繚鎸佸畬鏁翠骇鍝佹爲
- const productFormOptions = computed(() =>
- productOperationType.value === "add"
- ? filterRawMaterialTree(productOptions.value)
- : productOptions.value
- );
const productOperationIndex = ref("");
const currentId = ref("");
const productFormData = reactive({
--
Gitblit v1.9.3