|
@ -27,7 +27,7 @@ |
|
|
<el-form-item label="记录编号"> |
|
|
<el-form-item label="记录编号"> |
|
|
<el-input v-model="jlbh1" style="width:80px" disabled /> |
|
|
<el-input v-model="jlbh1" style="width:80px" disabled /> |
|
|
<el-input v-model="jlbh2" style="width:80px" disabled />- |
|
|
<el-input v-model="jlbh2" style="width:80px" disabled />- |
|
|
<el-input v-model="jlbh3" style="width:85px" @blur="judgeRepeat(jlbh1 + jlbh2 + '-' + jlbh3 , ysjl.id)" /> |
|
|
<el-input v-model="jlbh3" style="width:85px" /> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col v-else :span="9"> |
|
|
<el-col v-else :span="9"> |
|
@ -366,9 +366,9 @@ |
|
|
<el-table-column align="center" prop="jianyanmu" width="200" /> |
|
|
<el-table-column align="center" prop="jianyanmu" width="200" /> |
|
|
<el-table-column align="left" prop="jianyanneirong" /> |
|
|
<el-table-column align="left" prop="jianyanneirong" /> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column align="center" prop="D1" label="检验结果"> |
|
|
<el-table-column align="center" prop="jianyanjieguo" label="检验结果"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<el-select v-model="scope.row.D1" :disabled="edit" type="text" placeholder="请选择" style="width: 100%;" filterable allow-create default-first-option> |
|
|
<el-select v-model="scope.row.jianyanjieguo" :disabled="edit" type="text" placeholder="请选择" style="width: 100%;" filterable allow-create default-first-option> |
|
|
<el-option label="√" value="√" /> |
|
|
<el-option label="√" value="√" /> |
|
|
<el-option label="○" value="○" /> |
|
|
<el-option label="○" value="○" /> |
|
|
<el-option label="×" value="×" /> |
|
|
<el-option label="×" value="×" /> |
|
@ -447,13 +447,13 @@ export default { |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
watch: { |
|
|
watch: { |
|
|
// jlbh3: function(val) { |
|
|
jlbh3: function(val) { |
|
|
// this.ysjl.jilubianhao = this.jlbh1 + this.jlbh2 + '-' + val |
|
|
this.ysjl.jilubianhao = this.jlbh1 + this.jlbh2 + '-' + val |
|
|
// this.judgeRepeat(this.ysjl.jilubianhao, this.ysjl.id) |
|
|
this.judgeRepeat(this.ysjl.jilubianhao, this.ysjl.id) |
|
|
// }, |
|
|
}, |
|
|
// jilubianhao: function(newValue) { |
|
|
jilubianhao: function(newValue) { |
|
|
// this.judgeRepeat(newValue, this.ysjl.id) |
|
|
this.judgeRepeat(newValue, this.ysjl.id) |
|
|
// } |
|
|
} |
|
|
}, |
|
|
}, |
|
|
// 添加F5刷新监听事件 |
|
|
// 添加F5刷新监听事件 |
|
|
mounted() { |
|
|
mounted() { |
|
|