|
@@ -229,6 +229,20 @@
|
|
|
<template v-slot:imgUrl="{ row, $index }">
|
|
<template v-slot:imgUrl="{ row, $index }">
|
|
|
<fileMain v-model="row.imgUrl" type="view"></fileMain>
|
|
<fileMain v-model="row.imgUrl" type="view"></fileMain>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
+ <template v-slot:defaultValue="{ row }">
|
|
|
|
|
+ <div style="display: flex; justify-content: center">
|
|
|
|
|
+ <span>{{ row.symbol }}</span>
|
|
|
|
|
+ <span v-if="row.textType == 3">
|
|
|
|
|
+ {{ row.minValue }}-{{ row.maxValue }}
|
|
|
|
|
+ </span>
|
|
|
|
|
+
|
|
|
|
|
+ <span v-else>
|
|
|
|
|
+ <span>{{ row.defaultValue }}</span>
|
|
|
|
|
+ </span>
|
|
|
|
|
+
|
|
|
|
|
+ {{ row.unitName }}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </template>
|
|
|
|
|
|
|
|
<template v-slot:isRequired="{ column }">
|
|
<template v-slot:isRequired="{ column }">
|
|
|
<span class="is-required">{{ column.label }}</span>
|
|
<span class="is-required">{{ column.label }}</span>
|
|
@@ -595,6 +609,7 @@
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
minWidth: 150,
|
|
minWidth: 150,
|
|
|
|
|
+ slot: 'defaultValue',
|
|
|
prop: 'defaultValue',
|
|
prop: 'defaultValue',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
label: '工艺参数',
|
|
label: '工艺参数',
|
|
@@ -688,7 +703,9 @@
|
|
|
slot: 'qualityResults',
|
|
slot: 'qualityResults',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
label: '质检结果',
|
|
label: '质检结果',
|
|
|
- showOverflowTooltip: true
|
|
|
|
|
|
|
+ showOverflowTooltip: true,
|
|
|
|
|
+ fixed: 'right'
|
|
|
|
|
+
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
minWidth: 150,
|
|
minWidth: 150,
|
|
@@ -848,7 +865,7 @@
|
|
|
},
|
|
},
|
|
|
handleOneKeyQualified() {
|
|
handleOneKeyQualified() {
|
|
|
this.tableData.forEach((item, index) => {
|
|
this.tableData.forEach((item, index) => {
|
|
|
- this.$set(this.tableData[index],'qualityResults',1)
|
|
|
|
|
|
|
+ this.$set(this.tableData[index], 'qualityResults', 1);
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
formSampleQuantityChange() {
|
|
formSampleQuantityChange() {
|