制造成本分析下所有单项页面修改
This commit is contained in:
@@ -391,10 +391,10 @@ export default {
|
||||
{ prop: 'type', label: '指标类型', align: 'center' },
|
||||
{ prop: 'name', label: '指标名称', align: 'center' },
|
||||
{ prop: 'unit', label: '单位', align: 'center', filter: publicFormatter('lb_dw') },
|
||||
{ prop: 'target', label: '预估值', align: 'center' },
|
||||
{ prop: 'target', label: '预算值', align: 'center' },
|
||||
];
|
||||
if (isEdit) {
|
||||
// 编辑模式:仅给「预估值」列添加inputArea(精准挂载,避免无效配置)
|
||||
// 编辑模式:仅给「预算值」列添加inputArea(精准挂载,避免无效配置)
|
||||
this.tableProps = baseTableProps.map(item => {
|
||||
if (item.prop === 'target') { // 只给需要编辑的列添加子组件
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user