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
linweijiong
jinfa-platform
Commits
90071447
Commit
90071447
authored
Sep 25, 2020
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查看物流单
parent
e7d5b4f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
useSelfTable.tsx
...n/saleOrder/readyAddLogisticsOrder/model/useSelfTable.tsx
+6
-1
No files found.
src/pages/transaction/saleOrder/readyAddLogisticsOrder/model/useSelfTable.tsx
View file @
90071447
...
...
@@ -85,7 +85,7 @@ export const useSelfTable = () => {
<
Button
type=
'link'
onClick=
{
()
=>
handleConfirm
(
record
)
}
>
新增物流单
</
Button
>
}
{
record
.
purchaseOrderInteriorState
===
SaleOrderInsideWorkState
.
DELIVERY_APPROVED_SUCCESS
&&
<
Button
type=
'link'
onClick=
{
()
=>
handle
Confirm
(
record
.
i
d
)
}
>
查看物流单
</
Button
>
<
Button
type=
'link'
onClick=
{
()
=>
handle
Preview
(
recor
d
)
}
>
查看物流单
</
Button
>
}
</>
}
...
...
@@ -103,6 +103,11 @@ export const useSelfTable = () => {
history
.
push
(
`/memberCenter/logisticsAbility/logisticsSubmit/toOrderSubmitDetail?
${
qs
.
stringify
(
params
)}
`
)
}
const
handlePreview
=
async
(
record
)
=>
{
const
logisticsId
=
record
.
logisticsId
history
.
push
(
`/memberCenter/logisticsAbility/logisticsSubmit/toOrderSubmitDetail?id=
${
logisticsId
}
`
)
}
return
{
columns
:
customOrderColumns
}
...
...
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