| | |
| | | <el-table-column label="类型" align="center" prop="typeL"> |
| | | </el-table-column> |
| | | <el-table-column label="单位" align="center" prop="unit"> |
| | | <template slot-scope="scope"> |
| | | <dict-tag :options="dict.type.unit" :value="scope.row.unit"/> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| | | <template slot-scope="scope"> |
| | |
| | | <el-input v-model="form.typeL" placeholder="请输入类型" /> |
| | | </el-form-item> |
| | | <el-form-item label="单位" prop="unit"> |
| | | <el-input v-model="form.unit" placeholder="请输入单位" /> |
| | | <!-- <el-input v-model="form.unit" placeholder="请输入单位" />--> |
| | | <el-select v-model="form.unit" placeholder="请选择单位" clearable> |
| | | <el-option |
| | | v-for="dict in dict.type.unit" |
| | | :key="dict.value" |
| | | :label="dict.label" |
| | | :value="dict.value" |
| | | /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="备注" prop="remarks"> |
| | | <el-input v-model="form.remarks" placeholder="请输入备注" /> |
| | |
| | | |
| | | export default { |
| | | name: "Material", |
| | | dicts: ['sys_normal_disable'], |
| | | dicts: ['sys_normal_disable','unit'], |
| | | data() { |
| | | return { |
| | | // 遮罩层 |