|
|
@@ -570,6 +570,36 @@
|
|
|
)?.label;
|
|
|
}
|
|
|
},
|
|
|
+ {
|
|
|
+ prop: 'modelKey',
|
|
|
+ label: '机型',
|
|
|
+ align: 'center',
|
|
|
+ minWidth: 150,
|
|
|
+ showOverflowTooltip: true,
|
|
|
+ formatter: (row, column) => {
|
|
|
+ return row.modelKey
|
|
|
+ ? row.modelKey
|
|
|
+ .split(',')
|
|
|
+ ?.map((item) => this.getDictValue('物品机型', item))
|
|
|
+ .toString()
|
|
|
+ : '';
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: 'colorKey',
|
|
|
+ label: '颜色',
|
|
|
+ align: 'center',
|
|
|
+ minWidth: 150,
|
|
|
+ showOverflowTooltip: true,
|
|
|
+ formatter: (row, column) => {
|
|
|
+ return row.colorKey
|
|
|
+ ? row.colorKey
|
|
|
+ .split(',')
|
|
|
+ ?.map((item) => this.getDictValue('物品颜色', item))
|
|
|
+ .toString()
|
|
|
+ : '';
|
|
|
+ }
|
|
|
+ },
|
|
|
{
|
|
|
prop: 'isEnabled',
|
|
|
align: 'center',
|
|
|
@@ -628,6 +658,9 @@
|
|
|
}
|
|
|
});
|
|
|
// this.requestDict('生产类型');
|
|
|
+ this.requestDict('物品机型');
|
|
|
+ this.requestDict('物品颜色');
|
|
|
+
|
|
|
this.getFieldModel();
|
|
|
},
|
|
|
|