diff --git a/src/layouts/default/tabs/components/TabContent.vue b/src/layouts/default/tabs/components/TabContent.vue index 2e9be4de..c79557f7 100644 --- a/src/layouts/default/tabs/components/TabContent.vue +++ b/src/layouts/default/tabs/components/TabContent.vue @@ -7,7 +7,7 @@ @menu-event="handleMenuEvent" >
- {{ getTitle }} + {{ RText(getTitle) }}
@@ -46,29 +46,29 @@ const { tabItem: { meta } = {} } = props return meta && t(meta.title as string) }) - // function RText(data) { - // let Rdata = '' - // if (data == '海运出口-详情') { - // if (props.tabItem.query.isCopy) { - // if (props.tabItem.query.copyId) { - // Rdata = `海运出口-复制${Number(props.tabItem.query.copyId) + 1}` - // } else { - // Rdata = '海运出口-复制' - // } - // } else if (props.tabItem.query.mblno) { - // Rdata = `${props.tabItem.query.mblno}-详情` - // } else if (props.tabItem.query.customerNo) { - // Rdata = `${props.tabItem.query.customerNo}-详情` - // } else if (props.tabItem.query.addNum) { - // Rdata = '海运出口-新增' - // } else { - // Rdata = '海运出口-详情' - // } - // } else { - // Rdata = data - // } - // return Rdata - // } + function RText(data) { + let Rdata = '' + if (data == '海运出口-详情') { + if (props.tabItem.query.isCopy) { + if (props.tabItem.query.copyId) { + Rdata = `海运出口-复制${Number(props.tabItem.query.copyId) + 1}` + } else { + Rdata = '海运出口-复制' + } + } else if (props.tabItem.query.mblno) { + Rdata = `${props.tabItem.query.mblno}-详情` + } else if (props.tabItem.query.customerNo) { + Rdata = `${props.tabItem.query.customerNo}-详情` + } else if (props.tabItem.query.addNum) { + Rdata = '海运出口-新增' + } else { + Rdata = '海运出口-详情' + } + } else { + Rdata = data + } + return Rdata + } const getIsTabs = computed(() => !props.isExtra) const getTrigger = computed((): ('contextmenu' | 'click' | 'hover')[] => @@ -94,7 +94,7 @@ getTrigger, getIsTabs, getTitle, - // RText, + RText, } }, }) diff --git a/src/views/ContainerManagement/CurrentState/columns.tsx b/src/views/ContainerManagement/CurrentState/columns.tsx index e92381d0..39c2b401 100644 --- a/src/views/ContainerManagement/CurrentState/columns.tsx +++ b/src/views/ContainerManagement/CurrentState/columns.tsx @@ -153,8 +153,8 @@ export const columns: BasicColumn[] = [ width: 200, }, { - title: '生产日期??', - dataIndex: '', + title: '生产日期', + dataIndex: 'productionDate', sorter: true, width: 200, }, diff --git a/src/views/ContainerManagement/CustFeeDui/TenantAuditStepModal.vue b/src/views/ContainerManagement/CustFeeDui/TenantAuditStepModal.vue index 4875ff62..06e5a3a0 100644 --- a/src/views/ContainerManagement/CustFeeDui/TenantAuditStepModal.vue +++ b/src/views/ContainerManagement/CustFeeDui/TenantAuditStepModal.vue @@ -43,7 +43,7 @@