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
d3212f5b
Commit
d3212f5b
authored
Mar 23, 2022
by
前端-许冠华
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'cherry-pick' into 'v2'
fix: 去掉不必要的console See merge request linkseeks-design/pro-platform!19
parents
ca952db7
810615af
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
6 deletions
+0
-6
index.tsx
...onents/listModalLayout/components/productLayout/index.tsx
+0
-1
index.tsx
...n/marketingAbility/components/productListLayout/index.tsx
+0
-3
add.tsx
...arketingAbility/selfManagement/readySubmitExamine/add.tsx
+0
-2
No files found.
src/pages/transaction/marketingAbility/components/listModalLayout/components/productLayout/index.tsx
View file @
d3212f5b
...
...
@@ -113,7 +113,6 @@ const ProductLayout: React.FC<ProductLayoutProps> = (props: any) => {
rules=
{
[{
required
:
true
,
validator
:
(
_rule
,
value
)
=>
{
const
pattern
=
/
(
^
[
1-9
](\d
+
)?(\.\d
{1,3}
)?
$
)
|
(
^
\d\.\d
{1,3}$
)
/
;
const
v
=
form
.
getFieldValue
(
`swapPrice_${index}_${_index}`
).
validator
()
if
(
!
value
)
{
return
Promise
.
reject
(
new
Error
(
`${intl.formatMessage({ id: 'marketingAbility.qingshuruhuangoudanjia'})}`
));
}
...
...
src/pages/transaction/marketingAbility/components/productListLayout/index.tsx
View file @
d3212f5b
...
...
@@ -73,7 +73,6 @@ const ProductListLayout: React.FC<ProductListProps> = (props: any) => {
useEffect
(()
=>
{
if
(
focus$
)
{
console
.
log
(
focus$
,
10086
)
setValue
(
focus$
)
setDataSource
([])
}
...
...
@@ -198,14 +197,12 @@ const ProductListLayout: React.FC<ProductListProps> = (props: any) => {
const
fields
=
[...
dataSource
];
fields
.
forEach
(
item
=>
{
if
(
item
.
skuId
===
skuId
)
{
console
.
log
(
params
,
'params'
)
item
.
goodsSubsidiaryGroupList
=
[...
params
]
}
})
form
.
setFieldsValue
({
'productList'
:
fields
})
console
.
log
(
fields
,
'fields'
)
setListModalVisible
(
false
)
setDataSource
(
fields
)
}
...
...
src/pages/transaction/marketingAbility/selfManagement/readySubmitExamine/add.tsx
View file @
d3212f5b
...
...
@@ -117,7 +117,6 @@ const AddedMarketing = () => {
return
item
})
}
console
.
log
(
res
.
productList
,
1086
)
// if (res['activityDefined']['assembleTime']) {
// params['activityDefined'].assembleTime = Number(moment(res['activityDefined']['assembleTime']).format('x'));
// }
...
...
@@ -248,7 +247,6 @@ const AddedMarketing = () => {
},
[])
const
handleGetRule
=
()
=>
{
console
.
log
(
!
refresh
)
setRefresh
(
!
refresh
)
}
...
...
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