半成品管理

This commit is contained in:
砂糖
2025-08-11 15:04:35 +08:00
parent ced0cd350d
commit 6928b95c9c
5 changed files with 499 additions and 4 deletions

View File

@@ -56,7 +56,7 @@
</el-table-column>
<el-table-column label="物品" align="center" prop="itemName">
<template slot-scope="scope">
<ProductInfo v-if="scope.row.itemType === 'product'" :productId="scope.row.itemId">
<ProductInfo v-if="scope.row.itemType == 'product' || scope.row.itemType == 'semi'" :productId="scope.row.itemId">
<template #default="{ product }">
{{ product.productName }}({{ product.productCode }})
</template>