|
|
@ -30,14 +30,14 @@ export const SparePartsInLocationMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
label: '编号', |
|
|
|
field: 'number', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: false, |
|
|
|
isSearch: true, |
|
|
|
isForm: false, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '入库主题', |
|
|
|
field: 'theme', |
|
|
|
sort: 'custom', |
|
|
|
isSearch: false, |
|
|
|
isSearch: true, |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '流程状态', |
|
|
@ -162,40 +162,6 @@ export const SparePartsInLocationDetailRules = reactive({ |
|
|
|
}) |
|
|
|
|
|
|
|
export const SparePartsInLocationDetail = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
|
{ |
|
|
|
label: 'id', |
|
|
|
field: 'id', |
|
|
|
sort: 'custom', |
|
|
|
|
|
|
|
isSearch: false, |
|
|
|
isTable: false, |
|
|
|
isForm: false, |
|
|
|
isDetail:false, |
|
|
|
isTableForm:false |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '单号', |
|
|
|
field: 'number', |
|
|
|
sort: 'custom', |
|
|
|
|
|
|
|
isSearch: false, |
|
|
|
isTable: false, |
|
|
|
isForm: false, |
|
|
|
isTableForm:false |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '主表ID', |
|
|
|
field: 'masterId', |
|
|
|
sort: 'custom', |
|
|
|
form: { |
|
|
|
component: 'InputNumber', |
|
|
|
value: 0 |
|
|
|
}, |
|
|
|
isSearch: false, |
|
|
|
isTable: false, |
|
|
|
isForm: false, |
|
|
|
isTableForm:false |
|
|
|
}, |
|
|
|
{ |
|
|
|
label: '库位编号', |
|
|
|
field: 'locationCode', |
|
|
@ -219,19 +185,19 @@ export const SparePartsInLocationDetail = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm: { |
|
|
|
isInpuFocusShow: true, |
|
|
|
searchListPlaceholder: '请选择备件编号', // 输入框占位文本
|
|
|
|
searchField: 'itemNumber', // 查询弹窗赋值字段
|
|
|
|
searchTitle: '备件信息', // 查询弹窗标题
|
|
|
|
searchAllSchemas: Location.allSchemas, // 查询弹窗所需类
|
|
|
|
searchPage: LocationApi.getLocationPage, // 查询弹窗所需分页方法
|
|
|
|
searchCondition: [ |
|
|
|
{ |
|
|
|
key: 'available', |
|
|
|
value: 'TRUE', |
|
|
|
isMainValue: false |
|
|
|
} |
|
|
|
] |
|
|
|
// isInpuFocusShow: true,
|
|
|
|
// searchListPlaceholder: '请选择备件编号', // 输入框占位文本
|
|
|
|
// searchField: 'itemNumber', // 查询弹窗赋值字段
|
|
|
|
// searchTitle: '备件信息', // 查询弹窗标题
|
|
|
|
// searchAllSchemas: Location.allSchemas, // 查询弹窗所需类
|
|
|
|
// searchPage: LocationApi.getLocationPage, // 查询弹窗所需分页方法
|
|
|
|
// searchCondition: [
|
|
|
|
// {
|
|
|
|
// key: 'available',
|
|
|
|
// value: 'TRUE',
|
|
|
|
// isMainValue: false
|
|
|
|
// }
|
|
|
|
// ]
|
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -245,7 +211,7 @@ export const SparePartsInLocationDetail = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm:{ |
|
|
|
disabled: true |
|
|
|
// disabled: true
|
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
@ -261,7 +227,7 @@ export const SparePartsInLocationDetail = useCrudSchemas(reactive<CrudSchema[]>( |
|
|
|
} |
|
|
|
}, |
|
|
|
tableForm:{ |
|
|
|
disabled: true |
|
|
|
// disabled: true
|
|
|
|
} |
|
|
|
}, |
|
|
|
{ |
|
|
|