|
@@ -231,19 +231,32 @@
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
showOverflowTooltip: true
|
|
showOverflowTooltip: true
|
|
|
},
|
|
},
|
|
|
- // {
|
|
|
|
|
- // prop: 'bomCategoryName',
|
|
|
|
|
- // label: 'BOM版本',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // width: 130,
|
|
|
|
|
- // showOverflowTooltip: true,
|
|
|
|
|
- // formatter: (row) => {
|
|
|
|
|
- // if (row.bomCategoryName) {
|
|
|
|
|
- // return `${row.bomCategoryName} (V${row.bomCategoryVersions}.0)`;
|
|
|
|
|
- // }
|
|
|
|
|
- // return '';
|
|
|
|
|
- // }
|
|
|
|
|
- // },
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ prop: 'bomType',
|
|
|
|
|
+ label: 'BOM类型',
|
|
|
|
|
+ align: 'center',
|
|
|
|
|
+ width: 130,
|
|
|
|
|
+ showOverflowTooltip: true,
|
|
|
|
|
+ formatter: (row) => {
|
|
|
|
|
+ if (row.bomType) {
|
|
|
|
|
+ return row.bomType == 1 ? 'PBOM' : row.bomType == 2 ? 'MBOM' : row.bomType == 3 ? 'ABOM' : 'EBOM';
|
|
|
|
|
+ }
|
|
|
|
|
+ return '';
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ prop: 'versions',
|
|
|
|
|
+ label: 'BOM版本',
|
|
|
|
|
+ align: 'center',
|
|
|
|
|
+ width: 130,
|
|
|
|
|
+ showOverflowTooltip: true,
|
|
|
|
|
+ formatter: (row) => {
|
|
|
|
|
+ if (row.versions) {
|
|
|
|
|
+ return `V${row.versions}.0`;
|
|
|
|
|
+ }
|
|
|
|
|
+ return '';
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
prop: 'productName',
|
|
prop: 'productName',
|
|
|
label: '名称',
|
|
label: '名称',
|