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
cfd3ad11
Commit
cfd3ad11
authored
Mar 30, 2023
by
linweijiong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'jinfa-20221102' into 'jinfa-20221102'
fix:到货区域需调用接口返回 See merge request project/jinfa-platform!518
parents
a66d9bfb
391d27ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
1 deletion
+18
-1
index.tsx
src/pages/statistic/priceManage/priceReport/index.tsx
+18
-1
No files found.
src/pages/statistic/priceManage/priceReport/index.tsx
View file @
cfd3ad11
...
...
@@ -11,7 +11,7 @@ import { createFormActions } from '@formily/antd'
// import HeaderSelectCompany from '@common/components/HeaderSelectCompany'
import
{
useAsyncInitSelect
}
from
'@/formSchema/effects/useAsyncInitSelect'
// import { getManagePaasCurrencyPaasCurrencyAll } from '@linkseeks/apis'
import
{
getMemberAbilityMaintenancePageitems
}
from
'@/services/MemberV2Api'
;
import
{
getMemberAbilityMaintenancePageitems
,
getMemberParameterManageGetArrivalArea
}
from
'@/services/MemberV2Api'
;
import
{
FORM_FILTER_PATH
}
from
'@/formSchema/const'
import
{
useStateFilterSearchLinkageEffect
}
from
'@/formSchema/effects/useFilterSearch'
/**
...
...
@@ -213,6 +213,22 @@ const Index = () => {
currencyType
:
[],
}
}
const
getManageGetArrivalArea
=
async
()
=>
{
const
res
=
await
getMemberParameterManageGetArrivalArea
()
if
(
res
.
code
===
1000
)
{
const
List
=
res
?.
data
||
[]
return
{
area
:
List
.
map
((
item
)
=>
({
label
:
item
.
name
,
value
:
String
(
item
.
key
),
})),
}
}
return
{
area
:
[],
}
}
return
(
<
PageHeaderWrapper
...
...
@@ -237,6 +253,7 @@ const Index = () => {
}
}
effects=
{
(
$
,
actions
)
=>
{
useAsyncInitSelect
([
'currencyType'
],
getCurrencyIdList
)
useAsyncInitSelect
([
'area'
],
getManageGetArrivalArea
)
useStateFilterSearchLinkageEffect
(
$
,
actions
,
'vendor'
,
FORM_FILTER_PATH
)
}
}
/>
...
...
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