Commit c75db162 authored by 徐俊's avatar 徐俊

xujun

parent fccb1fbe
<template> <template>
<div style=" width:auto; display:inline-block !important; display:inline;"> <div style=" width:auto; display:inline-block !important; display:inline;">
<a-select :style="{width: width + 'px'}" v-model="selected" @change="selectChange" :key="0"> <a-select :style="{width: width + 'px'}" v-model="selected" @change="selectChange" :key="0" :disabled="disabled">
<a-select-option v-for="item in selectArray" :key="item.key" :value="item.key" select>{{ item.title }}</a-select-option> <a-select-option v-for="item in selectArray" :key="item.key" :value="item.key" select>{{ item.title }}</a-select-option>
</a-select> </a-select>
</div> </div>
...@@ -54,6 +54,12 @@ export default { ...@@ -54,6 +54,12 @@ export default {
return '' return ''
} }
}, },
disabled: {
type: Boolean,
default () {
return false
},
},
}, },
created () { created () {
this.initiData(); this.initiData();
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
</a-col> </a-col>
<a-col :span="20"> <a-col :span="20">
<a-form-model-item prop="groupYear"> <a-form-model-item prop="groupYear">
<base-select v-model="formData.groupYear" :type="8" :width="160" /> <base-select v-model="formData.groupYear" :type="8" :width="160" :disabled="disabled" />
</a-form-model-item> </a-form-model-item>
</a-col> </a-col>
</a-row> </a-row>
...@@ -122,6 +122,7 @@ export default { ...@@ -122,6 +122,7 @@ export default {
assignState: [{ required: false }], assignState: [{ required: false }],
remark: [{ required: false }], remark: [{ required: false }],
}, },
disabled: true,
} }
}, },
created() { created() {
......
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