|
|
@@ -37,9 +37,18 @@
|
|
|
<template v-slot:rootCategoryLevelId="{ row }">
|
|
|
{{ rootCategoryLevelIdText(row.rootCategoryLevelId) }}
|
|
|
</template>
|
|
|
+ <template v-slot:componentAttribute="{ row }">
|
|
|
+ <el-select v-model="row.componentAttribute" filterable multiple disabled class="ele-block" size="mini">
|
|
|
+ <el-option v-for="item in sxtList" :key="item.value" :value="item.value" :label="item.label"></el-option>
|
|
|
+ </el-select>
|
|
|
+ <!-- {{ attributeTypeText(row.attributeType) }} -->
|
|
|
+
|
|
|
+ </template>
|
|
|
|
|
|
<template v-slot:attributeType="{ row }">
|
|
|
+
|
|
|
{{ attributeTypeText(row.attributeType) }}
|
|
|
+
|
|
|
</template>
|
|
|
|
|
|
<template v-slot:produceType="{ row }">
|
|
|
@@ -154,17 +163,25 @@ export default {
|
|
|
label: '物品分类',
|
|
|
showOverflowTooltip: true
|
|
|
},
|
|
|
+ {
|
|
|
+ slot: 'componentAttribute',
|
|
|
+ prop: 'componentAttribute',
|
|
|
+ label: '属性类型',
|
|
|
+ showOverflowTooltip: true,
|
|
|
+ minWidth: 100,
|
|
|
+ },
|
|
|
{
|
|
|
slot: 'attributeType',
|
|
|
prop: 'attributeType',
|
|
|
- label: '属性类型',
|
|
|
+ label: '物料类型',
|
|
|
showOverflowTooltip: true
|
|
|
},
|
|
|
{
|
|
|
prop: 'produceType',
|
|
|
slot: 'produceType',
|
|
|
label: '生产类型',
|
|
|
- showOverflowTooltip: true
|
|
|
+ showOverflowTooltip: true,
|
|
|
+ minWidth: 100,
|
|
|
},
|
|
|
|
|
|
|
|
|
@@ -211,6 +228,24 @@ export default {
|
|
|
label: '操作'
|
|
|
}
|
|
|
],
|
|
|
+ sxtList: [
|
|
|
+ {
|
|
|
+ label: '自制件',
|
|
|
+ value: 1
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '采购件',
|
|
|
+ value: 2
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '外协件',
|
|
|
+ value: 3
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '受托件',
|
|
|
+ value: 4
|
|
|
+ }
|
|
|
+ ],
|
|
|
statusOpt: {
|
|
|
0: '草稿',
|
|
|
1: '已发布',
|