|
@@ -100,8 +100,8 @@
|
|
|
},
|
|
},
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
- // 当前编辑数据
|
|
|
|
|
- current: null,
|
|
|
|
|
|
|
+
|
|
|
|
|
+ selection: [],
|
|
|
|
|
|
|
|
columns: [
|
|
columns: [
|
|
|
{
|
|
{
|
|
@@ -112,6 +112,13 @@
|
|
|
reserveSelection: true
|
|
reserveSelection: true
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ prop: 'itemVO.categoryLevelName',
|
|
|
|
|
+ label: '质检类型',
|
|
|
|
|
+ align: 'center',
|
|
|
|
|
+ minWidth: 110
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
prop: 'itemVO.inspectionCode',
|
|
prop: 'itemVO.inspectionCode',
|
|
|
label: '参数编码',
|
|
label: '参数编码',
|
|
@@ -145,24 +152,7 @@
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'itemVO.maxValue',
|
|
|
|
|
- // label: '参数上限',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // showOverflowTooltip: true
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'itemVO.minValue',
|
|
|
|
|
- // label: '参数下限',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // showOverflowTooltip: true
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // prop: 'itemVO.defaultValue',
|
|
|
|
|
- // label: '默认值',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // showOverflowTooltip: true
|
|
|
|
|
- // },
|
|
|
|
|
|
|
+
|
|
|
{
|
|
{
|
|
|
label: '工艺要求',
|
|
label: '工艺要求',
|
|
|
prop: 'itemVO.inspectionStandard',
|
|
prop: 'itemVO.inspectionStandard',
|
|
@@ -246,7 +236,19 @@
|
|
|
this.categoryLevelId = info.id;
|
|
this.categoryLevelId = info.id;
|
|
|
this.rootCategoryLevelId = info.rootCategoryLevelId;
|
|
this.rootCategoryLevelId = info.rootCategoryLevelId;
|
|
|
this.reload();
|
|
this.reload();
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ handleSelectionChange() {
|
|
|
|
|
+ let _arr = []
|
|
|
|
|
+ _arr = this.selection.map((m) => {
|
|
|
|
|
+ return {
|
|
|
|
|
+ ...m
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ this.$emit('selectChange', _arr)
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
</script>
|
|
</script>
|