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
0fc2b184
Commit
0fc2b184
authored
Jul 13, 2021
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix(): 修改新增采购物料编辑id和品类没传的问题
parent
1e9d7809
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
index.tsx
...urchaseAbility/purchaseInquiry/addInquiry/modal/index.tsx
+2
-2
No files found.
src/pages/transaction/purchaseAbility/purchaseInquiry/addInquiry/modal/index.tsx
View file @
0fc2b184
...
...
@@ -157,11 +157,11 @@ const AnchorModal: React.FC<AnchorModalProps> = (props: any) => {
const
handleSubmit
=
()
=>
{
form
.
validateFields
().
then
((
res
:
any
)
=>
{
const
data
=
{
goodsId
:
Object
.
keys
(
product
).
length
>
0
&&
product
.
i
d
,
goodsId
:
Object
.
keys
(
product
).
length
>
0
?
product
.
id
:
edit
.
goodsI
d
,
itemNo
:
Object
.
keys
(
product
).
length
>
0
?
product
.
code
:
res
.
number
,
number
:
Object
.
keys
(
product
).
length
>
0
?
product
.
code
:
res
.
number
,
name
:
Object
.
keys
(
product
).
length
>
0
?
product
.
name
:
res
.
name
,
category
:
Object
.
keys
(
product
).
length
>
0
&&
product
.
customerCategory
.
name
,
category
:
Object
.
keys
(
product
).
length
>
0
?
product
.
customerCategory
.
name
:
edit
.
category
,
ids
:
res
.
ids
,
brand
:
res
.
brand
,
model
:
res
.
model
,
...
...
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