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
cf73f565
Commit
cf73f565
authored
Oct 27, 2020
by
前端-许佳敏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修复无法出现发货按钮
parent
13d9cb6d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
customBitchartsName.js
config/utils/customBitchartsName.js
+0
-1
index.tsx
src/pages/transaction/components/orderDeleveRecord/index.tsx
+1
-1
index.tsx
src/pages/transaction/components/orderSaleRecord/index.tsx
+2
-1
No files found.
config/utils/customBitchartsName.js
View file @
cf73f565
module
.
exports
=
function
customName
(
name
)
{
console
.
log
(
name
)
if
(
name
===
'Interval'
)
{
return
'bizcharts/lib/geometry/Interval'
}
...
...
src/pages/transaction/components/orderDeleveRecord/index.tsx
View file @
cf73f565
...
...
@@ -154,7 +154,7 @@ const sideChildrenCols: any[] = [
const
OrderDeleveRecord
:
React
.
FC
<
OrderDeleveRecordProps
>
=
(
props
)
=>
{
const
pathname
=
history
.
location
.
pathname
const
isPreview
=
pathname
.
lastIndexOf
(
'/preview'
)
const
isPreview
=
pathname
.
lastIndexOf
(
'/preview'
)
!==
-
1
// 用于储存已经修改过的订单id
const
dataRef
=
useRef
<
any
>
([])
...
...
src/pages/transaction/components/orderSaleRecord/index.tsx
View file @
cf73f565
...
...
@@ -153,11 +153,12 @@ const sideChildrenCols: any[] = [
// 订单发货记录
const
OrderSaleRecord
:
React
.
FC
<
OrderSaleRecordProps
>
=
(
props
)
=>
{
const
pathname
=
history
.
location
.
pathname
const
isPreview
=
pathname
.
lastIndexOf
(
'/preview'
)
const
isPreview
=
pathname
.
lastIndexOf
(
'/preview'
)
!==
-
1
// 用于储存已经修改过的订单id
const
dataRef
=
useRef
<
any
>
([])
const
{
data
,
reloadFormData
}
=
useContext
(
OrderDetailContext
)
const
{
orderReceivingStatisticsResponses
,
orderDeliveryDetailsResponses
}
=
data
console
.
log
(
dataRef
,
isPreview
)
const
sideOrderCols
:
any
[]
=
[
{
title
:
'发货批次'
,
...
...
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