Commit df191cc2 authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

修改需求报价跳转详情接口调错问题

parent 28eee96e
...@@ -114,7 +114,7 @@ const List: React.FC<listParams> = (props) => { ...@@ -114,7 +114,7 @@ const List: React.FC<listParams> = (props) => {
dataIndex: 'quotationNo', dataIndex: 'quotationNo',
align: 'center', align: 'center',
render: (text: any, records: any) => <EyePreview type="button" handleClick={() => { render: (text: any, records: any) => <EyePreview type="button" handleClick={() => {
handleToDetail(2, records.id) handleToDetail(1, records.id)
}}>{text}</EyePreview> }}>{text}</EyePreview>
}, },
{ {
...@@ -123,7 +123,7 @@ const List: React.FC<listParams> = (props) => { ...@@ -123,7 +123,7 @@ const List: React.FC<listParams> = (props) => {
dataIndex: 'requisitionFormNo', dataIndex: 'requisitionFormNo',
align: 'center', align: 'center',
render: (text: any, records: any) => <EyePreview type="button" handleClick={() => { render: (text: any, records: any) => <EyePreview type="button" handleClick={() => {
handleToDetail(1, records.requisitionId)//需求单id handleToDetail(2, records.requisitionId)//需求单id
}}>{text}</EyePreview> }}>{text}</EyePreview>
}, },
{ {
......
...@@ -90,7 +90,7 @@ const List:React.FC<{listParams}> = (props) => { ...@@ -90,7 +90,7 @@ const List:React.FC<{listParams}> = (props) => {
dataIndex:'quotationNo', dataIndex:'quotationNo',
align:'center', align:'center',
render: (text: any,records: any) => <EyePreview type="button" handleClick={() => { render: (text: any,records: any) => <EyePreview type="button" handleClick={() => {
handleToDetail(2,records.id) handleToDetail(1,records.id)
}}>{text}</EyePreview> }}>{text}</EyePreview>
}, },
{ {
...@@ -99,7 +99,7 @@ const List:React.FC<{listParams}> = (props) => { ...@@ -99,7 +99,7 @@ const List:React.FC<{listParams}> = (props) => {
dataIndex:'requisitionFormNo', dataIndex:'requisitionFormNo',
align:'center', align:'center',
render: (text: any,records: any) => <EyePreview type="button" handleClick={() => { render: (text: any,records: any) => <EyePreview type="button" handleClick={() => {
handleToDetail(1,records.requisitionId)//需求单id handleToDetail(2,records.requisitionId)//需求单id
}}>{text}</EyePreview> }}>{text}</EyePreview>
}, },
{ {
......
...@@ -71,7 +71,7 @@ const List:React.FC<{}> = () => { ...@@ -71,7 +71,7 @@ const List:React.FC<{}> = () => {
key:'requisitionFormNo', key:'requisitionFormNo',
dataIndex:'requisitionFormNo', dataIndex:'requisitionFormNo',
align:'center', align:'center',
render:(text:any, record:any) => <EyePreview type="button" url={`/memberCenter/tranactionAbility/enquiryOffer/toAddSubmitList/demand/preview?id=${record.id}`}>{text}</EyePreview> render:(text:any, record:any) => <EyePreview type="button" url={`/memberCenter/tranactionAbility/enquiryOffer/toAddSubmitList/demand/preview?id=${record.requisitionId}`}>{text}</EyePreview>
}, },
{ {
title:'报价单摘要', title:'报价单摘要',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment