Commit 06249216 authored by 高滢's avatar 高滢

feat(指定检测方案): 输入和选择

parent cccfb0f5
...@@ -15,16 +15,17 @@ ...@@ -15,16 +15,17 @@
> >
</el-checkbox> </el-checkbox>
<el-input <el-input
v-if="chekECU(k)"
v-bind="items" v-bind="items"
placeholder="请输入" placeholder="请输入"
:disabled="!model.list[k].check" :disabled="!model.list[k].check"
style="width: 10rem; margin: 0 10px" style="width: 10rem;margin-left: 10px"
v-model="model.list[k].value" v-model="model.list[k].value"
@input="input" @input="input"
> >
</el-input> </el-input>
<div <div
style="width: 20rem; display: inline-block; vertical-align: middle" style="width: 20rem; display: inline-block; vertical-align: middle;margin: 0 10px;color: #666666"
> >
{{ i.object }} {{ i.object }}
</div> </div>
...@@ -87,6 +88,17 @@ export default { ...@@ -87,6 +88,17 @@ export default {
} }
}, },
methods: { methods: {
chekECU(k){
if(this.prop=='chcek44'){
if(k==0||k==1){
return false
}else{
return true
}
}else {
return true
}
},
mergeSource({ name, flag }) { mergeSource({ name, flag }) {
if (this.status) { if (this.status) {
return return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment