diff --git a/src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/relegateRequestMain.data.ts b/src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/relegateRequestMain.data.ts index 5241b48fd..e2ec64bb6 100644 --- a/src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/relegateRequestMain.data.ts +++ b/src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/relegateRequestMain.data.ts @@ -106,7 +106,10 @@ export const RelegateRequestMain = useCrudSchemas(reactive([ field: 'createTime', sort: 'custom', formatter: dateFormatter, - isSearch: true, + isSearch: false, + table: { + width: 180 + }, search: { component: 'DatePicker', componentProps: { @@ -119,7 +122,7 @@ export const RelegateRequestMain = useCrudSchemas(reactive([ dateFormat: 'YYYY-MM-DD HH:mm:ss' }, isForm: false, - isTable: true + isTable: false }, { label: '扩展属性', @@ -374,7 +377,7 @@ export const RelegateRequestDetail = useCrudSchemas(reactive([ },{ key: 'changeBeforeCode', value: 'itemCode', - isTableRowValue: true, + isTableRowValue: true, isMainValue:false }], verificationParams: [{ @@ -402,7 +405,7 @@ export const RelegateRequestDetail = useCrudSchemas(reactive([ },{ key: 'changeBeforeCode', value: 'itemCode', - isTableRowValue: true, + isTableRowValue: true, isMainValue:false }] }, @@ -603,25 +606,47 @@ export const RelegateRequestDetail = useCrudSchemas(reactive([ isTableForm: false, isTable:false, }, + { + label: '创建人', + field: 'creator', + sort: 'custom', + table: { + width: 150 + }, + isForm: false, + isTable: true + }, { label: '创建时间', field: 'createTime', sort: 'custom', formatter: dateFormatter, + detail: { + dateFormat: 'YYYY-MM-DD HH:mm:ss' + }, + isSearch: true, + table: { + width: 180 + }, + form: { + component: 'DatePicker', + componentProps: { + type: 'datetime', + dateFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'x', + } + }, search: { component: 'DatePicker', componentProps: { - valueFormat: 'YYYY-MM-DD HH:mm:ss', + valueFormat: 'YYYY-MM-DD', type: 'daterange', defaultTime: [new Date('1 00:00:00'), new Date('1 23:59:59')] } }, - detail: { - dateFormat: 'YYYY-MM-DD HH:mm:ss' - }, isForm:false, isTableForm: false, - isTable:false, + isTable:true, }, { label: '状态', @@ -814,4 +839,4 @@ export const RelegateRequestDetailLabel = useCrudSchemas(reactive( //表单校验 export const RelegateRequestDetailLabelRules = reactive({ -}) \ No newline at end of file +})