|
|
@ -217,19 +217,17 @@ export const SparePartsOutLocationMainRules = reactive({ |
|
|
|
export const SparePartsOutLocationDetail = useCrudSchemas( |
|
|
|
reactive<CrudSchema[]>([ |
|
|
|
{ |
|
|
|
label: '备件编号', |
|
|
|
field: 'sparePartsCode', |
|
|
|
label: '库位编号', |
|
|
|
field: 'locationCode', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
isSearch: false, |
|
|
|
form: { |
|
|
|
// labelMessage: '信息提示说明!!!',
|
|
|
|
componentProps: { |
|
|
|
isSearchList: true, // 开启查询弹窗
|
|
|
|
searchListPlaceholder: '请选择备件编号', // 输入框占位文本
|
|
|
|
searchField: 'itemNumber', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '备件信息', // 查询弹窗标题
|
|
|
|
searchListPlaceholder: '请选择库位编号', // 输入框占位文本
|
|
|
|
searchField: 'code', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '库位信息', // 查询弹窗标题
|
|
|
|
|
|
|
|
searchAllSchemas: ItemAccounts.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: ItemAccountsApi.getItemAccountsPage, // 查询弹窗所需分页方法
|
|
|
|
searchCondition: [ |
|
|
@ -246,6 +244,7 @@ export const SparePartsOutLocationDetail = useCrudSchemas( |
|
|
|
searchListPlaceholder: '请选择备件编号', // 输入框占位文本
|
|
|
|
searchField: 'itemNumber', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '备件信息', // 查询弹窗标题
|
|
|
|
|
|
|
|
searchAllSchemas: ItemAccounts.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: ItemAccountsApi.getItemAccountsPage, // 查询弹窗所需分页方法
|
|
|
|
searchCondition: [ |
|
|
@ -257,7 +256,36 @@ export const SparePartsOutLocationDetail = useCrudSchemas( |
|
|
|
] |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
{ |
|
|
|
label: '库区编号', |
|
|
|
field: 'areaCode', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: false, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '备件编号', |
|
|
|
field: 'sparePartsCode', |
|
|
|
sort: 'custom', |
|
|
|
table: { |
|
|
|
width: 150 |
|
|
|
}, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '库存数量', |
|
|
|
field: 'currentQty', |
|
|
@ -265,7 +293,14 @@ export const SparePartsOutLocationDetail = useCrudSchemas( |
|
|
|
isSearch: false, |
|
|
|
tableForm: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
form: { |
|
|
|
componentProps: { |
|
|
|
disabled: true |
|
|
|
} |
|
|
|
}, |
|
|
|
isDetail: false, |
|
|
|
isTable: false |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '申领数量', |
|
|
|