设备部位新增
This commit is contained in:
@@ -4,7 +4,7 @@ import { checkPartCode } from './MesXslEquipmentPart.api';
|
||||
export const columns: BasicColumn[] = [
|
||||
{ title: '部位代码', align: 'center', dataIndex: 'partCode', width: 120 },
|
||||
{ title: '类别名称', align: 'center', dataIndex: 'equipmentCategoryName', width: 160 },
|
||||
{ title: '部门名称', align: 'center', dataIndex: 'deptName', width: 140 },
|
||||
{ title: '部位名称', align: 'center', dataIndex: 'partName', width: 140 },
|
||||
{ title: '部位描述', align: 'center', dataIndex: 'partDescription', width: 200, ellipsis: true },
|
||||
{ title: '是否启用', align: 'center', dataIndex: 'enableStatus_dictText', width: 100 },
|
||||
{ title: '创建人', align: 'center', dataIndex: 'createBy', width: 100 },
|
||||
@@ -21,7 +21,7 @@ export const columns: BasicColumn[] = [
|
||||
export const searchFormSchema: FormSchema[] = [
|
||||
{ label: '部位代码', field: 'partCode', component: 'Input', colProps: { span: 6 } },
|
||||
{ label: '类别名称', field: 'equipmentCategoryName', component: 'Input', colProps: { span: 6 } },
|
||||
{ label: '部门名称', field: 'deptName', component: 'Input', colProps: { span: 6 } },
|
||||
{ label: '部位名称', field: 'partName', component: 'Input', colProps: { span: 6 } },
|
||||
{
|
||||
label: '是否启用',
|
||||
field: 'enableStatus',
|
||||
@@ -66,11 +66,11 @@ export const formSchema: FormSchema[] = [
|
||||
slot: 'equipmentCategoryPicker',
|
||||
},
|
||||
{
|
||||
label: '部门名称',
|
||||
field: 'deptName',
|
||||
label: '部位名称',
|
||||
field: 'partName',
|
||||
required: true,
|
||||
component: 'Input',
|
||||
componentProps: { placeholder: '请输入部门名称' },
|
||||
componentProps: { placeholder: '请输入部位名称' },
|
||||
},
|
||||
{ label: '部位描述', field: 'partDescription', component: 'InputTextArea', componentProps: { rows: 3 } },
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user