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
30769d21
Commit
30769d21
authored
Aug 23, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复过滤不同工作流商品没效果的问题
parent
da7d82f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
index.tsx
src/pages/afterService/components/GoodsDrawer/index.tsx
+2
-8
No files found.
src/pages/afterService/components/GoodsDrawer/index.tsx
View file @
30769d21
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2020-11-04 15:09:09
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-08-
11 11:44:19
* @LastEditTime: 2021-08-
23 09:59:10
* @Description: 维修商品抽屉组件
*/
import
React
from
'react'
;
...
...
@@ -19,17 +19,11 @@ import {
import
{
PayOutWorkState
,
}
from
'@/constants/order'
;
import
{
ORDER_TYPE_INQUIRY_CONTRACT
,
ORDER_TYPE_BIDDING_CONTRACT
,
ORDER_TYPE_TENDER_CONTRACT
,
}
from
'@/constants/order'
;
import
NiceForm
from
'@/components/NiceForm'
;
import
NestTable
from
'@/components/NestTable'
;
import
{
goodItem
,
OrderListRes
}
from
'./interface'
;
import
{
listSearchSchema
}
from
'./schema'
;
import
styles
from
'./index.less'
;
import
{
PublicApi
}
from
'@/services/api'
;
const
formActions
=
createFormActions
();
...
...
@@ -483,7 +477,7 @@ class GoodsDrawer extends React.Component<GoodsDrawerProps, GoodsDrawerState> {
return
filtered1
;
}
// 过滤工作流不同的的商品
const
filtered2
=
filtered1
.
filter
(
item
=>
item
.
process
Enum
===
first
.
processEnum
);
const
filtered2
=
filtered1
.
filter
(
item
=>
item
.
process
Key
===
first
.
processKey
);
if
(
filtered2
.
length
!==
filtered1
.
length
)
{
message
.
warning
(
'已过滤掉 售后工作流不同 商品'
);
}
...
...
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