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
linweijiong
jinfa-platform
Commits
3ce65318
Commit
3ce65318
authored
Dec 13, 2021
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改采购门户链接的问题
parent
0232e789
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
index.tsx
...readySubmitExamine/components/productListLayout/index.tsx
+2
-0
remind.ts
...readySubmitExamine/components/productListLayout/remind.ts
+2
-1
index.tsx
...ement/readySubmitExamine/components/rulesLayout/index.tsx
+2
-2
index.tsx
...saction/purchaseAbility/purchasDoor/purchasInfo/index.tsx
+1
-1
No files found.
src/pages/transaction/marketingAbility/paltformSign/readySubmitExamine/components/productListLayout/index.tsx
View file @
3ce65318
...
...
@@ -144,6 +144,8 @@ const ProductListLayout: React.FC<ProductListLayoutProps> = (props: any) => {
}
},
[
data
])
console
.
log
(
remind
,
10086
)
return
(
<
Card
id=
"productListLayout"
...
...
src/pages/transaction/marketingAbility/paltformSign/readySubmitExamine/components/productListLayout/remind.ts
View file @
3ce65318
...
...
@@ -19,6 +19,7 @@ export type RemindLayoutProps = {
message
?:
{[
key
:
number
]:
string
},
}
export
const
remindLayout
=
(
int
,
giveType
?,
giftType
?)
=>
{
console
.
log
(
int
,
giveType
,
giftType
,
'int, giveType?, giftType?'
)
const
intl
=
getIntl
();
const
give
=
(
giveType
===
1
?
`
${
intl
.
formatMessage
({
id
:
'paltformSign.top-up'
})}
`
:
`
${
intl
.
formatMessage
({
id
:
'paltformSign.BuyGoods'
})}
`
);
const
gift
=
(
giftType
===
1
?
`
${
intl
.
formatMessage
({
id
:
'paltformSign.goods'
})}
`
:
`
${
intl
.
formatMessage
({
id
:
'paltformSign.coupon'
})}
`
);
...
...
@@ -34,7 +35,7 @@ export const remindLayout = (int, giveType?, giftType?) => {
label
:
{
1
:
`
${
intl
.
formatMessage
({
id
:
'paltformSign.preferentialThreshold'
})}
`
,
2
:
giveType
===
1
?
`
${
intl
.
formatMessage
({
id
:
'paltformSign.yuan'
})}
`
:
`
${
intl
.
formatMessage
({
id
:
'paltformSign.a'
})}
`
,
3
:
gi
ve
Type
===
1
?
`
${
intl
.
formatMessage
({
id
:
'paltformSign.freeGoods'
})}
`
:
`
${
intl
.
formatMessage
({
id
:
'paltformSign.coupons'
})}
`
,
3
:
gi
ft
Type
===
1
?
`
${
intl
.
formatMessage
({
id
:
'paltformSign.freeGoods'
})}
`
:
`
${
intl
.
formatMessage
({
id
:
'paltformSign.coupons'
})}
`
,
4
:
`
${
intl
.
formatMessage
({
id
:
'paltformSign.giveTheNumber'
})}
`
,
5
:
`
${
intl
.
formatMessage
({
id
:
'paltformSign.buy'
})}
`
,
6
:
''
,
...
...
src/pages/transaction/marketingAbility/selfManagement/readySubmitExamine/components/rulesLayout/index.tsx
View file @
3ce65318
...
...
@@ -573,7 +573,7 @@ const RulesLayout: React.FC<RulesLayoutProps> = (props: any) => {
</
Form
.
Item
>
</
Space
>
</
Form
.
Item
>
<
Form
.
Item
{
/*
<Form.Item
tooltip={intl.formatMessage({ id: 'selfManagement.tuxedoTuxedoGroup-buyingActivitiesWhetherGroup-buyingActivitiesEffectivelyWithoutLimitingUnlimitedRequiredNumberDefault'})}
label={intl.formatMessage({ id: 'selfManagement.userTuxedoLimit'})}
className={style.rulesLayout}
...
...
@@ -617,7 +617,7 @@ const RulesLayout: React.FC<RulesLayoutProps> = (props: any) => {
)}
</Form.Item>
</Space>
</
Form
.
Item
>
</Form.Item>
*/
}
</
Fragment
>
)
}
...
...
src/pages/transaction/purchaseAbility/purchasDoor/purchasInfo/index.tsx
View file @
3ce65318
...
...
@@ -371,7 +371,7 @@ const PurchasInfo: React.FC<PurchasInfoPropsType> = (props) => {
const
handleMallSelectChange
=
(
val
,
option
)
=>
{
setDoor
(
option
.
children
);
if
(
option
.
url
)
{
checkUrl
(
option
.
url
)
?
setResUrl
(
`
${
checkUrl
(
option
.
url
)}
.
${
getTopDomainByHost
(
siteUrl
,
true
)}
`
)
:
setResUrl
(
`
${
siteUrl
}
`
)
checkUrl
(
option
.
url
)
?
(
!
isEmpty
(
shopInfo
)
?
setResUrl
(
`
${
checkUrl
(
option
.
url
)}
.
${
getTopDomainByHost
(
siteUrl
,
true
)}
/shopIndex/
${
shopInfo
?.
id
}
`) : setResUrl(`
$
{
checkUrl
(
option
.
url
)}.
$
{
getTopDomainByHost
(
siteUrl
,
true
)}
`)
) : setResUrl(`
$
{
siteUrl
}
`)
}
}
...
...
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