Browse Source

HL-5424 物料变更申请 创建人创建时间

hella_online_20240823
TengXF 3 months ago
parent
commit
1fc227eff0
  1. 45
      src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/relegateRequestMain.data.ts

45
src/views/wms/basicDataManage/itemManage/relegate/relegateRequest/relegateRequestMain.data.ts

@ -106,7 +106,10 @@ export const RelegateRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
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<CrudSchema[]>([
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
isForm: false,
isTable: true
isTable: false
},
{
label: '扩展属性',
@ -374,7 +377,7 @@ export const RelegateRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
},{
key: 'changeBeforeCode',
value: 'itemCode',
isTableRowValue: true,
isTableRowValue: true,
isMainValue:false
}],
verificationParams: [{
@ -402,7 +405,7 @@ export const RelegateRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
},{
key: 'changeBeforeCode',
value: 'itemCode',
isTableRowValue: true,
isTableRowValue: true,
isMainValue:false
}]
},
@ -603,25 +606,47 @@ export const RelegateRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
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<CrudSchema[]>(
//表单校验
export const RelegateRequestDetailLabelRules = reactive({
})
})

Loading…
Cancel
Save