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
8551e137
Commit
8551e137
authored
Dec 27, 2021
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改营销活动商品输入数量限制
parent
ac138cd4
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
26 additions
and
26 deletions
+26
-26
columns_1.tsx
...bility/components/productListLayout/columns/columns_1.tsx
+3
-3
columns_2.tsx
...bility/components/productListLayout/columns/columns_2.tsx
+3
-3
columns_3.tsx
...bility/components/productListLayout/columns/columns_3.tsx
+3
-3
columns_4.tsx
...bility/components/productListLayout/columns/columns_4.tsx
+2
-2
columns_5.tsx
...bility/components/productListLayout/columns/columns_5.tsx
+3
-3
columns_6.tsx
...bility/components/productListLayout/columns/columns_6.tsx
+4
-4
columns_7.tsx
...bility/components/productListLayout/columns/columns_7.tsx
+3
-3
columns_8.tsx
...bility/components/productListLayout/columns/columns_8.tsx
+5
-5
No files found.
src/pages/transaction/marketingAbility/components/productListLayout/columns/columns_1.tsx
View file @
8551e137
...
...
@@ -87,7 +87,7 @@ const columns_1 = ({
}
}]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
addonBefore=
"¥"
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'activityPrice'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'activityPrice'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
addonBefore=
"¥"
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'activityPrice'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'activityPrice'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
@@ -121,7 +121,7 @@ const columns_1 = ({
})
]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
@@ -154,7 +154,7 @@ const columns_1 = ({
})
]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
src/pages/transaction/marketingAbility/components/productListLayout/columns/columns_2.tsx
View file @
8551e137
...
...
@@ -95,7 +95,7 @@ const columns_2 = ({
}
}]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
addonBefore=
"¥"
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'plummetPrice'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'plummetPrice'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
addonBefore=
"¥"
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'plummetPrice'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'plummetPrice'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
@@ -135,7 +135,7 @@ const columns_2 = ({
})
]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
@@ -168,7 +168,7 @@ const columns_2 = ({
})
]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
src/pages/transaction/marketingAbility/components/productListLayout/columns/columns_3.tsx
View file @
8551e137
...
...
@@ -93,7 +93,7 @@ const columns_3 = ({
})
]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
addonAfter=
{
intl
.
formatMessage
({
id
:
'marketingAbility.zhe'
})
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'discount'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'discount'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
addonAfter=
{
intl
.
formatMessage
({
id
:
'marketingAbility.zhe'
})
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'discount'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'discount'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
@@ -133,7 +133,7 @@ const columns_3 = ({
})
]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
@@ -166,7 +166,7 @@ const columns_3 = ({
})
]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
src/pages/transaction/marketingAbility/components/productListLayout/columns/columns_4.tsx
View file @
8551e137
...
...
@@ -91,7 +91,7 @@ const columns_4 = ({
})
]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
@@ -124,7 +124,7 @@ const columns_4 = ({
})
]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
src/pages/transaction/marketingAbility/components/productListLayout/columns/columns_5.tsx
View file @
8551e137
...
...
@@ -84,7 +84,7 @@ const columns_5 = ({
}
}]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
addonBefore=
"¥"
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'activityPrice'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'activityPrice'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
addonBefore=
"¥"
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'activityPrice'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'activityPrice'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
@@ -118,7 +118,7 @@ const columns_5 = ({
})
]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
@@ -151,7 +151,7 @@ const columns_5 = ({
})
]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
src/pages/transaction/marketingAbility/components/productListLayout/columns/columns_6.tsx
View file @
8551e137
...
...
@@ -89,7 +89,7 @@ const columns_6 = ({
}
}]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
addonBefore=
"¥"
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'plummetPrice'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'plummetPrice'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
addonBefore=
"¥"
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'plummetPrice'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'plummetPrice'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
@@ -125,7 +125,7 @@ const columns_6 = ({
})
]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
addonBefore=
"¥"
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'activityPrice'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'activityPrice'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
addonBefore=
"¥"
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'activityPrice'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'activityPrice'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
@@ -159,7 +159,7 @@ const columns_6 = ({
})
]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
@@ -192,7 +192,7 @@ const columns_6 = ({
})
]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
src/pages/transaction/marketingAbility/components/productListLayout/columns/columns_7.tsx
View file @
8551e137
...
...
@@ -92,7 +92,7 @@ const columns_7 = ({
})
]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
addonBefore=
"¥"
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'activityPrice'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'activityPrice'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
addonBefore=
"¥"
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'activityPrice'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'activityPrice'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
@@ -126,7 +126,7 @@ const columns_7 = ({
})
]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
@@ -159,7 +159,7 @@ const columns_7 = ({
})
]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
src/pages/transaction/marketingAbility/components/productListLayout/columns/columns_8.tsx
View file @
8551e137
...
...
@@ -86,7 +86,7 @@ const columns_8 = ({
})
]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
addonBefore=
"¥"
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'preSelPrice'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'preSelPrice'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
addonBefore=
"¥"
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'preSelPrice'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'preSelPrice'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
@@ -119,7 +119,7 @@ const columns_8 = ({
})
]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
addonBefore=
"¥"
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'activityPrice'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'activityPrice'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
addonBefore=
"¥"
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'activityPrice'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'activityPrice'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
@@ -152,7 +152,7 @@ const columns_8 = ({
})
]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
addonBefore=
"¥"
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'deductionPrice'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'deductionPrice'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
addonBefore=
"¥"
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'deductionPrice'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'deductionPrice'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
@@ -186,7 +186,7 @@ const columns_8 = ({
})
]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictNum'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
@@ -219,7 +219,7 @@ const columns_8 = ({
})
]
}
>
<
Input
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
/>
<
Input
maxLength=
{
10
}
style=
{
{
width
:
'112px'
}
}
onPressEnter=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
onBlur=
{
(
e
)
=>
handleInputChange
(
e
,
'restrictTotalNum'
,
_index
)
}
/>
</
Form
.
Item
>
)
}
...
...
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