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
84ffaafe
Commit
84ffaafe
authored
Oct 21, 2020
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改询价报价, 商品询价, 确定询价报价所有跳转路由
parent
559d819d
Hide whitespace changes
Inline
Side-by-side
Showing
35 changed files
with
389 additions
and
62 deletions
+389
-62
confirmInquiryQuote.ts
config/routes/tranactionRoute/confirmInquiryQuote.ts
+3
-3
goodsOffer.ts
config/routes/tranactionRoute/goodsOffer.ts
+5
-5
inquiryQuote.ts
config/routes/tranactionRoute/inquiryQuote.ts
+6
-6
details.tsx
...es/transaction/confirmInquiryQuote/components/details.tsx
+8
-2
details.tsx
...nsaction/confirmInquiryQuote/pendingReviewOne/details.tsx
+20
-0
index.tsx
...ransaction/confirmInquiryQuote/pendingReviewOne/index.tsx
+2
-2
details.tsx
...nsaction/confirmInquiryQuote/pendingReviewTwo/details.tsx
+20
-0
details.tsx
...transaction/confirmInquiryQuote/pendingSubmit/details.tsx
+20
-0
details.tsx
...ction/confirmInquiryQuote/pendingSubmitReview/details.tsx
+20
-0
details.tsx
...es/transaction/confirmInquiryQuote/quoteOrder/details.tsx
+20
-0
enquiryGoods.tsx
...on/goodsOffer/addEnquiryOrder/components/enquiryGoods.tsx
+1
-1
details.tsx
src/pages/transaction/goodsOffer/addEnquiryOrder/details.tsx
+19
-0
index.tsx
src/pages/transaction/goodsOffer/addEnquiryOrder/index.tsx
+1
-1
details.tsx
src/pages/transaction/goodsOffer/components/details.tsx
+8
-2
details.tsx
src/pages/transaction/goodsOffer/enquiryOrder/details.tsx
+19
-0
index.tsx
src/pages/transaction/goodsOffer/enquiryOrder/index.tsx
+22
-22
details.tsx
...pages/transaction/goodsOffer/pendingReviewOne/details.tsx
+19
-0
index.tsx
src/pages/transaction/goodsOffer/pendingReviewOne/index.tsx
+1
-1
details.tsx
...pages/transaction/goodsOffer/pendingReviewTwo/details.tsx
+19
-0
index.tsx
src/pages/transaction/goodsOffer/pendingReviewTwo/index.tsx
+1
-1
details.tsx
src/pages/transaction/goodsOffer/pendingSubmit/details.tsx
+19
-0
index.tsx
src/pages/transaction/goodsOffer/pendingSubmit/index.tsx
+1
-1
details.tsx
...ages/transaction/inquiryQuote/addInquiryOrder/details.tsx
+19
-0
index.tsx
src/pages/transaction/inquiryQuote/addInquiryOrder/index.tsx
+4
-4
details.tsx
src/pages/transaction/inquiryQuote/components/details.tsx
+8
-2
details.tsx
src/pages/transaction/inquiryQuote/enquiryOrder/details.tsx
+19
-0
index.tsx
src/pages/transaction/inquiryQuote/enquiryOrder/index.tsx
+1
-1
details.tsx
...ges/transaction/inquiryQuote/pendingReviewOne/details.tsx
+19
-0
index.tsx
...pages/transaction/inquiryQuote/pendingReviewOne/index.tsx
+2
-2
details.tsx
...ges/transaction/inquiryQuote/pendingReviewTwo/details.tsx
+19
-0
index.tsx
...pages/transaction/inquiryQuote/pendingReviewTwo/index.tsx
+2
-2
details.tsx
src/pages/transaction/inquiryQuote/pendingSubmit/details.tsx
+19
-0
index.tsx
src/pages/transaction/inquiryQuote/pendingSubmit/index.tsx
+2
-2
details.tsx
src/pages/transaction/inquiryQuote/quoteOrder/details.tsx
+19
-0
index.tsx
src/pages/transaction/inquiryQuote/quoteOrder/index.tsx
+2
-2
No files found.
config/routes/tranactionRoute/confirmInquiryQuote.ts
View file @
84ffaafe
...
...
@@ -45,7 +45,7 @@ export default [
path
:
'/memberCenter/tranactionAbility/confirmInquiryQuote/pendingReviewOne/details'
,
name
:
'pendingReviewOneDetails'
,
hideInMenu
:
true
,
component
:
'@/pages/transaction/confirmInquiryQuote/
components
/details'
component
:
'@/pages/transaction/confirmInquiryQuote/
pendingReviewOne
/details'
},
// 待审核询价单(二级)
{
...
...
@@ -58,7 +58,7 @@ export default [
path
:
'/memberCenter/tranactionAbility/confirmInquiryQuote/pendingReviewTwo/details'
,
name
:
'pendingReviewTwoDetails'
,
hideInMenu
:
true
,
component
:
'@/pages/transaction/confirmInquiryQuote/
components
/details'
component
:
'@/pages/transaction/confirmInquiryQuote/
pendingReviewTwo
/details'
},
// 待提交报价单
{
...
...
@@ -71,7 +71,7 @@ export default [
path
:
'/memberCenter/tranactionAbility/confirmInquiryQuote/pendingSubmit/details'
,
name
:
'pendingSubmitDetails'
,
hideInMenu
:
true
,
component
:
'@/pages/transaction/confirmInquiryQuote/
components
/details'
component
:
'@/pages/transaction/confirmInquiryQuote/
pendingSubmit
/details'
},
]
},
...
...
config/routes/tranactionRoute/goodsOffer.ts
View file @
84ffaafe
...
...
@@ -19,7 +19,7 @@ export default [
path
:
'/memberCenter/tranactionAbility/goodsOffer/enquiryOrder/details'
,
name
:
'enquiryOrderDetails'
,
hideInMenu
:
true
,
component
:
'@/pages/transaction/goodsOffer/
components
/details'
component
:
'@/pages/transaction/goodsOffer/
enquiryOrder
/details'
},
// 待新增询价单
{
...
...
@@ -46,7 +46,7 @@ export default [
path
:
'/memberCenter/tranactionAbility/goodsOffer/addEnquiryOrder/details'
,
name
:
'addEnquiryOrderDetails'
,
hideInMenu
:
true
,
component
:
'@/pages/transaction/goodsOffer/
components
/details'
component
:
'@/pages/transaction/goodsOffer/
addEnquiryOrder
/details'
},
// 待审核询价单(一级)
{
...
...
@@ -59,7 +59,7 @@ export default [
path
:
'/memberCenter/tranactionAbility/goodsOffer/pendingReviewOne/details'
,
name
:
'pendingReviewOneDetails'
,
hideInMenu
:
true
,
component
:
'@/pages/transaction/goodsOffer/
components
/details'
component
:
'@/pages/transaction/goodsOffer/
pendingReviewOne
/details'
},
// 待审核询价单(二级)
{
...
...
@@ -72,7 +72,7 @@ export default [
path
:
'/memberCenter/tranactionAbility/goodsOffer/pendingReviewTwo/details'
,
name
:
'pendingReviewTwoDetails'
,
hideInMenu
:
true
,
component
:
'@/pages/transaction/goodsOffer/
components
/details'
component
:
'@/pages/transaction/goodsOffer/
pendingReviewTwo
/details'
},
// 待提交询价单
{
...
...
@@ -85,7 +85,7 @@ export default [
path
:
'/memberCenter/tranactionAbility/goodsOffer/pendingSubmit/details'
,
name
:
'pendingSubmitDetails'
,
hideInMenu
:
true
,
component
:
'@/pages/transaction/goodsOffer/
components
/details'
component
:
'@/pages/transaction/goodsOffer/
pendingSubmit
/details'
}
]
}
...
...
config/routes/tranactionRoute/inquiryQuote.ts
View file @
84ffaafe
...
...
@@ -19,7 +19,7 @@ export default [
path
:
'/memberCenter/tranactionAbility/inquiryQuote/enquiryOrder/details'
,
name
:
'enquiryOrder'
,
hideInMenu
:
true
,
component
:
'@/pages/transaction/inquiryQuote/
components
/details'
component
:
'@/pages/transaction/inquiryQuote/
enquiryOrder
/details'
},
//报价单查询
{
...
...
@@ -32,7 +32,7 @@ export default [
path
:
'/memberCenter/tranactionAbility/inquiryQuote/quoteOrder/details'
,
name
:
'quoteOrderDetails'
,
hideInMenu
:
true
,
component
:
'@/pages/transaction/inquiryQuote/
components
/details'
component
:
'@/pages/transaction/inquiryQuote/
quoteOrder
/details'
},
//待新增报价单
{
...
...
@@ -59,7 +59,7 @@ export default [
path
:
'/memberCenter/tranactionAbility/inquiryQuote/addInquiryOrder/details'
,
name
:
'details'
,
hideInMenu
:
true
,
component
:
'@/pages/transaction/inquiryQuote/
components
/details'
component
:
'@/pages/transaction/inquiryQuote/
addInquiryOrder
/details'
},
// 待审核报价单(一级)
{
...
...
@@ -72,7 +72,7 @@ export default [
path
:
'/memberCenter/tranactionAbility/inquiryQuote/pendingReviewOne/details'
,
name
:
'pendingReviewOneDetails'
,
hideInMenu
:
true
,
component
:
'@/pages/transaction/inquiryQuote/
components
/details'
component
:
'@/pages/transaction/inquiryQuote/
pendingReviewOne
/details'
},
// 待审核报价单(二级)
{
...
...
@@ -85,7 +85,7 @@ export default [
path
:
'/memberCenter/tranactionAbility/inquiryQuote/pendingReviewTwo/details'
,
name
:
'pendingReviewTwoDetails'
,
hideInMenu
:
true
,
component
:
'@/pages/transaction/inquiryQuote/
components
/details'
component
:
'@/pages/transaction/inquiryQuote/
pendingReviewTwo
/details'
},
// 待提交报价单
{
...
...
@@ -98,7 +98,7 @@ export default [
path
:
'/memberCenter/tranactionAbility/inquiryQuote/pendingSubmit/details'
,
name
:
'pendingSubmitDetails'
,
hideInMenu
:
true
,
component
:
'@/pages/transaction/inquiryQuote/
components
/details'
component
:
'@/pages/transaction/inquiryQuote/
pendingSubmit
/details'
},
]
}
...
...
src/pages/transaction/confirmInquiryQuote/components/details.tsx
View file @
84ffaafe
...
...
@@ -24,11 +24,17 @@ export const HEADER_WRAPPER_TEXTS = {
'interiorState'
:
'内部状态'
,
}
const
Details
:
React
.
FC
<
{}
>
=
()
=>
{
export
interface
parmas
{
page_type
?:
any
,
id
?:
any
,
view
?:
any
}
const
Details
:
React
.
FC
<
parmas
>
=
(
props
)
=>
{
const
[
visible
,
setvisible
]
=
useState
(
false
)
//page_type: 1.待确认报价单,2.待审核报价单1级,3.待审核报价单2级,4.报价单查询,5.待提交审核报价单
//view: 1.询价单号,2.报价单号
const
{
id
,
page_type
,
view
}
=
history
.
location
.
query
;
const
{
id
,
page_type
,
view
}
=
props
;
const
[
headerWrapperData
,
setheaderWrapperData
]
=
useState
<
Array
<
any
>>
([]);
// steps 切换
const
[
detailData
,
setDetailData
]
=
useState
<
any
>
({
...
...
src/pages/transaction/confirmInquiryQuote/pendingReviewOne/details.tsx
0 → 100644
View file @
84ffaafe
import
React
from
'react'
;
import
{
history
}
from
'umi'
;
import
Datails
from
'../components/details'
;
import
{
PublicApi
}
from
'@/services/api'
;
const
PendingReviewOneDetails
:
React
.
FC
<
{}
>
=
()
=>
{
//page_type: 1.待确认报价单,2.待审核报价单1级,3.待审核报价单2级,4.报价单查询,5.待提交审核报价单
//view: 1.询价单号,2.报价单号
const
{
id
,
view
}
=
history
.
location
.
query
;
return
(
<
Datails
page_type=
{
2
}
id=
{
id
}
view=
{
view
}
/>
)
}
export
default
PendingReviewOneDetails
\ No newline at end of file
src/pages/transaction/confirmInquiryQuote/pendingReviewOne/index.tsx
View file @
84ffaafe
...
...
@@ -73,13 +73,13 @@ const PendingReviewOne: React.FC<{}> = () => {
key
:
'quotationNo'
,
dataIndex
:
'quotationNo'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
EyePreview
url=
{
`/memberCenter/tranactionAbility/confirmInquiryQuote/pending
Submit/details?id=${record.id}&page_type=1
&view=2`
}
>
{
text
}
</
EyePreview
>
url=
{
`/memberCenter/tranactionAbility/confirmInquiryQuote/pending
ReviewOne/details?id=${record.id}
&view=2`
}
>
{
text
}
</
EyePreview
>
},
{
title
:
'询价单号'
,
key
:
'inquiryListNo'
,
dataIndex
:
'inquiryListNo'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
EyePreview
url=
{
`/memberCenter/tranactionAbility/confirmInquiryQuote/pending
Submit/details?id=${record.id}&page_type=1
&view=1`
}
>
{
text
}
</
EyePreview
>
url=
{
`/memberCenter/tranactionAbility/confirmInquiryQuote/pending
ReviewOne/details?id=${record.id}
&view=1`
}
>
{
text
}
</
EyePreview
>
}]
return
(
...
...
src/pages/transaction/confirmInquiryQuote/pendingReviewTwo/details.tsx
0 → 100644
View file @
84ffaafe
import
React
from
'react'
;
import
{
history
}
from
'umi'
;
import
Datails
from
'../components/details'
;
import
{
PublicApi
}
from
'@/services/api'
;
const
PendingReviewOneDetails
:
React
.
FC
<
{}
>
=
()
=>
{
//page_type: 1.待确认报价单,2.待审核报价单1级,3.待审核报价单2级,4.报价单查询,5.待提交审核报价单
//view: 1.询价单号,2.报价单号
const
{
id
,
view
}
=
history
.
location
.
query
;
return
(
<
Datails
page_type=
{
3
}
id=
{
id
}
view=
{
view
}
/>
)
}
export
default
PendingReviewOneDetails
\ No newline at end of file
src/pages/transaction/confirmInquiryQuote/pendingSubmit/details.tsx
0 → 100644
View file @
84ffaafe
import
React
from
'react'
;
import
{
history
}
from
'umi'
;
import
Datails
from
'../components/details'
;
import
{
PublicApi
}
from
'@/services/api'
;
const
PendingReviewOneDetails
:
React
.
FC
<
{}
>
=
()
=>
{
//page_type: 1.待确认报价单,2.待审核报价单1级,3.待审核报价单2级,4.报价单查询,5.待提交审核报价单
//view: 1.询价单号,2.报价单号
const
{
id
,
view
}
=
history
.
location
.
query
;
return
(
<
Datails
page_type=
{
1
}
id=
{
id
}
view=
{
view
}
/>
)
}
export
default
PendingReviewOneDetails
\ No newline at end of file
src/pages/transaction/confirmInquiryQuote/pendingSubmitReview/details.tsx
0 → 100644
View file @
84ffaafe
import
React
from
'react'
;
import
{
history
}
from
'umi'
;
import
Datails
from
'../components/details'
;
import
{
PublicApi
}
from
'@/services/api'
;
const
PendingReviewOneDetails
:
React
.
FC
<
{}
>
=
()
=>
{
//page_type: 1.待确认报价单,2.待审核报价单1级,3.待审核报价单2级,4.报价单查询,5.待提交审核报价单
//view: 1.询价单号,2.报价单号
const
{
id
,
view
}
=
history
.
location
.
query
;
return
(
<
Datails
page_type=
{
5
}
id=
{
id
}
view=
{
view
}
/>
)
}
export
default
PendingReviewOneDetails
\ No newline at end of file
src/pages/transaction/confirmInquiryQuote/quoteOrder/details.tsx
0 → 100644
View file @
84ffaafe
import
React
from
'react'
;
import
{
history
}
from
'umi'
;
import
Datails
from
'../components/details'
;
import
{
PublicApi
}
from
'@/services/api'
;
const
PendingReviewOneDetails
:
React
.
FC
<
{}
>
=
()
=>
{
//page_type: 1.待确认报价单,2.待审核报价单1级,3.待审核报价单2级,4.报价单查询,5.待提交审核报价单
//view: 1.询价单号,2.报价单号
const
{
id
,
view
}
=
history
.
location
.
query
;
return
(
<
Datails
page_type=
{
4
}
id=
{
id
}
view=
{
view
}
/>
)
}
export
default
PendingReviewOneDetails
\ No newline at end of file
src/pages/transaction/goodsOffer/addEnquiryOrder/components/enquiryGoods.tsx
View file @
84ffaafe
...
...
@@ -171,7 +171,7 @@ const EnquiryGoods: React.FC<queryProps> = (props) => {
const
fetchGoodsList
=
(
params
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getProductCommodityCommonGetCommodityListByBuyer
({...
params
,
priceTypeList
:
1
,
memberId
:
memberList
[
0
].
memberId
}).
then
(
res
=>
{
PublicApi
.
getProductCommodityCommonGetCommodityListByBuyer
({...
params
,
priceTypeList
:
2
,
memberId
:
memberList
[
0
].
memberId
}).
then
(
res
=>
{
if
(
res
.
code
===
1000
)
{
resolve
(
res
.
data
)
}
...
...
src/pages/transaction/goodsOffer/addEnquiryOrder/details.tsx
0 → 100644
View file @
84ffaafe
import
React
from
'react'
;
import
{
history
}
from
'umi'
;
import
Datails
from
'../components/details'
;
import
{
PublicApi
}
from
'@/services/api'
;
const
AddEnquiryOrderDatails
:
React
.
FC
<
{}
>
=
()
=>
{
//type: 1.待提交询价单,2.待审核询价单1级,3.待审核询价单2级,4.询价单查询,5.询价单查询,6.待新增报价单
//view: 1.询价单号,2.报价单号
const
{
id
}
=
history
.
location
.
query
;
return
(
<
Datails
page_type=
{
6
}
id=
{
id
}
view=
{
1
}
/>
)
}
export
default
AddEnquiryOrderDatails
src/pages/transaction/goodsOffer/addEnquiryOrder/index.tsx
View file @
84ffaafe
...
...
@@ -31,7 +31,7 @@ const AddEnquiryOrder: React.FC<{}> = () => {
key
:
'inquiryListNo'
,
dataIndex
:
'inquiryListNo'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
EyePreview
url=
{
`/memberCenter/tranactionAbility/goodsOffer/addEnquiryOrder/details?id=${record.id}
&page_type=6&view=1
`
}
>
{
text
}
</
EyePreview
>
url=
{
`/memberCenter/tranactionAbility/goodsOffer/addEnquiryOrder/details?id=${record.id}`
}
>
{
text
}
</
EyePreview
>
},
{
title
:
'询价单摘要'
,
...
...
src/pages/transaction/goodsOffer/components/details.tsx
View file @
84ffaafe
...
...
@@ -19,11 +19,17 @@ export const HEADER_WRAPPER_TEXTS = {
'interiorState'
:
'内部状态'
,
}
const
Details
:
React
.
FC
<
{}
>
=
()
=>
{
export
interface
parmas
{
page_type
?:
any
,
id
?:
any
,
view
?:
any
}
const
Details
:
React
.
FC
<
parmas
>
=
(
props
)
=>
{
const
[
visible
,
setvisible
]
=
useState
(
false
)
//type: 1.待提交询价单,2.待审核询价单1级,3.待审核询价单2级,4.询价单查询,5.询价单查询,6.待新增报价单
//view: 1.询价单号,2.报价单号
const
{
id
,
page_type
,
view
}
=
history
.
location
.
query
;
const
{
id
,
page_type
,
view
}
=
props
;
const
[
headerWrapperData
,
setheaderWrapperData
]
=
useState
<
Array
<
any
>>
([]);
// steps 切换
const
[
detailData
,
setDetailData
]
=
useState
<
any
>
({
...
...
src/pages/transaction/goodsOffer/enquiryOrder/details.tsx
0 → 100644
View file @
84ffaafe
import
React
from
'react'
;
import
{
history
}
from
'umi'
;
import
Datails
from
'../components/details'
;
import
{
PublicApi
}
from
'@/services/api'
;
const
EnquiryOrderDatails
:
React
.
FC
<
{}
>
=
()
=>
{
//type: 1.待提交询价单,2.待审核询价单1级,3.待审核询价单2级,4.询价单查询,5.询价单查询,6.待新增报价单
//view: 1.询价单号,2.报价单号
const
{
id
}
=
history
.
location
.
query
;
return
(
<
Datails
page_type=
{
4
}
id=
{
id
}
view=
{
1
}
/>
)
}
export
default
EnquiryOrderDatails
src/pages/transaction/goodsOffer/enquiryOrder/index.tsx
View file @
84ffaafe
...
...
@@ -23,7 +23,7 @@ const EnquiryOrder: React.FC<{}> = (props) => {
key
:
'inquiryListNo'
,
dataIndex
:
'inquiryListNo'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
EyePreview
url=
{
`/memberCenter/tranactionAbility/goodsOffer/enquiryOrder/details?id=${record.id}
&page_type=4&view=1
`
}
>
{
text
}
</
EyePreview
>
url=
{
`/memberCenter/tranactionAbility/goodsOffer/enquiryOrder/details?id=${record.id}`
}
>
{
text
}
</
EyePreview
>
},
{
title
:
'询价单摘要'
,
key
:
'details'
,
...
...
@@ -63,29 +63,29 @@ const EnquiryOrder: React.FC<{}> = (props) => {
quoteOrderInternalState
(
text
)
}];
//交易能力 询价报价 询价单查询
//
const data = {
//
totalCount: 1,
//
data: [{
//
id: 91,
//
inquiryListNo: 'SD2015PPLJ',
//
details: '阿珍爱上阿强',
//
memberName: 'wutiaoren',
//
memberId: 5,
//
deliveryTime: '2020-10-14 15:37:00',
//
quotationAsTime: '2020-10-13 15:37:00',
//
voucherTime: '2020-10-13 15:37:00',
//
externalState: 1,
//
interiorState: 2
//
}]
//
}
const
data
=
{
totalCount
:
1
,
data
:
[{
id
:
91
,
inquiryListNo
:
'SD2015PPLJ'
,
details
:
'阿珍爱上阿强'
,
memberName
:
'wutiaoren'
,
memberId
:
5
,
deliveryTime
:
'2020-10-14 15:37:00'
,
quotationAsTime
:
'2020-10-13 15:37:00'
,
voucherTime
:
'2020-10-13 15:37:00'
,
externalState
:
1
,
interiorState
:
2
}]
}
const
fetchData
=
(
params
?:
any
)
=>
{
return
new
Promise
((
resolve
,
reject
)
=>
{
PublicApi
.
getOrderProductInquiryList
({...
params
}).
then
(
res
=>
{
resolve
(
res
.
data
)
})
//
setTimeout(() => {
//
resolve(data)
//
}, 1000)
//
PublicApi.getOrderProductInquiryList({...params}).then(res => {
//
resolve(res.data)
//
})
setTimeout
(()
=>
{
resolve
(
data
)
},
1000
)
})
}
// 搜索
...
...
src/pages/transaction/goodsOffer/pendingReviewOne/details.tsx
0 → 100644
View file @
84ffaafe
import
React
from
'react'
;
import
{
history
}
from
'umi'
;
import
Datails
from
'../components/details'
;
import
{
PublicApi
}
from
'@/services/api'
;
const
PendingReviewOneDatails
:
React
.
FC
<
{}
>
=
()
=>
{
//type: 1.待提交询价单,2.待审核询价单1级,3.待审核询价单2级,4.询价单查询,5.询价单查询,6.待新增报价单
//view: 1.询价单号,2.报价单号
const
{
id
}
=
history
.
location
.
query
;
return
(
<
Datails
page_type=
{
2
}
id=
{
id
}
view=
{
1
}
/>
)
}
export
default
PendingReviewOneDatails
src/pages/transaction/goodsOffer/pendingReviewOne/index.tsx
View file @
84ffaafe
...
...
@@ -71,7 +71,7 @@ const PendingReviewOne: React.FC<{}> = () => {
key
:
'inquiryListNo'
,
dataIndex
:
'inquiryListNo'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
EyePreview
url=
{
`/memberCenter/tranactionAbility/goodsOffer/pendingReviewOne/details?id=${record.id}
&page_type=2&view=1
`
}
>
{
text
}
</
EyePreview
>
url=
{
`/memberCenter/tranactionAbility/goodsOffer/pendingReviewOne/details?id=${record.id}`
}
>
{
text
}
</
EyePreview
>
}
return
(
<
ReviewList
...
...
src/pages/transaction/goodsOffer/pendingReviewTwo/details.tsx
0 → 100644
View file @
84ffaafe
import
React
from
'react'
;
import
{
history
}
from
'umi'
;
import
Datails
from
'../components/details'
;
import
{
PublicApi
}
from
'@/services/api'
;
const
PendingReviewTwoDatails
:
React
.
FC
<
{}
>
=
()
=>
{
//type: 1.待提交询价单,2.待审核询价单1级,3.待审核询价单2级,4.询价单查询,5.询价单查询,6.待新增报价单
//view: 1.询价单号,2.报价单号
const
{
id
}
=
history
.
location
.
query
;
return
(
<
Datails
page_type=
{
3
}
id=
{
id
}
view=
{
1
}
/>
)
}
export
default
PendingReviewTwoDatails
src/pages/transaction/goodsOffer/pendingReviewTwo/index.tsx
View file @
84ffaafe
...
...
@@ -72,7 +72,7 @@ const PendingReviewTwo: React.FC<{}> = () => {
key
:
'inquiryListNo'
,
dataIndex
:
'inquiryListNo'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
EyePreview
url=
{
`/memberCenter/tranactionAbility/goodsOffer/pendingReviewTwo/details?id=${record.id}
&page_type=3&view=1
`
}
>
{
text
}
</
EyePreview
>
url=
{
`/memberCenter/tranactionAbility/goodsOffer/pendingReviewTwo/details?id=${record.id}`
}
>
{
text
}
</
EyePreview
>
}
return
(
<
ReviewList
...
...
src/pages/transaction/goodsOffer/pendingSubmit/details.tsx
0 → 100644
View file @
84ffaafe
import
React
from
'react'
;
import
{
history
}
from
'umi'
;
import
Datails
from
'../components/details'
;
import
{
PublicApi
}
from
'@/services/api'
;
const
PendingSubmitDatails
:
React
.
FC
<
{}
>
=
()
=>
{
//type: 1.待提交询价单,2.待审核询价单1级,3.待审核询价单2级,4.询价单查询,5.询价单查询,6.待新增报价单
//view: 1.询价单号,2.报价单号
const
{
id
}
=
history
.
location
.
query
;
return
(
<
Datails
page_type=
{
1
}
id=
{
id
}
view=
{
1
}
/>
)
}
export
default
PendingSubmitDatails
src/pages/transaction/goodsOffer/pendingSubmit/index.tsx
View file @
84ffaafe
...
...
@@ -30,7 +30,7 @@ const PendingSubmit: React.FC<{}> = () => {
key
:
'inquiryListNo'
,
dataIndex
:
'inquiryListNo'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
EyePreview
url=
{
`/memberCenter/tranactionAbility/goodsOffer/pendingSubmit/details?id=${record.id}
&page_type=1&view=1
`
}
>
{
text
}
</
EyePreview
>
url=
{
`/memberCenter/tranactionAbility/goodsOffer/pendingSubmit/details?id=${record.id}`
}
>
{
text
}
</
EyePreview
>
},
{
title
:
'询价单摘要'
,
...
...
src/pages/transaction/inquiryQuote/addInquiryOrder/details.tsx
0 → 100644
View file @
84ffaafe
import
React
from
'react'
;
import
{
history
}
from
'umi'
;
import
Details
from
'../components/details'
;
const
AddInquiryOrderDetails
:
React
.
FC
<
{}
>
=
()
=>
{
//page_type: 1.待提交报价单,2.待审核报价单1级,3.待审核报价单2级,4.询价单查询,5.报价单查询,6.待新增报价单
//view: 1.询价单号,2.报价单号
const
{
id
,
view
}
=
history
.
location
.
query
;
return
(
<
Details
page_type=
{
6
}
id=
{
id
}
view=
{
view
}
/>
)
}
export
default
AddInquiryOrderDetails
;
\ No newline at end of file
src/pages/transaction/inquiryQuote/addInquiryOrder/index.tsx
View file @
84ffaafe
...
...
@@ -30,13 +30,13 @@ const AddInquiryOrder: React.FC<{}> = () => {
key
:
'quotationNo'
,
dataIndex
:
'quotationNo'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
EyePreview
url=
{
`/memberCenter/tranactionAbility/inquiryQuote/addInquiryOrder/details?id=${record.id}&
page_type=6&
view=2`
}
>
{
text
}
</
EyePreview
>
url=
{
`/memberCenter/tranactionAbility/inquiryQuote/addInquiryOrder/details?id=${record.id}&view=2`
}
>
{
text
}
</
EyePreview
>
},
{
title
:
'询价单号'
,
key
:
'inquiryListNo'
,
dataIndex
:
'inquiryListNo'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
EyePreview
url=
{
`/memberCenter/tranactionAbility/inquiryQuote/addInquiryOrder/details?id=${record.id}&
page_type=6&
view=1`
}
>
{
text
}
</
EyePreview
>
url=
{
`/memberCenter/tranactionAbility/inquiryQuote/addInquiryOrder/details?id=${record.id}&view=1`
}
>
{
text
}
</
EyePreview
>
},
{
title
:
'询价单摘要'
,
key
:
'details'
,
...
...
@@ -81,7 +81,7 @@ const AddInquiryOrder: React.FC<{}> = () => {
return
(
<>
<
Button
type=
'link'
onClick=
{
()
=>
{
setId
(
record
.
id
);
setvisible
(
true
)}
}
>
提交审核
</
Button
>
<
Button
type=
"link"
><
Link
to=
{
`/memberCenter/tranactionAbility/inquiryQuote/addInquiryOrder/edit?id=${record.id}`
}
>
编辑
</
Link
></
Button
>
<
Button
type=
"link"
disabled=
{
record
.
externalState
!==
4
&&
record
.
interiorState
!==
1
&&
record
.
interiorState
!==
4
}
><
Link
to=
{
`/memberCenter/tranactionAbility/inquiryQuote/addInquiryOrder/edit?id=${record.id}`
}
>
编辑
</
Link
></
Button
>
<
Popconfirm
destroyTooltipOnHide
title=
"确定要删除吗?"
...
...
@@ -196,7 +196,7 @@ const AddInquiryOrder: React.FC<{}> = () => {
const
handleModalOK
=
()
=>
{
setvisible
(
false
)
setTimeout
(()
=>
{
history
.
goBack
()
ref
.
current
.
reload
();
},
1000
)
}
...
...
src/pages/transaction/inquiryQuote/components/details.tsx
View file @
84ffaafe
...
...
@@ -21,11 +21,17 @@ export const HEADER_WRAPPER_TEXTS = {
'interiorState'
:
'内部状态'
,
}
const
Details
:
React
.
FC
<
{}
>
=
()
=>
{
export
interface
parmas
{
page_type
?:
any
,
id
?:
any
,
view
?:
any
}
const
Details
:
React
.
FC
<
parmas
>
=
(
props
)
=>
{
const
[
visible
,
setvisible
]
=
useState
(
false
)
//page_type: 1.待提交报价单,2.待审核报价单1级,3.待审核报价单2级,4.询价单查询,5.报价单查询,6.待新增报价单
//view: 1.询价单号,2.报价单号
const
{
id
,
page_type
,
view
}
=
history
.
location
.
query
;
const
{
id
,
page_type
,
view
}
=
props
;
const
[
headerWrapperData
,
setheaderWrapperData
]
=
useState
<
Array
<
any
>>
([]);
// steps 切换
const
[
detailData
,
setDetailData
]
=
useState
<
any
>
({
...
...
src/pages/transaction/inquiryQuote/enquiryOrder/details.tsx
0 → 100644
View file @
84ffaafe
import
React
from
'react'
;
import
{
history
}
from
'umi'
;
import
Details
from
'../components/details'
;
const
EnquiryOrderDetails
:
React
.
FC
<
{}
>
=
()
=>
{
//page_type: 1.待提交报价单,2.待审核报价单1级,3.待审核报价单2级,4.询价单查询,5.报价单查询,6.待新增报价单
//view: 1.询价单号,2.报价单号
const
{
id
,
view
}
=
history
.
location
.
query
;
return
(
<
Details
page_type=
{
4
}
id=
{
id
}
view=
{
view
}
/>
)
}
export
default
EnquiryOrderDetails
;
\ No newline at end of file
src/pages/transaction/inquiryQuote/enquiryOrder/index.tsx
View file @
84ffaafe
...
...
@@ -24,7 +24,7 @@ const EnquiryOrder: React.FC<{}> = (props) => {
key
:
'inquiryListNo'
,
dataIndex
:
'inquiryListNo'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
EyePreview
url=
{
`/memberCenter/tranactionAbility/inquiryQuote/enquiryOrder/details?id=${record.id}&
page_type=4&
view=1`
}
>
{
text
}
</
EyePreview
>
url=
{
`/memberCenter/tranactionAbility/inquiryQuote/enquiryOrder/details?id=${record.id}&view=1`
}
>
{
text
}
</
EyePreview
>
},
{
title
:
'询价单摘要'
,
key
:
'details'
,
...
...
src/pages/transaction/inquiryQuote/pendingReviewOne/details.tsx
0 → 100644
View file @
84ffaafe
import
React
from
'react'
;
import
{
history
}
from
'umi'
;
import
Details
from
'../components/details'
;
const
PendingReviewOneDetails
:
React
.
FC
<
{}
>
=
()
=>
{
//page_type: 1.待提交报价单,2.待审核报价单1级,3.待审核报价单2级,4.询价单查询,5.报价单查询,6.待新增报价单
//view: 1.询价单号,2.报价单号
const
{
id
,
view
}
=
history
.
location
.
query
;
return
(
<
Details
page_type=
{
2
}
id=
{
id
}
view=
{
view
}
/>
)
}
export
default
PendingReviewOneDetails
;
\ No newline at end of file
src/pages/transaction/inquiryQuote/pendingReviewOne/index.tsx
View file @
84ffaafe
...
...
@@ -72,14 +72,14 @@ const PendingReviewOne: React.FC<{}> = () => {
key
:
'quotationNo'
,
dataIndex
:
'quotationNo'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
EyePreview
url=
{
`/memberCenter/tranactionAbility/inquiryQuote/pendingReviewOne/details?id=${record.id}&
page_type=2&
view=2`
}
>
{
text
}
</
EyePreview
>
url=
{
`/memberCenter/tranactionAbility/inquiryQuote/pendingReviewOne/details?id=${record.id}&view=2`
}
>
{
text
}
</
EyePreview
>
},
{
title
:
'询价单号'
,
key
:
'inquiryListNo'
,
dataIndex
:
'inquiryListNo'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
EyePreview
url=
{
`/memberCenter/tranactionAbility/inquiryQuote/pendingReviewOne/details?id=${record.id}&
page_type=2&
view=1`
}
>
{
text
}
</
EyePreview
>
url=
{
`/memberCenter/tranactionAbility/inquiryQuote/pendingReviewOne/details?id=${record.id}&view=1`
}
>
{
text
}
</
EyePreview
>
}]
return
(
<
ReviewList
...
...
src/pages/transaction/inquiryQuote/pendingReviewTwo/details.tsx
0 → 100644
View file @
84ffaafe
import
React
from
'react'
;
import
{
history
}
from
'umi'
;
import
Details
from
'../components/details'
;
const
PendingReviewTwoDetails
:
React
.
FC
<
{}
>
=
()
=>
{
//page_type: 1.待提交报价单,2.待审核报价单1级,3.待审核报价单2级,4.询价单查询,5.报价单查询,6.待新增报价单
//view: 1.询价单号,2.报价单号
const
{
id
,
view
}
=
history
.
location
.
query
;
return
(
<
Details
page_type=
{
3
}
id=
{
id
}
view=
{
view
}
/>
)
}
export
default
PendingReviewTwoDetails
;
\ No newline at end of file
src/pages/transaction/inquiryQuote/pendingReviewTwo/index.tsx
View file @
84ffaafe
...
...
@@ -72,14 +72,14 @@ const PendingReviewTwo: React.FC<{}> = () => {
key
:
'quotationNo'
,
dataIndex
:
'quotationNo'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
EyePreview
url=
{
`/memberCenter/tranactionAbility/inquiryQuote/pendingReview
One/details?id=${record.id}&page_type=2
&view=2`
}
>
{
text
}
</
EyePreview
>
url=
{
`/memberCenter/tranactionAbility/inquiryQuote/pendingReview
Two/details?id=${record.id}
&view=2`
}
>
{
text
}
</
EyePreview
>
},
{
title
:
'询价单号'
,
key
:
'inquiryListNo'
,
dataIndex
:
'inquiryListNo'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
EyePreview
url=
{
`/memberCenter/tranactionAbility/inquiryQuote/pendingReview
One/details?id=${record.id}&page_type=2
&view=1`
}
>
{
text
}
</
EyePreview
>
url=
{
`/memberCenter/tranactionAbility/inquiryQuote/pendingReview
Two/details?id=${record.id}
&view=1`
}
>
{
text
}
</
EyePreview
>
}]
return
(
<
ReviewList
...
...
src/pages/transaction/inquiryQuote/pendingSubmit/details.tsx
0 → 100644
View file @
84ffaafe
import
React
from
'react'
;
import
{
history
}
from
'umi'
;
import
Details
from
'../components/details'
;
const
PendingSubmitDetails
:
React
.
FC
<
{}
>
=
()
=>
{
//page_type: 1.待提交报价单,2.待审核报价单1级,3.待审核报价单2级,4.询价单查询,5.报价单查询,6.待新增报价单
//view: 1.询价单号,2.报价单号
const
{
id
,
view
}
=
history
.
location
.
query
;
return
(
<
Details
page_type=
{
1
}
id=
{
id
}
view=
{
view
}
/>
)
}
export
default
PendingSubmitDetails
;
\ No newline at end of file
src/pages/transaction/inquiryQuote/pendingSubmit/index.tsx
View file @
84ffaafe
...
...
@@ -29,13 +29,13 @@ const PendingSubmit: React.FC<{}> = () => {
key
:
'quotationNo'
,
dataIndex
:
'quotationNo'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
EyePreview
url=
{
`/memberCenter/tranactionAbility/inquiryQuote/pendingSubmit/details?id=${record.id}&
page_type=1&
view=2`
}
>
{
text
}
</
EyePreview
>
url=
{
`/memberCenter/tranactionAbility/inquiryQuote/pendingSubmit/details?id=${record.id}&view=2`
}
>
{
text
}
</
EyePreview
>
},
{
title
:
'询价单号'
,
key
:
'inquiryListNo'
,
dataIndex
:
'inquiryListNo'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
EyePreview
url=
{
`/memberCenter/tranactionAbility/inquiryQuote/pendingSubmit/details?id=${record.id}&
page_type=1&
view=1`
}
>
{
text
}
</
EyePreview
>
url=
{
`/memberCenter/tranactionAbility/inquiryQuote/pendingSubmit/details?id=${record.id}&view=1`
}
>
{
text
}
</
EyePreview
>
},
{
title
:
'询价单摘要'
,
key
:
'details'
,
...
...
src/pages/transaction/inquiryQuote/quoteOrder/details.tsx
0 → 100644
View file @
84ffaafe
import
React
from
'react'
;
import
{
history
}
from
'umi'
;
import
Details
from
'../components/details'
;
const
QuoteOrderDetails
:
React
.
FC
<
{}
>
=
()
=>
{
//page_type: 1.待提交报价单,2.待审核报价单1级,3.待审核报价单2级,4.询价单查询,5.报价单查询,6.待新增报价单
//view: 1.询价单号,2.报价单号
const
{
id
,
view
}
=
history
.
location
.
query
;
return
(
<
Details
page_type=
{
5
}
id=
{
id
}
view=
{
view
}
/>
)
}
export
default
QuoteOrderDetails
;
\ No newline at end of file
src/pages/transaction/inquiryQuote/quoteOrder/index.tsx
View file @
84ffaafe
...
...
@@ -23,13 +23,13 @@ const EnquiryOrder: React.FC<{}> = (props) => {
key
:
'quotationNo'
,
dataIndex
:
'quotationNo'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
EyePreview
url=
{
`/memberCenter/tranactionAbility/
inquiryQuote/quoteOrder/details?id=${record.id}&page_type=5
&view=2`
}
>
{
text
}
</
EyePreview
>
url=
{
`/memberCenter/tranactionAbility/
confirmInquiryQuote/quoteOrder/details?id=${record.id}
&view=2`
}
>
{
text
}
</
EyePreview
>
},{
title
:
'询价单号'
,
key
:
'inquiryListNo'
,
dataIndex
:
'inquiryListNo'
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
EyePreview
url=
{
`/memberCenter/tranactionAbility/
inquiryQuote/quoteOrder/details?id=${record.id}&page_type=5
&view=1`
}
>
{
text
}
</
EyePreview
>
url=
{
`/memberCenter/tranactionAbility/
confirmInquiryQuote/quoteOrder/details?id=${record.id}
&view=1`
}
>
{
text
}
</
EyePreview
>
},
{
title
:
'询价单摘要'
,
key
:
'details'
,
...
...
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