liding
2026-05-20 feaeb3e3ac6d9e7606fce5e3ae80de3cca9c846f
src/views/collaborativeApproval/purchaseApproval/index.vue
@@ -571,8 +571,12 @@
  getProductOptions();
};
const getProductOptions = () => {
  productTreeList().then((res) => {
    productOptions.value = convertIdToValue(res);
  productTreeList({ productName: "成品" }).then((res) => {
    const tree = convertIdToValue(res);
    const finishedNode = tree.find(
      (item) => item?.label === "成品" || item?.productName === "成品"
    );
    productOptions.value = finishedNode?.children || tree;
  });
};
const getModels = (value) => {