src/views/inventoryManagement/stockManagement/index.vue
@@ -6,7 +6,11 @@ :label="tab.productName" :name="tab.id" :key="tab.id"> <Record :product-id="tab.id" v-if="tab.id === activeTab" /> <Record :product-id="tab.id" :is-finished-product="tab.productName?.includes('成品')" v-if="tab.id === activeTab" /> </el-tab-pane> </el-tabs> </div> @@ -41,4 +45,4 @@ onMounted(() => { fetchProducts(); }) </script> </script>