Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shenshaokai
jinfa-platform
Commits
6b6e8145
Commit
6b6e8145
authored
Mar 22, 2022
by
Gavin Peng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 添加计划送货详情常量
parent
3391029c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
11 deletions
+30
-11
anchors.ts
src/pages/order/constants/anchors.ts
+21
-1
details.tsx
...rder/deliveryPlanManagement/deliveryPlanQuery/details.tsx
+9
-10
No files found.
src/pages/order/constants/anchors.ts
View file @
6b6e8145
...
...
@@ -30,6 +30,16 @@ const Material: AnchorsItem = {
name
:
"送货物料"
}
const
Circulation
:
AnchorsItem
=
{
key
:
'Circulation'
,
name
:
"流转进度"
}
const
PlanMaterial
:
AnchorsItem
=
{
key
:
'PlanMaterial'
,
name
:
"计划送货物料"
}
const
DeliveryNoteQuery
:
AnchorsItem
[]
=
[
BaseInfo
,
Distribution
,
...
...
@@ -39,6 +49,12 @@ const DeliveryNoteQuery: AnchorsItem[] = [
Material
]
const
DeliveryPlanDetails
:
AnchorsItem
[]
=
[
Circulation
,
BaseInfo
,
PlanMaterial
,
]
export
{
BaseInfo
,
BillsInfo
,
...
...
@@ -46,5 +62,8 @@ export {
LogisticsInfo
,
Material
,
Distribution
,
DeliveryNoteQuery
Circulation
,
PlanMaterial
,
DeliveryNoteQuery
,
DeliveryPlanDetails
}
\ No newline at end of file
src/pages/order/deliveryPlanManagement/deliveryPlanQuery/details.tsx
View file @
6b6e8145
...
...
@@ -6,32 +6,31 @@ import React, { useState } from 'react'
import
{
history
}
from
'umi'
import
{
Card
,
Descriptions
,
Steps
}
from
'antd'
import
AnchorPage
from
'@/components/AnchorPage'
import
{
AnchorsItem
}
from
"@/components/AnchorPage"
import
BaseInfo
from
'@/components/BaseInfo/BaseInfo'
import
FlowSwitchSteps
from
'@/components/FlowSwitchSteps/FlowSwitchSteps'
import
{
BaseInfo
as
base_Info
,
Circulation
,
DeliveryPlanDetails
,
PlanMaterial
}
from
'../../constants'
const
DeliveryPlanManagementDetails
:
React
.
FC
=
()
=>
{
const
[
iAnchors
,
setiAnchors
]
=
useState
<
AnchorsItem
[]
>
(
DeliveryPlanDetails
)
const
[
details
,
setDetails
]
=
useState
<
any
>
({})
return
(
<
AnchorPage
title=
{
details
?.
name
||
'没有title'
}
onBack=
{
()
=>
history
.
goBack
()
}
anchors=
{
[
{
key
:
'taskList'
,
name
:
'流转进度'
},
{
key
:
'taskList2'
,
name
:
'基本信息'
},
{
key
:
'taskList3'
,
name
:
'计划送货物料'
},
]
}
anchors=
{
iAnchors
}
>
<
BaseInfo
id=
"taskList"
className=
"mt-10"
title=
'流转进度'
cols=
{
1
}
>
<
BaseInfo
className=
"mt-10"
title=
{
Circulation
.
name
}
id=
{
Circulation
.
key
}
>
<
Steps
progressDot
current=
{
0
}
>
<
Steps
.
Step
title=
'采购商'
description=
'提交送货计划'
/>
<
Steps
.
Step
title=
'供应商'
description=
'确认送货计划'
/>
</
Steps
>
</
BaseInfo
>
<
BaseInfo
id=
"taskList2"
className=
"mt-10"
title=
'基本信息'
>
<
BaseInfo
className=
"mt-10"
title=
{
base_Info
.
name
}
id=
{
base_Info
.
key
}
>
9999
</
BaseInfo
>
<
BaseInfo
id=
"taskList"
className=
"mt-10"
title=
'计划送货物料'
>
<
BaseInfo
className=
"mt-10"
title=
{
PlanMaterial
.
name
}
id=
{
PlanMaterial
.
key
}
>
计划送货物料
</
BaseInfo
>
</
AnchorPage
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment