|
@@ -154,6 +154,27 @@
|
|
|
slot: 'modelType',
|
|
slot: 'modelType',
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
|
|
+ {
|
|
|
|
|
+ width: 120,
|
|
|
|
|
+ prop: 'produceType',
|
|
|
|
|
+ align: 'center',
|
|
|
|
|
+ label: '属性类型',
|
|
|
|
|
+ showOverflowTooltip: true,
|
|
|
|
|
+ formatter: (row, column) => {
|
|
|
|
|
+ return row.produceType && row.produceType.length
|
|
|
|
|
+ ? row.produceType
|
|
|
|
|
+ .map((item) => this.getDictValue('生产类型', item + ''))
|
|
|
|
|
+ .join(',')
|
|
|
|
|
+ : '';
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ width: 120,
|
|
|
|
|
+ prop: 'packingSpecification',
|
|
|
|
|
+ align: 'center',
|
|
|
|
|
+ label: '包装规格',
|
|
|
|
|
+ showOverflowTooltip: true
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
width: 120,
|
|
width: 120,
|
|
|
prop: 'supplierMark',
|
|
prop: 'supplierMark',
|
|
@@ -363,6 +384,7 @@
|
|
|
created() {
|
|
created() {
|
|
|
console.log(this.detailData, 'detailData');
|
|
console.log(this.detailData, 'detailData');
|
|
|
this.requestDict('产地');
|
|
this.requestDict('产地');
|
|
|
|
|
+ this.requestDict('生产类型');
|
|
|
},
|
|
},
|
|
|
methods: {}
|
|
methods: {}
|
|
|
};
|
|
};
|