基础信息设备

yangwl
A0010407 1 year ago
parent 13a2dd7e47
commit a514010012

@ -8,8 +8,15 @@
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
</el-form-item>
<el-form-item label="组织编码" prop="factoryCode">
<el-input
v-model="queryParams.factoryCode"
placeholder="请输入组织编码"
clearable
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="启用状态" prop="status">
<el-input
v-model="queryParams.status"
@ -58,7 +65,7 @@
:default-expand-all="isExpandAll"
:tree-props="{children: 'children', hasChildren: 'hasChildren'}"
>
<el-table-column label="组织名称" align="center" prop="factoryName" />
<el-table-column label="组织名称" align="center" prop="factoryName" width="350"/>
<el-table-column label="组织编码" align="center" prop="factoryCode" />
<el-table-column label="创建人" align="center" prop="createBy" />
<el-table-column label="创建时间" align="center" prop="createTime" />
@ -178,8 +185,18 @@ export default {
//
form: {},
//
rules: {
}
//
rules: {
factoryCode: [
{ required: true, message: "组织编码不能为空", trigger: "blur" }
],
factoryName: [
{ required: true, message: "组织名称不能为空", trigger: "blur" }
],
status: [
{ required: true, message: "组织状态不能为空", trigger: "blur" }
]
}
};
},
created() {

Loading…
Cancel
Save