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
XieZhiXiong
jinfa-platform
Commits
25a5f615
Commit
25a5f615
authored
Aug 04, 2021
by
alwayOnlie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改字段
parent
c5ec2c76
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
FormList.tsx
src/pages/contract/manage/add/components/FormList.tsx
+2
-1
No files found.
src/pages/contract/manage/add/components/FormList.tsx
View file @
25a5f615
...
...
@@ -136,7 +136,7 @@ const FormList = (props: any) => {
bidCount
:
sourceType
==
'1'
?
item
.
awardTaxProbability
*
item
.
purchaseCount
/
100
:
sourceType
==
'2'
?
item
.
awardTenderRatio
*
item
.
inviteTenderMateriel
.
count
/
100
:
item
.
purchaseCount
,
bidAmount
:
sourceType
==
'1'
?
item
.
awardTaxProbability
*
item
.
purchaseCount
/
100
*
item
.
taxUnitPrice
:
sourceType
==
'2'
?
item
.
awardTenderRatio
*
item
.
inviteTenderMateriel
.
count
/
100
*
item
.
price
:
item
.
price
,
// productBrand
associatedType
:
_filter
(
sourceType
,
item
,
[
''
,
'
'
,
''
,
''
])
,
associatedType
:
_filter
(
sourceType
,
item
,
[
''
,
'
productAttributeJson'
,
''
,
''
]).
split
(
'-'
)[
1
]
,
associatedBrand
:
_filter
(
sourceType
,
item
,
[
''
,
'productBrand'
,
''
,
''
]),
associatedDataId
:
_filter
(
sourceType
,
item
,
[
''
,
'productId'
,
'commoditySkuId'
]),
// 关联商品id
associatedMaterielNo
:
_filter
(
sourceType
,
item
,
[
''
,
'number'
,
'commodityAttribute'
]),
// 关联物料编号
...
...
@@ -147,6 +147,7 @@ const FormList = (props: any) => {
rowId
:
index
,
}
})
console
.
log
(
data
)
setData
(
data
)
}
}).
catch
(
err
=>
{
...
...
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