|
|
@@ -35,15 +35,6 @@
|
|
|
}}</div>
|
|
|
</div>
|
|
|
|
|
|
- <el-link
|
|
|
- type="danger"
|
|
|
- :underline="false"
|
|
|
- icon="el-icon-delete"
|
|
|
- @click="handDel(idx)"
|
|
|
- >
|
|
|
- 删除
|
|
|
- </el-link>
|
|
|
-
|
|
|
<el-form ref="form" style="width: 100%">
|
|
|
<el-table
|
|
|
style="margin-top: 15px"
|
|
|
@@ -71,7 +62,7 @@
|
|
|
<el-form-item label-width="0" prop="finalValue">
|
|
|
<el-input
|
|
|
clearable
|
|
|
- :disabled="type == 'detail'"
|
|
|
+ disabled
|
|
|
v-model="scope.row.finalValue"
|
|
|
placeholder="请输入"
|
|
|
/>
|
|
|
@@ -90,6 +81,7 @@
|
|
|
<el-form-item label-width="0" prop="initialValue">
|
|
|
<el-input
|
|
|
clearable
|
|
|
+ disabled
|
|
|
v-model="scope.row.initialValue"
|
|
|
placeholder="请输入"
|
|
|
/>
|
|
|
@@ -108,6 +100,7 @@
|
|
|
<el-form-item label-width="0" prop="defaultValue">
|
|
|
<el-input
|
|
|
clearable
|
|
|
+ disabled
|
|
|
v-model="scope.row.defaultValue"
|
|
|
placeholder="请输入"
|
|
|
/>
|
|
|
@@ -124,12 +117,14 @@
|
|
|
<template slot-scope="scope">
|
|
|
<el-form-item label-width="0" prop="inspectionStandard">
|
|
|
<el-input
|
|
|
+ disabled
|
|
|
clearable
|
|
|
v-model="scope.row.toleranceValue"
|
|
|
placeholder="请输入"
|
|
|
>
|
|
|
<DictSelection
|
|
|
style="width: 100px"
|
|
|
+ disabled
|
|
|
slot="prepend"
|
|
|
clearable
|
|
|
dictName="数学字符"
|
|
|
@@ -140,19 +135,6 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
-
|
|
|
- <el-table-column label="操作" align="center" width="70">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-link
|
|
|
- type="danger"
|
|
|
- :underline="false"
|
|
|
- icon="el-icon-delete"
|
|
|
- @click="handDel2(idx, scope.$index)"
|
|
|
- >
|
|
|
- 删除
|
|
|
- </el-link>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
</el-table>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
@@ -212,16 +194,6 @@
|
|
|
}
|
|
|
},
|
|
|
|
|
|
- handDel(index) {
|
|
|
- this.$confirm('是否删除该质检项', '删除', {
|
|
|
- type: 'warning'
|
|
|
- })
|
|
|
- .then(() => {
|
|
|
- this.list.splice(index, 1);
|
|
|
- })
|
|
|
- .catch(() => {});
|
|
|
- },
|
|
|
-
|
|
|
async getDictList(code) {
|
|
|
let { data: res } = await getByCode(code);
|
|
|
this.dictList = res.map((item) => {
|
|
|
@@ -233,10 +205,6 @@
|
|
|
});
|
|
|
},
|
|
|
|
|
|
- handDel2(idx, index) {
|
|
|
- this.list[idx].qualityStandard.parameterStandards.splice(index, 1);
|
|
|
- },
|
|
|
-
|
|
|
getDate() {
|
|
|
return this.list;
|
|
|
}
|