Browse Source

YT-1283所有发运结算模块页面,增加最后更新者,最后更新时间公共属性

intex
zhang_li 6 days ago
parent
commit
990f4b559f
  1. 34
      src/views/wms/deliversettlementManage/deliver/deliverJobMain/deliverJobMain.data.ts
  2. 56
      src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts
  3. 2
      src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts
  4. 24
      src/views/wms/deliversettlementManage/deliverplan/saleMain/saleMain.data.ts
  5. 2
      src/views/wms/deliversettlementManage/moldAllocation/customerStatement/customerStatementMain.data.ts

34
src/views/wms/deliversettlementManage/deliver/deliverJobMain/deliverJobMain.data.ts

@ -585,6 +585,7 @@ export const DeliverJobMain = useCrudSchemas(
},
isTable: false
},
{
label: '创建时间',
field: 'createTime',
@ -635,7 +636,6 @@ export const DeliverJobMain = useCrudSchemas(
table: {
width: 180
},
isTable: false,
form: {
component: 'DatePicker',
componentProps: {
@ -652,7 +652,6 @@ export const DeliverJobMain = useCrudSchemas(
table: {
width: 150
},
isTable: false
},
{
label: '操作',
@ -904,6 +903,7 @@ export const DeliverJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
},
isTable: false,
},
{
label: '创建时间',
field: 'createTime',
@ -943,6 +943,36 @@ export const DeliverJobDetail = useCrudSchemas(reactive<CrudSchema[]>([
},
isTable: true,
},
{
label: '最后更新时间',
field: 'updateTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x'
}
}
},
{
label: '最后更新者',
field: 'updater',
sort: 'custom',
table: {
width: 150
},
},
]))
//表单校验

56
src/views/wms/deliversettlementManage/deliver/deliverRecordMain/deliverRecordMain.data.ts

@ -402,6 +402,34 @@ export const DeliverRecordMain = useCrudSchemas(
},
isTable: false
},
{
label: '最后更新时间',
field: 'updateTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x'
}
}
},
{
label: '最后更新者',
field: 'updater',
sort: 'custom',
table: {
width: 150
},
},
// {
// label: '代码',
// field: 'code',
@ -814,6 +842,34 @@ export const DeliverRecordDetail = useCrudSchemas(reactive<CrudSchema[]>([
},
isTable: true,
},
{
label: '最后更新时间',
field: 'updateTime',
formatter: dateFormatter,
detail: {
dateFormat: 'YYYY-MM-DD HH:mm:ss'
},
sort: 'custom',
table: {
width: 180
},
form: {
component: 'DatePicker',
componentProps: {
type: 'datetime',
dateFormat: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x'
}
}
},
{
label: '最后更新者',
field: 'updater',
sort: 'custom',
table: {
width: 150
},
},
// {
// label: '任务明细ID',
// field: 'jobDetailId',

2
src/views/wms/deliversettlementManage/deliver/deliverRequestMain/deliverRequestMain.data.ts

@ -1115,7 +1115,6 @@ export const DeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 180
},
isTable: false,
form: {
component: 'DatePicker',
componentProps: {
@ -1135,7 +1134,6 @@ export const DeliverRequestDetail = useCrudSchemas(reactive<CrudSchema[]>([
table: {
width: 150
},
isTable: false,
isTableForm: false,
isForm: false
},

24
src/views/wms/deliversettlementManage/deliverplan/saleMain/saleMain.data.ts

@ -176,15 +176,6 @@ export const SaleMain = useCrudSchemas(reactive<CrudSchema[]>([
},
isTable: false,
},
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
},
isForm: false,
},
{
label: '创建时间',
field: 'createTime',
@ -216,14 +207,13 @@ export const SaleMain = useCrudSchemas(reactive<CrudSchema[]>([
},
},
{
label: '最后更新者',
field: 'updater',
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
},
isForm: false,
isTable: false
},
{
label: '最后更新时间',
@ -245,7 +235,15 @@ export const SaleMain = useCrudSchemas(reactive<CrudSchema[]>([
}
},
isForm: false,
isTable: false
},
{
label: '最后更新者',
field: 'updater',
sort: 'custom',
table: {
width: 150
},
isForm: false,
},
{
label: '当前阶段',

2
src/views/wms/deliversettlementManage/moldAllocation/customerStatement/customerStatementMain.data.ts

@ -116,7 +116,7 @@ export const CustomerStatementMain = useCrudSchemas(reactive<CrudSchema[]>([
component: 'DatePicker',
componentProps: {
type: 'datetime',
valueFormat: 'YYYY-MM'
valueFormat: 'YYYY-MM',
}
},
},

Loading…
Cancel
Save