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
7e679c94
Commit
7e679c94
authored
Jul 23, 2021
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🐞
fix(商品询价、询价报价、确认询价报价): 修复跳转企业商城链接
parent
763196a4
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
6 deletions
+14
-6
index.tsx
...ges/transaction/dealAbility/confirmOffer/detail/index.tsx
+1
-1
index.tsx
...es/transaction/dealAbility/confirmOffer/preview/index.tsx
+1
-1
index.tsx
...ges/transaction/dealAbility/inquiryOffer/detail/index.tsx
+1
-1
index.tsx
...es/transaction/dealAbility/inquiryOffer/preview/index.tsx
+1
-1
productQuote.tsx
...ity/inquiryOffer/waitAddOffer/components/productQuote.tsx
+8
-0
index.tsx
...s/transaction/dealAbility/productInquiry/detail/index.tsx
+1
-1
inquiryProduct.tsx
...oductInquiry/waitAddInquiry/components/inquiryProduct.tsx
+1
-1
No files found.
src/pages/transaction/dealAbility/confirmOffer/detail/index.tsx
View file @
7e679c94
...
@@ -146,7 +146,7 @@ const ConfirmOfferDetail = () => {
...
@@ -146,7 +146,7 @@ const ConfirmOfferDetail = () => {
dataIndex
:
'productId'
,
dataIndex
:
'productId'
,
render
:
(
productId
,
data
)
=>
(
render
:
(
productId
,
data
)
=>
(
<
Space
direction=
'vertical'
>
<
Space
direction=
'vertical'
>
<
Typography
.
Link
target=
"_blank"
href=
{
`${ENTERPRISE_CENTER_URL}/shop/${data.memberId}_${data.memberRoleId}/commodity/detail/${
product
Id}`
}
>
{
productId
}
</
Typography
.
Link
>
<
Typography
.
Link
target=
"_blank"
href=
{
`${ENTERPRISE_CENTER_URL}/shop/${data.memberId}_${data.memberRoleId}/commodity/detail/${
data.commodity
Id}`
}
>
{
productId
}
</
Typography
.
Link
>
<
Typography
.
Text
>
{
data
.
productName
}
</
Typography
.
Text
>
<
Typography
.
Text
>
{
data
.
productName
}
</
Typography
.
Text
>
</
Space
>
</
Space
>
)
)
...
...
src/pages/transaction/dealAbility/confirmOffer/preview/index.tsx
View file @
7e679c94
...
@@ -138,7 +138,7 @@ const ConfirmOfferPreview = () => {
...
@@ -138,7 +138,7 @@ const ConfirmOfferPreview = () => {
},
[])
},
[])
const
handleJump
=
(
data
:
any
)
=>
{
const
handleJump
=
(
data
:
any
)
=>
{
window
.
open
(
`
${
ENTERPRISE_CENTER_URL
}
/shop/
${
data
.
memberId
}
_
${
data
.
memberRoleId
}
/commodity/detail/
${
data
.
product
Id
}
`
)
window
.
open
(
`
${
ENTERPRISE_CENTER_URL
}
/shop/
${
data
.
memberId
}
_
${
data
.
memberRoleId
}
/commodity/detail/
${
data
.
commodity
Id
}
`
)
}
}
const
columns
:
ColumnType
<
any
>
[]
=
[
const
columns
:
ColumnType
<
any
>
[]
=
[
...
...
src/pages/transaction/dealAbility/inquiryOffer/detail/index.tsx
View file @
7e679c94
...
@@ -146,7 +146,7 @@ const InquiryOfferDetail = () => {
...
@@ -146,7 +146,7 @@ const InquiryOfferDetail = () => {
dataIndex
:
'productId'
,
dataIndex
:
'productId'
,
render
:
(
productId
,
data
)
=>
(
render
:
(
productId
,
data
)
=>
(
<
Space
direction=
'vertical'
>
<
Space
direction=
'vertical'
>
<
Typography
.
Link
target=
"_blank"
href=
{
`${ENTERPRISE_CENTER_URL}/shop/${data.memberId}_${data.memberRoleId}/
commodity/detail/${product
Id}`
}
>
{
productId
}
</
Typography
.
Link
>
<
Typography
.
Link
target=
"_blank"
href=
{
`${ENTERPRISE_CENTER_URL}/shop/${data.memberId}_${data.memberRoleId}/
inquiry/detail/${data.commodity
Id}`
}
>
{
productId
}
</
Typography
.
Link
>
<
Typography
.
Text
>
{
data
.
productName
}
</
Typography
.
Text
>
<
Typography
.
Text
>
{
data
.
productName
}
</
Typography
.
Text
>
</
Space
>
</
Space
>
)
)
...
...
src/pages/transaction/dealAbility/inquiryOffer/preview/index.tsx
View file @
7e679c94
...
@@ -136,7 +136,7 @@ const InquiryOfferPreview = () => {
...
@@ -136,7 +136,7 @@ const InquiryOfferPreview = () => {
},
[])
},
[])
const
handleJump
=
(
data
:
any
)
=>
{
const
handleJump
=
(
data
:
any
)
=>
{
window
.
open
(
`
${
ENTERPRISE_CENTER_URL
}
/shop/
${
data
.
memberId
}
_
${
data
.
memberRoleId
}
/
commodity/detail/
${
data
.
product
Id
}
`
)
window
.
open
(
`
${
ENTERPRISE_CENTER_URL
}
/shop/
${
data
.
memberId
}
_
${
data
.
memberRoleId
}
/
inquiry/detail/
${
data
.
commodity
Id
}
`
)
}
}
const
columns
:
ColumnType
<
any
>
[]
=
[
const
columns
:
ColumnType
<
any
>
[]
=
[
...
...
src/pages/transaction/dealAbility/inquiryOffer/waitAddOffer/components/productQuote.tsx
View file @
7e679c94
...
@@ -3,6 +3,8 @@ import { Form, Button, Table, Input, Image } from 'antd';
...
@@ -3,6 +3,8 @@ import { Form, Button, Table, Input, Image } from 'antd';
import
{
ColumnType
}
from
'antd/lib/table/interface'
;
import
{
ColumnType
}
from
'antd/lib/table/interface'
;
import
Card
from
'@/pages/transaction/components/card'
;
import
Card
from
'@/pages/transaction/components/card'
;
import
{
isEmpty
}
from
'@/components/NiceForm/components/AntUpload/shared'
;
import
{
isEmpty
}
from
'@/components/NiceForm/components/AntUpload/shared'
;
import
EyePreview
from
'@/components/EyePreview'
;
import
{
ENTERPRISE_CENTER_URL
}
from
'@/constants'
;
interface
ProductQuoteLayoutProps
{
interface
ProductQuoteLayoutProps
{
/** 回显 */
/** 回显 */
...
@@ -27,11 +29,17 @@ const ProductQuoteLayout: React.FC<ProductQuoteLayoutProps> = (props: any) => {
...
@@ -27,11 +29,17 @@ const ProductQuoteLayout: React.FC<ProductQuoteLayoutProps> = (props: any) => {
})
})
setDataSource
([...
dataSource
]);
setDataSource
([...
dataSource
]);
}
}
const
handleJump
=
(
data
:
any
)
=>
{
window
.
open
(
`
${
ENTERPRISE_CENTER_URL
}
/shop/
${
data
.
memberId
}
_
${
data
.
memberRoleId
}
/inquiry/detail/
${
data
.
commodityId
}
`
)
}
const
columns
:
ColumnType
<
any
>
[]
=
[
const
columns
:
ColumnType
<
any
>
[]
=
[
{
{
title
:
"商品ID"
,
title
:
"商品ID"
,
key
:
"productId"
,
key
:
"productId"
,
dataIndex
:
"productId"
,
dataIndex
:
"productId"
,
render
:
(
text
:
any
,
record
:
any
)
=>
<
EyePreview
type=
'button'
handleClick=
{
()
=>
handleJump
(
record
)
}
>
{
text
}
</
EyePreview
>
},
},
{
{
title
:
"商品图片"
,
title
:
"商品图片"
,
...
...
src/pages/transaction/dealAbility/productInquiry/detail/index.tsx
View file @
7e679c94
...
@@ -141,7 +141,7 @@ const ProductInquiryDetail = () => {
...
@@ -141,7 +141,7 @@ const ProductInquiryDetail = () => {
},
[])
},
[])
const
handleJump
=
(
data
:
any
)
=>
{
const
handleJump
=
(
data
:
any
)
=>
{
window
.
open
(
`
${
ENTERPRISE_CENTER_URL
}
/shop/
${
data
.
memberId
}
_
${
data
.
memberRoleId
}
/
commodity/detail/
${
data
.
product
Id
}
`
)
window
.
open
(
`
${
ENTERPRISE_CENTER_URL
}
/shop/
${
data
.
memberId
}
_
${
data
.
memberRoleId
}
/
inquiry/detail/
${
data
.
commodity
Id
}
`
)
}
}
const
columns
:
ColumnType
<
any
>
[]
=
[
const
columns
:
ColumnType
<
any
>
[]
=
[
...
...
src/pages/transaction/dealAbility/productInquiry/waitAddInquiry/components/inquiryProduct.tsx
View file @
7e679c94
...
@@ -49,7 +49,7 @@ const InquiryProductLayout: React.FC<InquiryProductLayoutProps> = (props: any) =
...
@@ -49,7 +49,7 @@ const InquiryProductLayout: React.FC<InquiryProductLayoutProps> = (props: any) =
title
:
"商品ID"
,
title
:
"商品ID"
,
key
:
"productId"
,
key
:
"productId"
,
dataIndex
:
"productId"
,
dataIndex
:
"productId"
,
render
:
(
productId
,
data
)
=>
<
Typography
.
Link
target=
"_blank"
href=
{
`${ENTERPRISE_CENTER_URL}/shop/${data.memberId}_${data.memberRoleId}/
commodity/detail/${product
Id}`
}
>
{
productId
}
</
Typography
.
Link
>
render
:
(
productId
,
data
)
=>
<
Typography
.
Link
target=
"_blank"
href=
{
`${ENTERPRISE_CENTER_URL}/shop/${data.memberId}_${data.memberRoleId}/
inquiry/detail/${data.commodity
Id}`
}
>
{
productId
}
</
Typography
.
Link
>
},
},
{
{
title
:
"商品图片"
,
title
:
"商品图片"
,
...
...
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