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
1e892ee4
Commit
1e892ee4
authored
Jan 28, 2021
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'featStrategies' into dev
parents
1674ecd4
bf83b7f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
index.ts
src/constants/index.ts
+6
-1
index.tsx
src/pages/transaction/components/orderPayTabs/index.tsx
+2
-2
No files found.
src/constants/index.ts
View file @
1e892ee4
...
...
@@ -1048,7 +1048,9 @@ export const PurchaseOrderInsideWorkStateTexts = {
14
:
'订单待入库'
,
15
:
'订单待归档'
,
16
:
'订单入库待审核'
,
17
:
'待手工收货'
17
:
'待手工收货'
,
18
:
'已确认收货'
,
19
:
'已归档'
,
}
// 销售订单内部显示文案
...
...
@@ -1078,6 +1080,9 @@ export const SaleOrderInsideWorkStateTexts = {
28
:
'不接受物流单'
,
29
:
'订单已归档'
,
30
:
'已手工发货'
,
31
:
'已确认发货'
,
32
:
'已确认回单'
,
33
:
'已归档'
,
}
// 订单流转记录外部状态
...
...
src/pages/transaction/components/orderPayTabs/index.tsx
View file @
1e892ee4
...
...
@@ -34,9 +34,9 @@ const OrderPayTabs:React.FC<OrderPayTabsProps> = (props) => {
const
processEnum
=
data
.
processEnum
useEffect
(()
=>
{
// 过滤支付信息 取第一个待支付的id
// 过滤支付信息 取第一个待支付
或者未到账
的id
if
(
data
?.
paymentInformationResponses
?.
length
)
{
let
payments
=
data
.
paymentInformationResponses
.
filter
(
item
=>
item
.
externalState
===
1
)
let
payments
=
data
.
paymentInformationResponses
.
filter
(
item
=>
item
.
externalState
===
1
||
item
.
externalState
===
4
)
if
(
payments
.
length
)
{
ctl
.
setPayId
(
payments
[
0
].
id
)
}
...
...
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