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
e364a5af
Commit
e364a5af
authored
Oct 20, 2021
by
XionGuo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复未过滤积分订单的问题
parent
c5675d3f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
index.ts
...tion/returnPrSubmit/components/ReturnForm/schema/index.ts
+4
-1
No files found.
src/pages/afterService/returnApplication/returnPrSubmit/components/ReturnForm/schema/index.ts
View file @
e364a5af
...
...
@@ -10,6 +10,8 @@ import {
ORDER_TYPE_INQUIRY_CONTRACT
,
ORDER_TYPE_BIDDING_CONTRACT
,
ORDER_TYPE_TENDER_CONTRACT
,
ORDER_TYPE_POINTS
,
ORDER_TYPE_CHANNEL_POINTS
,
}
from
'@/constants/order'
;
// 供应会员列表列
...
...
@@ -78,10 +80,11 @@ const supplierSchema: ISchema = {
},
};
// 过滤积分订单,渠道积分订单
const
orderTypeArr
=
GlobalConfig
.
web
.
orderType
.
map
((
item
)
=>
({
label
:
item
.
platformWayName
,
value
:
item
.
id
,
}));
}))
.
filter
((
item
)
=>
(
item
.
value
!==
ORDER_TYPE_POINTS
&&
item
.
value
!==
ORDER_TYPE_CHANNEL_POINTS
))
;
export
const
addSchema
=
(
orderType
:
number
):
ISchema
=>
{
const
isMateriel
=
(
...
...
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