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
linweijiong
jinfa-platform
Commits
24260294
Commit
24260294
authored
Aug 31, 2021
by
alwayOnlie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
bbbe6d01
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
FormList.tsx
src/pages/contract/manage/add/components/FormList.tsx
+6
-6
index.tsx
src/pages/contract/manage/details/index.tsx
+2
-2
FormList.tsx
src/pages/contract/manage/editing/components/FormList.tsx
+2
-2
No files found.
src/pages/contract/manage/add/components/FormList.tsx
View file @
24260294
...
...
@@ -141,10 +141,10 @@ const FormList = (props: any) => {
bidAmount
:
sourceType
==
'1'
?
item
.
awardTaxProbability
*
item
.
purchaseCount
/
100
*
item
.
taxUnitPrice
:
sourceType
==
'2'
?
item
.
awardTenderRatio
*
item
.
inviteTenderMateriel
.
count
/
100
*
item
.
price
:
item
.
price
,
// productBrand
associatedDataId
:
_filter
(
sourceType
,
item
,
[
''
,
'productId'
,
'commoditySkuId'
]),
// 关联商品id
associatedGoods
:
_filter
(
sourceType
,
item
,
[
''
,
'product
AttributeJson'
,
'commodityAttribut
e'
,
''
]),
//关联
associatedMaterielNo
:
_filter
(
sourceType
,
item
,
[
''
,
'number'
,
'commodityCode'
]),
// 关联物料编号
associatedMaterielName
:
_filter
(
sourceType
,
item
,
[
''
,
'productName'
,
'commodityName'
]),
// 关联商品名称
associatedType
:
sourceType
==
1
?
_filter
(
sourceType
,
item
,
[
''
,
'productAttributeJson'
,
'commodityCategory'
,
''
]).
split
(
'-'
)[
1
]
:
_filter
(
sourceType
,
item
,
[
''
,
'productAttributeJson'
,
'commodity
Category
'
,
''
]),
//规格型号
associatedGoods
:
_filter
(
sourceType
,
item
,
[
''
,
'product
Name'
,
'commodityNam
e'
,
''
]),
//关联
//
associatedMaterielNo: _filter(sourceType, item, ['', 'number', 'commodityCode']), // 关联物料编号
//
associatedMaterielName: _filter(sourceType, item, ['', 'productName', 'commodityName']), // 关联商品名称
associatedType
:
sourceType
==
1
?
_filter
(
sourceType
,
item
,
[
''
,
'productAttributeJson'
,
'commodityCategory'
,
''
]).
split
(
'-'
)[
1
]
:
_filter
(
sourceType
,
item
,
[
''
,
'productAttributeJson'
,
'commodity
Attribute
'
,
''
]),
//规格型号
associatedCategory
:
_filter
(
sourceType
,
item
,
[
''
,
'productAttributeJson'
,
'commodityCategory'
,
''
]),
// 关联商品品类
associatedBrand
:
_filter
(
sourceType
,
item
,
[
''
,
'productBrand'
,
'commodityBrand'
,
''
]),
// 关联品牌
rowId
:
index
,
...
...
@@ -358,10 +358,10 @@ const FormList = (props: any) => {
</
div
>
<
div
className=
{
styles
.
text
}
>
<
p
>
商品ID:
{
record
.
associatedDataId
}
</
p
>
<
p
>
商品名称:
{
record
.
associated
MaterielName
}
</
p
>
<
p
>
商品名称:
{
record
.
associated
Goods
}
</
p
>
</
div
>
<
div
className=
{
styles
.
text
}
>
<
p
>
规格:
{
record
.
associated
Goods
}
</
p
>
<
p
>
规格:
{
record
.
associated
Type
}
</
p
>
<
p
>
品类:
{
record
.
associatedCategory
}
</
p
>
</
div
>
<
div
className=
{
styles
.
text
}
>
...
...
src/pages/contract/manage/details/index.tsx
View file @
24260294
...
...
@@ -273,10 +273,10 @@ const Details = (props: any) => {
</
div
>
<
div
className=
{
style
.
text
}
>
<
p
>
商品ID:
{
record
.
associatedDataId
}
</
p
>
<
p
className=
{
style
.
nowrap
}
>
商品名称:
{
record
.
associated
MaterielName
}
</
p
>
<
p
className=
{
style
.
nowrap
}
>
商品名称:
{
record
.
associated
Goods
}
</
p
>
</
div
>
<
div
className=
{
style
.
text
}
>
<
p
>
规格型号:
{
record
.
associated
Goods
}
</
p
>
<
p
>
规格型号:
{
record
.
associated
Type
}
</
p
>
<
p
>
品类:
{
record
.
associatedCategory
}
</
p
>
</
div
>
<
div
className=
{
style
.
text
}
>
...
...
src/pages/contract/manage/editing/components/FormList.tsx
View file @
24260294
...
...
@@ -186,10 +186,10 @@ const FormList = (props: any) => {
</
div
>
<
div
className=
{
styles
.
text
}
>
<
p
>
商品ID:
{
record
.
associatedDataId
}
</
p
>
<
p
>
商品名称:
{
record
.
associated
MaterielName
}
</
p
>
<
p
>
商品名称:
{
record
.
associated
Goods
}
</
p
>
</
div
>
<
div
className=
{
styles
.
text
}
>
<
p
>
规格:
{
record
.
associated
Goods
}
</
p
>
<
p
>
规格:
{
record
.
associated
Type
}
</
p
>
<
p
>
品类:
{
record
.
associatedCategory
}
</
p
>
</
div
>
<
div
className=
{
styles
.
text
}
>
...
...
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