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
36931760
Commit
36931760
authored
Aug 04, 2021
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix(): 修复bug
parent
c5ec2c76
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
43 additions
and
7 deletions
+43
-7
tradeTerms.tsx
...y/productInquiry/waitAddInquiry/components/tradeTerms.tsx
+37
-3
index.tsx
...lity/components/detail/components/bidInfoLayout/index.tsx
+2
-2
index.tsx
...ty/components/detail/components/bidResultLayout/index.tsx
+2
-2
index.tsx
...urchaseAbility/purchaseInquiry/addInquiry/modal/index.tsx
+2
-0
No files found.
src/pages/transaction/dealAbility/productInquiry/waitAddInquiry/components/tradeTerms.tsx
View file @
36931760
import
React
,
{
useEffect
,
useState
}
from
'react'
;
import
{
Row
,
Col
,
Form
,
Input
,
DatePicker
,
Select
}
from
'antd'
;
import
{
Row
,
Col
,
Form
,
Input
,
DatePicker
,
Select
,
Button
,
Space
}
from
'antd'
;
import
Card
from
'@/pages/transaction/components/card'
;
import
moment
from
'moment'
;
import
{
PublicApi
}
from
'@/services/api'
;
import
{
isEmpty
}
from
'lodash'
;
import
{
LinkOutlined
}
from
'@ant-design/icons'
;
const
disabledDate
=
(
current
)
=>
{
return
current
&&
current
<
moment
().
startOf
(
'day'
);
...
...
@@ -70,14 +71,47 @@ const TradeTermsLayout: React.FC<TradeTermsLayoutProps> = (props: any) => {
format=
"YYYY-MM-DD HH:mm:ss"
/>
</
Form
.
Item
>
<
Form
.
Item
label=
'报价要求'
name=
'offer'
>
<
Input
.
TextArea
maxLength=
{
50
}
autoSize
placeholder=
'最长100个字符,50个汉字'
/>
<
Form
.
Item
label=
'询价联系人'
name=
'contacts'
rules=
{
[{
required
:
true
,
message
:
'请选择询价联系人'
}]
}
>
<
Input
.
Search
readOnly
enterButton=
{
<
Button
style=
{
{
height
:
'31.19px'
}
}
icon=
{
<
LinkOutlined
/>
}
>
选择
</
Button
>
}
/>
</
Form
.
Item
>
<
Form
.
Item
label=
'联系人电话'
required
style=
{
{
marginBottom
:
'0px'
}
}
>
<
Row
gutter=
{
16
}
>
<
Col
span=
{
8
}
>
<
Form
.
Item
name=
'phoneCode'
rules=
{
[{
required
:
true
,
message
:
'请选择'
}]
}
>
<
Select
>
<
Select
.
Option
value=
{
86
}
>
86
</
Select
.
Option
>
</
Select
>
</
Form
.
Item
>
</
Col
>
<
Col
span=
{
16
}
>
<
Form
.
Item
name=
'contactsPhone'
rules=
{
[{
required
:
true
,
message
:
'请选择'
}]
}
>
<
Input
type=
'number'
maxLength=
{
11
}
/>
</
Form
.
Item
>
</
Col
>
</
Row
>
</
Form
.
Item
>
<
Form
.
Item
label=
'付款方式'
name=
'paymentType'
>
<
Input
.
TextArea
maxLength=
{
50
}
autoSize
placeholder=
'最长100个字符,50个汉字'
/>
</
Form
.
Item
>
</
Col
>
<
Col
span=
{
12
}
>
<
Form
.
Item
label=
'报价要求'
name=
'offer'
>
<
Input
.
TextArea
maxLength=
{
50
}
autoSize
placeholder=
'最长100个字符,50个汉字'
/>
</
Form
.
Item
>
<
Form
.
Item
label=
'税费要求'
name=
'taxes'
>
<
Input
.
TextArea
maxLength=
{
50
}
autoSize
placeholder=
'最长100个字符,50个汉字'
/>
</
Form
.
Item
>
...
...
src/pages/transaction/purchaseAbility/components/detail/components/bidInfoLayout/index.tsx
View file @
36931760
...
...
@@ -188,8 +188,8 @@ const BidInfoLayout: React.FC<BidInfoProps> = (props: any) => {
<
Row
>
<
Col
span=
{
3
}
>
<
div
className=
{
style
.
childrenTitle
}
>
<
p
>
对应
</
p
>
<
p
>
招标
商品
</
p
>
<
p
>
关联
</
p
>
<
p
>
报价
商品
</
p
>
</
div
>
</
Col
>
<
Col
span=
{
6
}
>
...
...
src/pages/transaction/purchaseAbility/components/detail/components/bidResultLayout/index.tsx
View file @
36931760
...
...
@@ -130,8 +130,8 @@ const BidResultLayout: React.FC<BidResultProps> = (props: any) => {
<
Row
>
<
Col
span=
{
3
}
>
<
div
className=
{
style
.
childrenTitle
}
>
<
p
>
对应
</
p
>
<
p
>
招标
商品
</
p
>
<
p
>
关联
</
p
>
<
p
>
报价
商品
</
p
>
</
div
>
</
Col
>
<
Col
span=
{
6
}
>
...
...
src/pages/transaction/purchaseAbility/purchaseInquiry/addInquiry/modal/index.tsx
View file @
36931760
...
...
@@ -177,6 +177,8 @@ const AnchorModal: React.FC<AnchorModalProps> = (props: any) => {
name
:
Object
.
keys
(
product
).
length
>
0
?
product
.
name
:
res
.
name
,
category
:
Object
.
keys
(
product
).
length
>
0
?
product
.
customerCategory
.
name
:
edit
.
category
,
ids
:
res
.
ids
,
categoryId
:
Object
.
keys
(
product
).
length
>
0
?
product
.
customerCategory
.
id
:
edit
.
catcategoryIdegory
,
memberCategoryId
:
(
Object
.
keys
(
product
).
length
>
0
&&
!
isEmpty
(
product
.
customerCategory
.
category
))
?
product
.
customerCategory
.
category
.
id
:
edit
.
memberCategoryId
,
brand
:
res
.
brand
,
model
:
res
.
model
,
purchaseCount
:
res
.
purchaseCount
,
...
...
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