|
|
@ -25,29 +25,82 @@ export const SparePartsOutLocationMain = useCrudSchemas( |
|
|
|
isForm: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '描述', |
|
|
|
field: 'description', |
|
|
|
label: '出库类型', |
|
|
|
field: 'outType', |
|
|
|
dictType: DICT_TYPE.EAM_OUT_TYPE, |
|
|
|
dictClass: 'string', |
|
|
|
isTable: true, |
|
|
|
sort: 'custom', |
|
|
|
isSearch: true |
|
|
|
isSearch: false, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
type: 'Select' |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '申领备件总价', |
|
|
|
field: 'sumVal', |
|
|
|
label: '关联工单', |
|
|
|
field: 'workNumber', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: false, |
|
|
|
isTable: false, |
|
|
|
isForm: false |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
componentProps: { |
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
searchTitle: '设备信息', // 查询弹窗标题
|
|
|
|
searchListPlaceholder: '请选择 设备编号', // 输入框占位文本
|
|
|
|
searchAllSchemas: EquipmentAccounts.allSchemas, // 查询弹窗所需类
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
searchPage: EquipmentItemApi.getEquipmentAccountsPage, // 查询弹窗所需分页方法
|
|
|
|
multiple: true, |
|
|
|
searchCondition: [ |
|
|
|
{ |
|
|
|
key: 'status', |
|
|
|
value: 'NORMAL', |
|
|
|
action: '==', |
|
|
|
isSearch: true, |
|
|
|
isMainValue: false |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
isInpuFocusShow: true, |
|
|
|
searchListPlaceholder: '请选择备件编号', // 输入框占位文本
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '备件信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: EquipmentAccounts.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: EquipmentItemApi.getEquipmentAccountsPage, // 查询弹窗所需分页方法
|
|
|
|
searchCondition: [ |
|
|
|
{ |
|
|
|
key: 'status', |
|
|
|
value: 'NORMAL', |
|
|
|
action: '==', |
|
|
|
isSearch: true, |
|
|
|
isMainValue: false |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
label: '出库主题', |
|
|
|
field: 'theme', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: true |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '流程状态', |
|
|
|
field: 'status', |
|
|
|
sort: 'custom', |
|
|
|
dictType: DICT_TYPE.SPAREPARTS_APPLY_STATUS_ENUM, |
|
|
|
dictClass: 'string', // 默认都是字符串类型其他暂不考虑
|
|
|
|
isSearch: true, |
|
|
|
form: { |
|
|
|
component: 'Select' |
|
|
|
} |
|
|
|
isSearch: false, |
|
|
|
isForm: false, |
|
|
|
|
|
|
|
dictType: DICT_TYPE.EAM_OUT_STATUS, |
|
|
|
dictClass: 'string' |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '申请人', |
|
|
@ -204,67 +257,6 @@ export const SparePartsOutLocationDetail = useCrudSchemas( |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '设备类别', |
|
|
|
field: 'type', |
|
|
|
dictType: DICT_TYPE.DEVICE_TYPE, |
|
|
|
dictClass: 'string', |
|
|
|
isTable: true, |
|
|
|
sort: 'custom', |
|
|
|
isSearch: false, |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
type: 'Select' |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '设备工装编号', |
|
|
|
field: 'equipmentCode', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
componentProps: { |
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
searchTitle: '设备信息', // 查询弹窗标题
|
|
|
|
searchListPlaceholder: '请选择 设备编号', // 输入框占位文本
|
|
|
|
searchAllSchemas: EquipmentAccounts.allSchemas, // 查询弹窗所需类
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
searchPage: EquipmentItemApi.getEquipmentAccountsPage, // 查询弹窗所需分页方法
|
|
|
|
multiple: true, |
|
|
|
searchCondition: [ |
|
|
|
{ |
|
|
|
key: 'status', |
|
|
|
value: 'NORMAL', |
|
|
|
action: '==', |
|
|
|
isSearch: true, |
|
|
|
isMainValue: false |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
isInpuFocusShow: true, |
|
|
|
searchListPlaceholder: '请选择备件编号', // 输入框占位文本
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '备件信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: EquipmentAccounts.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: EquipmentItemApi.getEquipmentAccountsPage, // 查询弹窗所需分页方法
|
|
|
|
searchCondition: [ |
|
|
|
{ |
|
|
|
key: 'status', |
|
|
|
value: 'NORMAL', |
|
|
|
action: '==', |
|
|
|
isSearch: true, |
|
|
|
isMainValue: false |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
label: '库存数量', |
|
|
@ -281,6 +273,16 @@ export const SparePartsOutLocationDetail = useCrudSchemas( |
|
|
|
sort: 'custom', |
|
|
|
isSearch: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '流程状态', |
|
|
|
field: 'status', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: false, |
|
|
|
isForm: false, |
|
|
|
|
|
|
|
dictType: DICT_TYPE.EAM_OUT_STATUS, |
|
|
|
dictClass: 'string' |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '备注', |
|
|
|
field: 'remark', |
|
|
|