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
d7486625
Commit
d7486625
authored
Mar 02, 2022
by
Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改营销活动详情页
parent
1a9671cf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
8 deletions
+6
-8
index.tsx
...ty/marketingActivitiesManagement/activePage/add/index.tsx
+1
-2
index.tsx
...esManagement/activePage/components/ActivityItem/index.tsx
+1
-1
activityProductDrawer.tsx
.../components/ActivityAreaSetting/activityProductDrawer.tsx
+4
-5
No files found.
src/pages/transaction/marketingAbility/marketingActivitiesManagement/activePage/add/index.tsx
View file @
d7486625
...
...
@@ -73,7 +73,6 @@ const Add = () => {
message
.
error
(
intl
.
formatMessage
({
id
:
'activityPage.inputActivityTemplate'
}));
return
;
}
console
.
log
(
startTime
);
const
startTimeStamp
=
startTime
?.
valueOf
();
const
endTimeStamp
=
endTime
?.
valueOf
();
setLoading
(
true
);
...
...
@@ -149,7 +148,7 @@ const Add = () => {
async
function
setMall
()
{
const
data
=
await
fetchMallData
({
environment
:
initialValue
.
environment
.
toString
(),
siteId
:
GlobalConfig
.
global
.
siteInfo
.
id
}
as
any
);
actions
.
setFieldState
(
"shopId"
,
state
=>
{
state
.
props
.
enum
=
data
;
state
.
props
.
enum
=
[...
data
,
{
label
:
initialValue
.
shopName
,
value
:
initialValue
.
shopId
}]
;
});
}
setMall
();
...
...
src/pages/transaction/marketingAbility/marketingActivitiesManagement/activePage/components/ActivityItem/index.tsx
View file @
d7486625
...
...
@@ -23,7 +23,7 @@ interface Iprops {
/** 商城子域名 */
url
:
string
,
// 是否是自营商城
self
:
1
|
0
,
self
:
1
|
0
|
number
,
/** 1.WEB 2.H5 3.小程序 4.APP */
environment
:
1
|
2
|
3
|
4
|
number
,
onRemove
?:
((
id
:
number
)
=>
void
)
|
null
,
...
...
src/pages/transaction/marketingAbility/marketingActivitiesManagement/activePage/fixtures/components/ActivityAreaSetting/activityProductDrawer.tsx
View file @
d7486625
...
...
@@ -71,10 +71,7 @@ const columns: ColumnsType<GetMarketingAdornMerchantActivityListAdornResponseDet
title
:
`
${
intl
.
formatMessage
({
id
:
'activePage.brand'
})}
`
,
dataIndex
:
'brand'
},
{
title
:
`
${
intl
.
formatMessage
({
id
:
'activePage.Merchantname'
})}
`
,
dataIndex
:
'memberName'
,
},
{
title
:
`
${
intl
.
formatMessage
({
id
:
'activePage.UnitPrice'
})}
`
,
dataIndex
:
'unit'
,
...
...
@@ -297,7 +294,9 @@ const ActivityProductDrawer: React.FC<Iprops> = (props: Iprops) => {
rowSelection=
{
rowSelection
as
any
}
rowKey=
{
(
_record
)
=>
`${_record.activityId!}-${_record.id!}`
}
loading=
{
loading
}
columns=
{
columns
}
dataSource=
{
selectedActivityProductList
}
></
Table
>
columns=
{
columns
}
dataSource=
{
selectedActivityProductList
}
/>
</
div
>
<
div
className=
{
styles
.
pagination
}
>
<
Pagination
pageSize=
{
currentPageSize
}
current=
{
current
}
showQuickJumper
total=
{
totalCount
}
onChange=
{
onChange
}
/>
...
...
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