设备部位新增

This commit is contained in:
2026-05-15 14:22:51 +08:00
parent e7654ef0f6
commit 504dced34b
7 changed files with 39 additions and 15 deletions

View File

@@ -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 } },
{