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