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
黄庭坚
jinfa-platform
Commits
28f5dc53
Commit
28f5dc53
authored
Sep 27, 2020
by
GuanHua
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://10.0.0.22:3000/lingxi/lingxi-business-paltform
into dev
parents
4c1f583f
0ecdc5fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
24 deletions
+14
-24
index.tsx
...ges/transaction/stockSellStorage/bills/addBills/index.tsx
+14
-24
No files found.
src/pages/transaction/stockSellStorage/bills/addBills/index.tsx
View file @
28f5dc53
...
...
@@ -136,6 +136,8 @@ const AddBills: React.FC<{}> = (props: any) => {
...
rest
}
=
res
.
data
;
console
.
log
(
'res'
,
res
.
data
.
relevanceInvoicesId
)
const
details
=
invoicesDetailsList
?
invoicesDetailsList
.
map
(
item
=>
({
...
item
,
product
:
item
.
productId
,
...
...
@@ -203,13 +205,7 @@ const AddBills: React.FC<{}> = (props: any) => {
deliveryType
,
deliveryAddresId
,
orderNo
,
province
,
city
,
area
,
addres
,
addresName
,
tel
,
isDefault
,
deliveryAddressInfo
,
}
=
res
.
data
;
addSchemaAction
.
setFieldState
(
'*(invoicesTypeId,orderNo)'
,
...
...
@@ -228,11 +224,11 @@ const AddBills: React.FC<{}> = (props: any) => {
id
:
+
relevanceInvoicesId
,
deliveryAddresId
:
+
deliveryAddresId
,
supplyMembersName
,
fullAddress
:
`
${
province
||
''
}${
city
||
''
}${
area
||
''
}${
addres
||
''
}
`
,
receiverName
:
addres
Name
||
''
,
phone
:
tel
||
''
,
deliveryType
,
isDefault
,
fullAddress
:
deliveryAddressInfo
.
fullAddress
||
''
,
receiverName
:
deliveryAddressInfo
.
receiver
Name
||
''
,
phone
:
deliveryAddressInfo
.
phone
||
''
,
isDefault
:
deliveryAddressInfo
.
isDefault
,
deliveryType
:
deliveryAddressInfo
.
deliveryType
,
}
]
:
[]
...
...
@@ -258,13 +254,7 @@ const AddBills: React.FC<{}> = (props: any) => {
deliveryType
,
deliveryAddresId
,
orderNo
,
province
,
city
,
area
,
addres
,
addresName
,
tel
,
isDefault
,
deliveryAddressInfo
,
}
=
res
.
data
;
addSchemaAction
.
setFieldState
(
'*(invoicesTypeId,orderNo)'
,
...
...
@@ -283,11 +273,11 @@ const AddBills: React.FC<{}> = (props: any) => {
id
:
+
relevanceInvoicesId
,
deliveryAddresId
:
+
deliveryAddresId
,
supplyMembersName
,
fullAddress
:
`
${
province
||
''
}${
city
||
''
}${
area
||
''
}${
addres
||
''
}
`
,
receiverName
:
addres
Name
||
''
,
phone
:
tel
||
''
,
deliveryType
,
isDefault
,
fullAddress
:
deliveryAddressInfo
.
fullAddress
||
''
,
receiverName
:
deliveryAddressInfo
.
receiver
Name
||
''
,
phone
:
deliveryAddressInfo
.
phone
||
''
,
isDefault
:
deliveryAddressInfo
.
isDefault
,
deliveryType
:
deliveryAddressInfo
.
deliveryType
,
}
]
:
[]
...
...
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