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; }); };