|
@@ -22,7 +22,7 @@
|
|
<el-table-column prop="unitPrice" :label="t('workOrderMaterial.unitPrice')" width="180" />
|
|
<el-table-column prop="unitPrice" :label="t('workOrderMaterial.unitPrice')" width="180" />
|
|
<el-table-column prop="quantity" :label="t('workOrderMaterial.ConsumptionQuantity')" width="180" />
|
|
<el-table-column prop="quantity" :label="t('workOrderMaterial.ConsumptionQuantity')" width="180" />
|
|
<el-table-column prop="materialSource" :label="t('bomList.type')" width="180" />
|
|
<el-table-column prop="materialSource" :label="t('bomList.type')" width="180" />
|
|
- <el-table-column :label="t('workplace.operation')" align="right">
|
|
|
|
|
|
+ <el-table-column :label="t('workplace.operation')" align="right" v-if="!props.detail">
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
<el-button
|
|
<el-button
|
|
size="small"
|
|
size="small"
|
|
@@ -81,6 +81,7 @@ const total = ref(0) // 列表的总页数
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
modelValue: Boolean,
|
|
modelValue: Boolean,
|
|
nodeId: Number,
|
|
nodeId: Number,
|
|
|
|
+ detail: Boolean,
|
|
materials: Array, // 接收父组件传递的完整物料列表
|
|
materials: Array, // 接收父组件传递的完整物料列表
|
|
hideExtraColumns: {
|
|
hideExtraColumns: {
|
|
type: Boolean,
|
|
type: Boolean,
|