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) => {