Browse Source

缺陷:HL-5009,页面的显示和导出都应该有创建人和创建时间,补充:已改到制品返修-制品返修记录页面

hella_online_20240819
ljlong_2630 3 months ago
parent
commit
ce612c0b3f
  1. 8
      src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts
  2. 26
      src/views/wms/productionManage/productredress/productredressJobMain/productredressJobMain.data.ts
  3. 31
      src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts
  4. 18
      src/views/wms/productionManage/productrepair/productrepairRecordMain/productrepairRecordMain.data.ts

8
src/views/wms/productionManage/productdismantle/productdismantleRequestMain/productdismantleRequestMain.data.ts

@ -992,7 +992,7 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive<CrudSchema
label: '备注', label: '备注',
field: 'remark', field: 'remark',
sort: 'custom', sort: 'custom',
sortTableDefault:1002, sortTableDefault:1000,
table: { table: {
width: 150 width: 150
}, },
@ -1000,7 +1000,7 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive<CrudSchema
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
sortTableDefault:1000, sortTableDefault:1001,
formatter: dateFormatter, formatter: dateFormatter,
detail: { detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss' dateFormat: 'YYYY-MM-DD HH:mm:ss'
@ -1018,6 +1018,7 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive<CrudSchema
valueFormat: 'x', valueFormat: 'x',
} }
}, },
hiddenInMain:false,
isTableForm: false, isTableForm: false,
isForm: false isForm: false
}, },
@ -1025,10 +1026,11 @@ export const ProductdismantleRequestDetaila = useCrudSchemas(reactive<CrudSchema
label: '创建者', label: '创建者',
field: 'creator', field: 'creator',
sort: 'custom', sort: 'custom',
sortTableDefault:1001, sortTableDefault:1002,
table: { table: {
width: 150 width: 150
}, },
hiddenInMain:false,
isTableForm: false, isTableForm: false,
isForm: false isForm: false
}, },

26
src/views/wms/productionManage/productredress/productredressJobMain/productredressJobMain.data.ts

@ -383,7 +383,7 @@ export const ProductredressJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 150 width: 150
}, },
isTable:true, isTable:false,
isForm: false, isForm: false,
}, },
{ {
@ -397,7 +397,7 @@ export const ProductredressJobMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable:true, isTable:false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -668,16 +668,6 @@ export const ProductredressJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
isTable:false, isTable:false,
hiddenInMain:true, hiddenInMain:true,
}, },
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
},
isTable:true,
hiddenInMain:true,
},
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
@ -690,7 +680,7 @@ export const ProductredressJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
width: 180 width: 180
}, },
isTable:true, isTable:true,
hiddenInMain:true, hiddenInMain:false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -702,6 +692,16 @@ export const ProductredressJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isForm: false isForm: false
}, },
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
},
isTable:true,
hiddenInMain:false,
},
{ {
label: '最后更新者', label: '最后更新者',
field: 'updater', field: 'updater',

31
src/views/wms/productionManage/productredress/productredressRequestMain/productredressRequestMain.data.ts

@ -334,7 +334,7 @@ export const ProductredressRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
field: 'creator', field: 'creator',
sort: 'custom', sort: 'custom',
isForm: false, isForm: false,
isTable: true, isTable: false,
table: { table: {
width: 150 width: 150
}, },
@ -350,7 +350,7 @@ export const ProductredressRequestMain = useCrudSchemas(reactive<CrudSchema[]>([
table: { table: {
width: 180 width: 180
}, },
isTable: true, isTable: false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -688,18 +688,7 @@ export const ProductredressRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
// isTable:false, // isTable:false,
// hiddenInMain:true // hiddenInMain:true
// }, // },
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
},
isTableForm: false,
isForm: false,
isTable:true,
hiddenInMain:true
},
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
@ -712,7 +701,7 @@ export const ProductredressRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
width: 180 width: 180
}, },
isTable:true, isTable:true,
hiddenInMain:true, hiddenInMain:false,
form: { form: {
component: 'DatePicker', component: 'DatePicker',
componentProps: { componentProps: {
@ -725,6 +714,18 @@ export const ProductredressRequestDetail = useCrudSchemas(reactive<CrudSchema[]>
isTableForm: false, isTableForm: false,
isForm: false isForm: false
}, },
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
},
isTableForm: false,
isForm: false,
isTable:true,
hiddenInMain:false
},
{ {
label: '最后更新者', label: '最后更新者',
field: 'updater', field: 'updater',

18
src/views/wms/productionManage/productrepair/productrepairRecordMain/productrepairRecordMain.data.ts

@ -197,15 +197,6 @@ export const ProductrepairRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
}, },
isTable: false isTable: false
}, },
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
},
isTable: true
},
{ {
label: '创建时间', label: '创建时间',
field: 'createTime', field: 'createTime',
@ -236,6 +227,15 @@ export const ProductrepairRecordMain = useCrudSchemas(reactive<CrudSchema[]>([
} }
}, },
}, },
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
},
isTable: true
},
{ {
label: '最后更新时间', label: '最后更新时间',
field: 'updateTime', field: 'updateTime',

Loading…
Cancel
Save