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
340555a9
Commit
340555a9
authored
Jun 11, 2021
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix: 修改采购询价等状态
parent
8b9bff2b
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
31 additions
and
25 deletions
+31
-25
index.tsx
...lity/components/detail/components/contrastLyout/index.tsx
+1
-1
index.tsx
...transaction/purchaseAbility/confirmOffer/demand/index.tsx
+2
-2
index.tsx
...ction/purchaseAbility/confirmOffer/offerInquire/index.tsx
+5
-2
index.tsx
...ransaction/purchaseAbility/confirmOffer/preview/index.tsx
+2
-2
index.tsx
.../transaction/purchaseAbility/confirmOffer/quote/index.tsx
+1
-2
index.tsx
...on/purchaseAbility/confirmOffer/toComparePrices/index.tsx
+3
-3
index.tsx
...es/transaction/purchaseAbility/offter/addOffter/index.tsx
+13
-6
index.tsx
...pages/transaction/purchaseAbility/offter/demand/index.tsx
+2
-5
index.tsx
...pages/transaction/purchaseAbility/offter/detail/index.tsx
+2
-2
No files found.
src/pages/transaction/purchaseAbility/components/detail/components/contrastLyout/index.tsx
View file @
340555a9
...
...
@@ -17,7 +17,7 @@ import { useBidTable } from '../../../effects/useBidTable';
export
interface
ContrastProps
{
effect
?:
any
,
redux
?(
e
:
any
),
preview
?:
string
preview
?:
boolean
}
const
chNum
:
{
[
key
:
number
]:
string
}
=
{
...
...
src/pages/transaction/purchaseAbility/confirmOffer/demand/index.tsx
View file @
340555a9
...
...
@@ -56,8 +56,8 @@ const DemandDetailed = () => {
{
col
:
[
{
label
:
'需求单号'
,
extra
:
data
.
purchaseInquiryNo
},
{
label
:
'外部状态'
,
extra
:
<
Tag
color=
{
OFFTER_EXTERNALSTATE_COLOR
[
data
.
externalState
]
}
>
{
OFFTER_EXTERNALSTATE
[
data
.
externalState
]
}
</
Tag
>
},
{
label
:
'内部状态'
,
extra
:
<
Badge
status=
{
OFFTER_INTERNALSTATE_COLOR
[
data
.
interiorState
]
}
text=
{
OFFTER_INTERNALSTATE
[
data
.
interiorState
]
}
/>
},
{
label
:
'外部状态'
,
extra
:
<
Tag
color=
{
OFFTER_EXTERNALSTATE_COLOR
[
data
.
externalState
]
||
'default'
}
>
{
data
.
externalStateName
}
</
Tag
>
},
{
label
:
'内部状态'
,
extra
:
<
Badge
status=
{
OFFTER_INTERNALSTATE_COLOR
[
data
.
interiorState
]
||
'default'
}
text=
{
data
.
interiorStateName
}
/>
},
{
label
:
'单据时间'
,
extra
:
format
(
data
.
createTime
)
},
]
},
...
...
src/pages/transaction/purchaseAbility/confirmOffer/offerInquire/index.tsx
View file @
340555a9
...
...
@@ -12,6 +12,7 @@ import {
OFFTER_CONFIRMINTERIORSTATE_COLOR
,
OFFTER_EXTERNALSTATE_TYPE
,
CHNUM_TYPE
,
BUTTONAUTHORITY
}
from
'../../constants'
;
import
ModalOperate
from
'../../components/modalOperate'
;
...
...
@@ -100,7 +101,8 @@ const OfferInquire = () => {
dataIndex
:
'operate'
,
render
:
(
text
:
any
,
record
:
any
)
=>
(
<>
{
record
.
externalState
===
OFFTER_EXTERNALSTATE_TYPE
.
WAITSUBMIOFFER_TYPE
{
record
.
button
===
BUTTONAUTHORITY
.
FOUR
&&
(
<
Button
type=
'link'
...
...
@@ -112,7 +114,8 @@ const OfferInquire = () => {
>
调整截止时间
</
Button
>
)
}
)
}
<
Button
type=
'link'
onClick=
{
()
=>
history
.
push
(
`/memberCenter/procurementAbility/confirmOffer/offerInquire/preview?id=${record.id}&turn=${record.turn}`
)
}
>
查看
</
Button
>
</>
)
...
...
src/pages/transaction/purchaseAbility/confirmOffer/preview/index.tsx
View file @
340555a9
...
...
@@ -47,8 +47,8 @@ const ContrastPreview = () => {
col
:
[
{
label
:
'需求单号'
,
extra
:
data
.
purchaseInquiryNo
},
{
label
:
'需求摘要'
,
extra
:
data
.
details
},
{
label
:
'外部状态'
,
extra
:
<
Tag
color=
{
OFFTER_EXTERNALSTATE_COLOR
[
data
.
externalState
]
}
>
{
OFFTER_EXTERNALSTATE
[
data
.
externalState
]
}
</
Tag
>
},
{
label
:
'内部状态'
,
extra
:
<
Badge
status=
{
OFFTER_INTERNALSTATE_COLOR
[
data
.
interiorState
]
}
text=
{
OFFTER_INTERNALSTATE
[
data
.
interiorState
]
}
/>
},
{
label
:
'外部状态'
,
extra
:
<
Tag
color=
{
OFFTER_EXTERNALSTATE_COLOR
[
data
.
externalState
]
||
'default'
}
>
{
data
.
externalStateName
}
</
Tag
>
},
{
label
:
'内部状态'
,
extra
:
<
Badge
status=
{
OFFTER_INTERNALSTATE_COLOR
[
data
.
interiorState
]
||
'default'
}
text=
{
data
.
interiorStateName
}
/>
},
]
},
{
...
...
src/pages/transaction/purchaseAbility/confirmOffer/quote/index.tsx
View file @
340555a9
...
...
@@ -10,7 +10,6 @@ import OtherLayout from '../../components/detail/components/otherLayout';
import
BidInfoLayout
from
'../../components/detail/components/bidInfoLayout'
;
import
{
OFFTER_EXTERNALSTATE
,
OFFTER_EXTERNALSTATE_COLOR
,
}
from
'../../constants'
;
import
{
LinkOutlined
}
from
'@ant-design/icons'
;
...
...
@@ -38,7 +37,7 @@ const QuoteDetails = () => {
{
label
:
'报价单号'
,
extra
:
data
.
quotedPriceNo
},
{
label
:
'报价摘要'
,
extra
:
data
.
quotedDetails
},
{
label
:
'报价会员'
,
extra
:
data
.
createMemberName
},
{
label
:
'外部状态'
,
extra
:
<
Tag
color=
{
OFFTER_EXTERNALSTATE_COLOR
[
data
.
externalState
]
}
>
{
OFFTER_EXTERNALSTATE
[
data
.
externalState
]
}
</
Tag
>
}
{
label
:
'外部状态'
,
extra
:
<
Tag
color=
{
OFFTER_EXTERNALSTATE_COLOR
[
data
.
externalState
]
||
'default'
}
>
{
data
.
externalStateName
}
</
Tag
>
}
]
},
{
...
...
src/pages/transaction/purchaseAbility/confirmOffer/toComparePrices/index.tsx
View file @
340555a9
...
...
@@ -13,6 +13,7 @@ import {
OFFTER_EXTERNALSTATE_TYPE
,
OFFTER_CONFIRMINTERNALSTATE_TYPE
,
CHNUM_TYPE
,
BUTTONAUTHORITY
,
}
from
'../../constants'
;
const
{
Text
}
=
Typography
...
...
@@ -94,7 +95,7 @@ const ToComparePrices = () => {
dataIndex
:
'operate'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<>
{
record
.
confirmInteriorState
===
OFFTER_CONFIRMINTERNALSTATE_TYPE
.
WAITSTHAN_TYPE
&&
{
record
.
button
===
BUTTONAUTHORITY
.
SIX
&&
<
Button
type=
'link'
onClick=
{
()
=>
history
.
push
(
`/memberCenter/procurementAbility/confirmOffer/contrast?id=${record.id}&turn=${record.turn}`
)
}
...
...
@@ -103,8 +104,7 @@ const ToComparePrices = () => {
</
Button
>
}
{
(
record
.
confirmInteriorState
===
OFFTER_CONFIRMINTERNALSTATE_TYPE
.
AUDITNOPASS1_TYPE
&&
record
.
confirmInteriorState
===
OFFTER_CONFIRMINTERNALSTATE_TYPE
.
AUDITNOPASS2_TYPE
(
record
.
button
===
BUTTONAUTHORITY
.
SEVEN
)
&&
<
Button
type=
'link'
>
修改授标结果
</
Button
>
}
<
Button
type=
'link'
onClick=
{
()
=>
history
.
push
(
`/memberCenter/procurementAbility/confirmOffer/toComparePrices/preview?id=${record.id}&turn=${record.turn}`
)
}
>
查看
</
Button
>
...
...
src/pages/transaction/purchaseAbility/offter/addOffter/index.tsx
View file @
340555a9
...
...
@@ -7,12 +7,11 @@ import moment from 'moment'
import
{
PublicApi
}
from
'@/services/api'
;
import
{
Row
,
Col
,
Space
,
Button
,
Typography
,
Popconfirm
,
Rate
}
from
'antd'
;
import
{
OFFTER_EXTERNALSTATE
,
OFFTER_EXTERNALSTATE_COLOR
,
OFFTER_INTERNALSTATE
,
OFFTER_INTERNALSTATE_COLOR
,
OFFTER_INTERNALSTATE_TYPE
,
CHNUM_TYPE
CHNUM_TYPE
,
BUTTONAUTHORITY
}
from
'../../constants'
;
import
{
Badge
,
Tag
}
from
'antd'
;
const
{
Text
}
=
Typography
;
...
...
@@ -91,24 +90,32 @@ const AddOffter = () => {
dataIndex
:
'operate'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<>
{
record
.
interiorState
===
OFFTER_INTERNALSTATE_TYPE
.
WAITSUBMITAUDIT_TYP
E
record
.
button
===
BUTTONAUTHORITY
.
ON
E
&&
(
<>
<
Popconfirm
title=
"确定要提交审核吗?"
okText=
"是"
cancelText=
"否"
onConfirm=
{
()
=>
fetchSubmitBatch
(
record
.
id
)
}
>
<
Button
type=
'link'
>
提交审核
</
Button
>
</
Popconfirm
>
)
}
{
(
record
.
button
===
BUTTONAUTHORITY
.
ONE
||
record
.
button
===
BUTTONAUTHORITY
.
TWO
)
&&
(
<
Button
onClick=
{
()
=>
history
.
push
(
`/memberCenter/procurementAbility/offter/edit?id=${record.id}&number=${record.quotedPriceNo}`
)
}
type=
'link'
>
修改
</
Button
>
)
}
{
record
.
button
===
BUTTONAUTHORITY
.
ONE
&&
(
<
Popconfirm
title=
"确定要删除吗?"
okText=
"是"
cancelText=
"否"
onConfirm=
{
()
=>
fetchDeleteBatch
(
record
.
id
)
}
>
<
Button
type=
'link'
>
删除
</
Button
>
</
Popconfirm
>
</>
)
}
</>
...
...
src/pages/transaction/purchaseAbility/offter/demand/index.tsx
View file @
340555a9
...
...
@@ -11,14 +11,11 @@ import RecordLyout from '../../components/detail/components/recordLyout';
import
moment
from
'moment'
;
import
{
OFFTER_EXTERNALSTATE
,
OFFTER_EXTERNALSTATE_COLOR
,
OFFTER_INTERNALSTATE
,
OFFTER_INTERNALSTATE_COLOR
}
from
'../../constants'
;
import
{
LinkOutlined
,
QuestionCircleOutlined
}
from
'@ant-design/icons'
;
import
MaterialLayout
from
'../../components/detail/components/materialLayout'
;
import
DemandLayout
from
'../../components/detail/components/demandLayout'
;
const
ICON_STYLE
:
any
=
{
color
:
'#C0C4CC'
,
...
...
@@ -53,8 +50,8 @@ const DemandDetailed = () => {
{
col
:
[
{
label
:
'需求单号'
,
extra
:
data
.
purchaseInquiryNo
},
{
label
:
'外部状态'
,
extra
:
<
Tag
color=
{
OFFTER_EXTERNALSTATE_COLOR
[
data
.
externalState
]
}
>
{
OFFTER_EXTERNALSTATE
[
data
.
externalState
]
}
</
Tag
>
},
{
label
:
'内部状态'
,
extra
:
<
Badge
status=
{
OFFTER_INTERNALSTATE_COLOR
[
data
.
interiorState
]
}
text=
{
OFFTER_INTERNALSTATE
[
data
.
interiorState
]
}
/>
},
{
label
:
'外部状态'
,
extra
:
<
Tag
color=
{
OFFTER_EXTERNALSTATE_COLOR
[
data
.
externalState
]
||
'default'
}
>
{
data
.
externalStateName
}
</
Tag
>
},
{
label
:
'内部状态'
,
extra
:
<
Badge
status=
{
OFFTER_INTERNALSTATE_COLOR
[
data
.
interiorState
]
||
'default'
}
text=
{
data
.
interiorStateName
}
/>
},
{
label
:
'单据时间'
,
extra
:
format
(
data
.
createTime
)
},
]
},
...
...
src/pages/transaction/purchaseAbility/offter/detail/index.tsx
View file @
340555a9
...
...
@@ -68,8 +68,8 @@ const QuoteDetails = () => {
col
:
[
{
label
:
'报价单号'
,
extra
:
data
.
quotedPriceNo
},
{
label
:
'报价摘要'
,
extra
:
data
.
quotedDetails
},
{
label
:
'外部状态'
,
extra
:
<
Tag
color=
{
OFFTER_EXTERNALSTATE_COLOR
[
data
.
externalState
]
}
>
{
OFFTER_EXTERNALSTATE
[
data
.
externalState
]
}
</
Tag
>
},
{
label
:
'内部状态'
,
extra
:
<
Badge
status=
{
OFFTER_INTERNALSTATE_COLOR
[
data
.
interiorState
]
}
text=
{
OFFTER_INTERNALSTATE
[
data
.
interiorState
]
}
/>
},
{
label
:
'外部状态'
,
extra
:
<
Tag
color=
{
OFFTER_EXTERNALSTATE_COLOR
[
data
.
externalState
]
||
'default'
}
>
{
data
.
externalStateName
}
</
Tag
>
},
{
label
:
'内部状态'
,
extra
:
<
Badge
status=
{
OFFTER_INTERNALSTATE_COLOR
[
data
.
interiorState
]
||
'default'
}
text=
{
data
.
interiorStateName
}
/>
},
]
},
{
...
...
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