|
@ -6,7 +6,7 @@ import { validateHanset, validateEmail } from '@/utils/validator' |
|
|
const { t } = useI18n() // 国际化
|
|
|
const { t } = useI18n() // 国际化
|
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @returns {Array} 备件申请主表 |
|
|
* @returns {Array} 备件申领主表 |
|
|
*/ |
|
|
*/ |
|
|
export const ItemApplyMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
export const ItemApplyMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
{ |
|
|
{ |
|
@ -47,28 +47,19 @@ export const ItemApplyMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
sort: 'custom', |
|
|
sort: 'custom', |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: '是否可用', |
|
|
label: '状态', |
|
|
field: 'available', |
|
|
field: 'status', |
|
|
dictType: DICT_TYPE.TRUE_FALSE, |
|
|
sort: 'custom', |
|
|
|
|
|
dictType: DICT_TYPE.ITEM_APPLY_STATUS, |
|
|
dictClass: 'string', |
|
|
dictClass: 'string', |
|
|
isSearch: false, |
|
|
isSearch: true, |
|
|
isTable: true, |
|
|
isTable: true, |
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
table: { |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
tableForm: { |
|
|
tableForm: { |
|
|
type: 'Select', |
|
|
type: 'Select', |
|
|
inactiveValue: 'FALSE', |
|
|
|
|
|
disabled: true |
|
|
disabled: true |
|
|
}, |
|
|
|
|
|
form: { |
|
|
|
|
|
component: 'Switch', |
|
|
|
|
|
value: 'TRUE', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
inactiveValue: 'FALSE', |
|
|
|
|
|
activeValue: 'TRUE' |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|