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
bfe89d74
Commit
bfe89d74
authored
Nov 09, 2020
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 获取物流公司添加合作类型字段
parent
1b24712b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
logisticsForm.tsx
...ages/commodity/products/addProductsItem/logisticsForm.tsx
+6
-2
No files found.
src/pages/commodity/products/addProductsItem/logisticsForm.tsx
View file @
bfe89d74
...
...
@@ -2,7 +2,11 @@ import React, { useState, useEffect, useRef } from 'react'
import
{
history
}
from
'umi'
import
{
Form
,
Select
,
Radio
,
Checkbox
,
InputNumber
}
from
'antd'
import
{
PublicApi
}
from
'@/services/api'
import
{
GetLogisticsSelectListCompanyResponse
,
GetLogisticsSelectListShipperAddressResponse
,
GetLogisticsSelectListFreightTemplateResponse
}
from
'@/services'
import
{
GetLogisticsSelectListCompanyResponse
,
GetLogisticsSelectListShipperAddressResponse
,
GetLogisticsSelectListFreightTemplateResponse
}
from
'@/services/LogisticsApi'
import
{
store
}
from
'@/store'
const
{
ProductStore
}
=
store
...
...
@@ -51,7 +55,7 @@ const LogisticsForm: React.FC<Iprops> = (props) => {
setLogisticsAddressList
(
res
.
data
)
})
PublicApi
.
getLogisticsSelectListCompany
().
then
(
res
=>
{
PublicApi
.
getLogisticsSelectListCompany
(
{
cooperateType
:
'2'
}
).
then
(
res
=>
{
setLogisticsCompanyLists
(
res
.
data
)
})
...
...
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