半成品管理

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

@@ -52,7 +52,7 @@
<el-table-column prop="time" label="时间" width="180" align="center" />
<el-table-column prop="itemId" label="物料" align="center">
<template #default="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" />
<RawMaterialInfo v-else :materialId="scope.row.itemId" />
</template>
</el-table-column>