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
05aac1d5
Commit
05aac1d5
authored
Apr 12, 2022
by
Bill
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix418' into 'v2-220418'
处理价格策略会员等级id显示异常 See merge request linkseeks-design/pro-platform!231
parents
d93d60cf
6e4316c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
index.tsx
src/pages/priceManage/effect/index.tsx
+1
-0
index.tsx
...ages/procurement/callForBids/addNewBid/constant/index.tsx
+5
-1
No files found.
src/pages/priceManage/effect/index.tsx
View file @
05aac1d5
...
...
@@ -150,6 +150,7 @@ export const transformDataForNiceForm = (value: any, ctx: ISchemaFormActions | I
initValue
[
"commodityMemberLevelList"
]
=
value
.
commodityMemberLevelList
.
map
(
item
=>
({
roleId
:
item
.
memberRoleId
,
roleName
:
item
.
memberRoleName
,
levelId
:
item
.
id
,
...
item
,
}))
initValue
[
"shopId"
]
=
value
[
"shopId"
]
...
...
src/pages/procurement/callForBids/addNewBid/constant/index.tsx
View file @
05aac1d5
...
...
@@ -25,6 +25,9 @@ export const fileChangeStringArray = (arr) => arr.map(item => {
})
const
isAll
=
(
element
)
=>
{
return
element
.
some
(
item
=>
item
[
'provinceCode'
]
===
'0'
&&
item
[
'cityCode'
]
===
'0'
)
}
/** 传参 数据转换 id:判断是否编辑 */
export
const
paramsConversionFn
=
(
value
)
=>
{
const
{
pageStatus
}
=
usePageStatus
()
...
...
@@ -81,7 +84,8 @@ export const paramsConversionFn = (value) => {
})
}
// 增加不限区域和城市字段
if
(
value
?.
inviteTenderAreaList
?.
length
>
0
)
{
// if (value?.inviteTenderAreaList?.length > 0) {
if
(
value
?.
inviteTenderAreaList
?.
length
>
0
&&
!
isAll
(
value
.
inviteTenderAreaList
))
{
value
.
isAllArea
=
false
value
[
'inviteTenderAreaList'
]
=
_value
.
inviteTenderAreaList
.
map
(
item
=>
{
let
param
=
{
...
...
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