|
|
@@ -424,17 +424,27 @@
|
|
|
},
|
|
|
{
|
|
|
prop: 'productType',
|
|
|
- label: '生产类型',
|
|
|
+ label: 'BOM类型',
|
|
|
align: 'center',
|
|
|
width: 120,
|
|
|
formatter: (row) => {
|
|
|
+ if (row.produceType == 1) {
|
|
|
+ return 'PBOM';
|
|
|
+ }
|
|
|
if (row.produceType == 2) {
|
|
|
- return '加工(MBOM)';
|
|
|
+ return 'MBOM';
|
|
|
}
|
|
|
if (row.produceType == 3) {
|
|
|
- return '装配(ABOM)';
|
|
|
+ return 'ABOM';
|
|
|
}
|
|
|
- return '';
|
|
|
+ // return '';
|
|
|
+ // if (row.produceType == 2) {
|
|
|
+ // return '加工(MBOM)';
|
|
|
+ // }
|
|
|
+ // if (row.produceType == 3) {
|
|
|
+ // return '装配(ABOM)';
|
|
|
+ // }
|
|
|
+ // return '';
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
@@ -457,6 +467,32 @@
|
|
|
minWidth: 170,
|
|
|
showOverflowTooltip: true
|
|
|
},
|
|
|
+ {
|
|
|
+ prop: 'modelKey',
|
|
|
+ label: '机型',
|
|
|
+ align: 'center',
|
|
|
+ minWidth: 120,
|
|
|
+ showOverflowTooltip: true,
|
|
|
+ formatter: (row) => {
|
|
|
+ if (row.modelKey) {
|
|
|
+ return row.modelKey.toString();
|
|
|
+ }
|
|
|
+ return '';
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ prop: 'colorKey',
|
|
|
+ label: '颜色',
|
|
|
+ align: 'center',
|
|
|
+ minWidth: 120,
|
|
|
+ showOverflowTooltip: true,
|
|
|
+ formatter: (row) => {
|
|
|
+ if (row.colorKey) {
|
|
|
+ return row.colorKey.toString();
|
|
|
+ }
|
|
|
+ return '';
|
|
|
+ }
|
|
|
+ },
|
|
|
{
|
|
|
prop: 'productCode',
|
|
|
label: '编码',
|
|
|
@@ -482,7 +518,7 @@
|
|
|
prop: 'brandNo',
|
|
|
label: '牌号',
|
|
|
align: 'center',
|
|
|
- showOverflowTooltip: true,
|
|
|
+ showOverflowTooltip: true
|
|
|
},
|
|
|
|
|
|
{
|