|
@ -83,27 +83,58 @@ export const PurchaseClaimRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
// {
|
|
|
|
|
|
// label: '索赔时间',
|
|
|
|
|
|
// field: 'claimTime',
|
|
|
|
|
|
// sort: 'custom',
|
|
|
|
|
|
// formatter: dateFormatter,
|
|
|
|
|
|
// table: {
|
|
|
|
|
|
// width: 180
|
|
|
|
|
|
// },
|
|
|
|
|
|
// search: {
|
|
|
|
|
|
// component: 'DatePicker',
|
|
|
|
|
|
// componentProps: {
|
|
|
|
|
|
// valueFormat: 'YYYY-MM-DD HH:mm:ss',
|
|
|
|
|
|
// type: 'daterange',
|
|
|
|
|
|
// defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')]
|
|
|
|
|
|
// }
|
|
|
|
|
|
// },
|
|
|
|
|
|
// form: {
|
|
|
|
|
|
// component: 'DatePicker',
|
|
|
|
|
|
// componentProps: {
|
|
|
|
|
|
// type: 'datetime',
|
|
|
|
|
|
// valueFormat: 'x'
|
|
|
|
|
|
// }
|
|
|
|
|
|
// },
|
|
|
|
|
|
// },
|
|
|
|
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '索赔时间', |
|
|
label: '索赔时间', |
|
|
field: 'claimTime', |
|
|
field: 'claimTime', |
|
|
sort: 'custom', |
|
|
|
|
|
formatter: dateFormatter, |
|
|
formatter: dateFormatter, |
|
|
|
|
|
isForm:false, |
|
|
|
|
|
detail: { |
|
|
|
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss' |
|
|
|
|
|
}, |
|
|
|
|
|
sort: 'custom', |
|
|
table: { |
|
|
table: { |
|
|
width: 180 |
|
|
width: 180 |
|
|
}, |
|
|
}, |
|
|
search: { |
|
|
form: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
valueFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
type: 'datetime', |
|
|
type: 'daterange', |
|
|
dateFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] |
|
|
valueFormat: 'x', |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
form: { |
|
|
isSearch: false, |
|
|
|
|
|
search: { |
|
|
component: 'DatePicker', |
|
|
component: 'DatePicker', |
|
|
componentProps: { |
|
|
componentProps: { |
|
|
type: 'datetime', |
|
|
valueFormat: 'YYYY-MM-DD HH:mm:ss', |
|
|
valueFormat: 'x' |
|
|
type: 'daterange', |
|
|
|
|
|
defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
@ -122,25 +153,6 @@ export const PurchaseClaimRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
width: 200 |
|
|
width: 200 |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
|
|
|
label: '状态', |
|
|
|
|
|
field: 'status', |
|
|
|
|
|
dictType: DICT_TYPE.PURCHASECLAIM_REQUEST_STATUS, |
|
|
|
|
|
dictClass: 'string', |
|
|
|
|
|
isTable: false, |
|
|
|
|
|
isForm:false, |
|
|
|
|
|
sort: 'custom', |
|
|
|
|
|
table: { |
|
|
|
|
|
width: 150 |
|
|
|
|
|
}, |
|
|
|
|
|
isSearch: false, |
|
|
|
|
|
form: { |
|
|
|
|
|
value: '1', |
|
|
|
|
|
componentProps: { |
|
|
|
|
|
disabled: true |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
{ |
|
|
label: '创建时间', |
|
|
label: '创建时间', |
|
|
field: 'createTime', |
|
|
field: 'createTime', |
|
@ -180,16 +192,16 @@ export const PurchaseClaimRecordMain = useCrudSchemas(reactive<CrudSchema[]>([ |
|
|
width: 150 |
|
|
width: 150 |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
// {
|
|
|
label: '操作', |
|
|
// label: '操作',
|
|
|
field: 'action', |
|
|
// field: 'action',
|
|
|
isForm: false, |
|
|
// isForm: false,
|
|
|
isDetail: false, |
|
|
// isDetail: false,
|
|
|
table: { |
|
|
// table: {
|
|
|
width: 150, |
|
|
// width: 150,
|
|
|
fixed: 'right' |
|
|
// fixed: 'right'
|
|
|
} |
|
|
// }
|
|
|
} |
|
|
// }
|
|
|
])) |
|
|
])) |
|
|
// 表单校验
|
|
|
// 表单校验
|
|
|
export const PurchaseClaimRecordDetailRules = reactive({ |
|
|
export const PurchaseClaimRecordDetailRules = reactive({ |
|
|