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
0729c408
Commit
0729c408
authored
Dec 24, 2020
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改销售订单跳物流选择商品拿错id的问题
parent
1344f209
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
index.tsx
src/pages/logistics/addLogistics/index.tsx
+2
-2
No files found.
src/pages/logistics/addLogistics/index.tsx
View file @
0729c408
...
@@ -349,7 +349,7 @@ const AddLogistics: React.FC<{}> = () => {
...
@@ -349,7 +349,7 @@ const AddLogistics: React.FC<{}> = () => {
switch
(
Number
(
createType
))
{
switch
(
Number
(
createType
))
{
case
1
:
case
1
:
case
2
:
case
2
:
PublicApi
.
getWarehouseInvoicesProductList
({
...
params
,
invoicesId
:
query
.
relevanceOrderId
?
query
.
relevanceOrderId
:
query
.
shipment
OrderId
}).
then
((
res
:
any
)
=>
{
PublicApi
.
getWarehouseInvoicesProductList
({
...
params
,
invoicesId
:
query
.
shipmentOrderId
?
query
.
shipmentOrderId
:
query
.
relevance
OrderId
}).
then
((
res
:
any
)
=>
{
if
(
res
.
code
===
1000
)
{
if
(
res
.
code
===
1000
)
{
res
.
data
.
data
.
forEach
(
item
=>
{
res
.
data
.
data
.
forEach
(
item
=>
{
item
.
category
=
item
.
categoryName
item
.
category
=
item
.
categoryName
...
@@ -361,7 +361,7 @@ const AddLogistics: React.FC<{}> = () => {
...
@@ -361,7 +361,7 @@ const AddLogistics: React.FC<{}> = () => {
})
})
break
;
break
;
case
3
:
case
3
:
PublicApi
.
getWarehouseInvoicesProductList
({
...
params
,
invoicesId
:
query
.
shipmentOrderId
?
query
.
shipmentOrderId
:
query
.
relevance
OrderId
}).
then
((
res
:
any
)
=>
{
PublicApi
.
getWarehouseInvoicesProductList
({
...
params
,
invoicesId
:
query
.
relevanceOrderId
?
query
.
relevanceOrderId
:
query
.
shipment
OrderId
}).
then
((
res
:
any
)
=>
{
if
(
res
.
code
===
1000
)
{
if
(
res
.
code
===
1000
)
{
res
.
data
.
data
.
forEach
(
item
=>
{
res
.
data
.
data
.
forEach
(
item
=>
{
item
.
category
=
item
.
categoryName
item
.
category
=
item
.
categoryName
...
...
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