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
2cfa3314
Commit
2cfa3314
authored
May 24, 2021
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix: 修改确认采购报价BUG
parent
8fe78b9a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
12 deletions
+25
-12
basic.tsx
...ion/purchaseAbility/offter/addOffter/components/basic.tsx
+1
-1
index.tsx
...ansaction/purchaseAbility/offter/auditOffterOne/index.tsx
+1
-1
index.tsx
...ansaction/purchaseAbility/offter/auditOffterTwo/index.tsx
+1
-1
index.tsx
...ages/transaction/purchaseAbility/offter/inquiry/index.tsx
+2
-2
demand.tsx
...eAbility/purchaseInquiry/addInquiry/components/demand.tsx
+20
-7
No files found.
src/pages/transaction/purchaseAbility/offter/addOffter/components/basic.tsx
View file @
2cfa3314
...
...
@@ -132,7 +132,7 @@ const BasicInfo: React.FC<IProps> = (props: any) => {
<
Form
.
Item
name=
'telPrefix'
rules=
{
[{
required
:
true
,
message
:
'请选择区号'
}]
}
>
<
Select
placeholder=
"+86"
>
{
telCode
.
map
((
item
:
any
)
=>
(
<
Option
value=
{
item
}
>
{
item
}
</
Option
>
<
Option
key=
{
item
}
value=
{
item
}
>
{
item
}
</
Option
>
))
}
</
Select
>
</
Form
.
Item
>
...
...
src/pages/transaction/purchaseAbility/offter/auditOffterOne/index.tsx
View file @
2cfa3314
...
...
@@ -91,7 +91,7 @@ const AuditOffterOne = () => {
<>
<
Button
type=
'link'
onClick=
{
()
=>
history
.
push
(
`/memberCenter/procurementAbility/offter/auditOffterOne/detail?id=${record.id}&number=${record.quotedPriceNo}`
)
}
onClick=
{
()
=>
history
.
push
(
`/memberCenter/procurementAbility/offter/auditOffterOne/detail?id=${record.id}&number=${record.quotedPriceNo}
&turn=${record.turn}
`
)
}
>
审核
</
Button
>
...
...
src/pages/transaction/purchaseAbility/offter/auditOffterTwo/index.tsx
View file @
2cfa3314
...
...
@@ -92,7 +92,7 @@ const AuditOffterTwo = () => {
<>
<
Button
type=
'link'
onClick=
{
()
=>
history
.
push
(
`/memberCenter/procurementAbility/offter/auditOffterTwo/detail?id=${record.id}&number=${record.quotedPriceNo}`
)
}
onClick=
{
()
=>
history
.
push
(
`/memberCenter/procurementAbility/offter/auditOffterTwo/detail?id=${record.id}&number=${record.quotedPriceNo}
&turn=${record.turn}
`
)
}
>
审核
</
Button
>
...
...
src/pages/transaction/purchaseAbility/offter/inquiry/index.tsx
View file @
2cfa3314
...
...
@@ -39,8 +39,8 @@ const Inquiry = () => {
render
:
(
text
:
any
,
record
:
any
)
=>
format
(
text
)
},
{
title
:
'报价截止时间'
,
key
:
'
quotationAs
Time'
,
dataIndex
:
'
quotationAs
Time'
,
key
:
'
offerEnd
Time'
,
dataIndex
:
'
offerEnd
Time'
,
render
:
(
text
:
any
,
record
:
any
)
=>
format
(
text
)
},
{
title
:
'单据时间'
,
...
...
src/pages/transaction/purchaseAbility/purchaseInquiry/addInquiry/components/demand.tsx
View file @
2cfa3314
...
...
@@ -33,7 +33,7 @@ interface Iprops {
currentRef
:
any
,
fetchdata
:
{
[
key
:
string
]:
any
},
onBadge
?:
Function
,
badgeIndex
?
:
number
badgeIndex
?:
number
}
const
{
Link
}
=
Typography
...
...
@@ -54,7 +54,7 @@ const Demand: React.FC<Iprops> = (props: any) => {
const
[
menberVisible
,
setMenberVidible
]
=
useState
<
boolean
>
(
false
);
const
[
rowCtl
,
setRowCtl
]
=
useState
<
any
>
([])
const
handleGetSwitch
=
(
e
:
any
,
index
:
number
)
=>
{
const
handleGetSwitch
=
(
e
:
any
,
index
:
number
)
=>
{
const
state
=
e
?
1
:
0
;
const
params
=
[...
rowCtl
];
params
[
index
].
state
=
state
;
...
...
@@ -93,14 +93,27 @@ const Demand: React.FC<Iprops> = (props: any) => {
key
:
'membershipOrNot'
,
dataIndex
:
'membershipOrNot'
,
render
:
(
_text
:
any
,
_record
:
any
)
=>
<>
{
value
===
3
&&
<
Typography
.
Text
type=
'success'
>
是
</
Typography
.
Text
>
}
{
value
===
3
&&
<
Typography
.
Text
type=
'success'
>
是
</
Typography
.
Text
>
}
</>
},
{
title
:
'状态'
,
title
:
(
<>
<
span
>
需求发送
</
span
>
<
Tooltip
placement=
"top"
title=
'打开开关,审核通过后,将发送需求至选择的归属会员'
>
<
QuestionCircleOutlined
style=
{
{
marginLeft
:
'5px'
,
fontSize
:
'14px'
,
color
:
'#909399'
}
}
/>
</
Tooltip
>
</>
),
key
:
'state'
,
dataIndex
:
'state'
,
render
:
(
_text
:
any
,
_record
:
any
,
index
:
number
)
=>
(
render
:
(
_text
:
any
,
_record
:
any
,
index
:
number
)
=>
(
<
Form
.
Item
style=
{
{
marginBottom
:
0
}
}
>
...
...
@@ -302,7 +315,7 @@ const Demand: React.FC<Iprops> = (props: any) => {
<
Store
visible=
{
visible
}
storeList=
{
storeList
}
onCancel=
{
()
=>
handleCancel
()
}
onCancel=
{
()
=>
handleCancel
()
}
getStroeList=
{
handleStoreIds
}
/>
<
SelectMenber
...
...
@@ -316,7 +329,7 @@ const Demand: React.FC<Iprops> = (props: any) => {
}
Demand
.
defaultProps
=
{
badgeIndex
:
3
badgeIndex
:
3
}
export
default
Demand
;
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