Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-admin
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
project
jinfa-admin
Commits
5de203ea
Commit
5de203ea
authored
Jan 19, 2022
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改营销活动新增影响优惠券新增问题
parent
8f85bf8e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
88 additions
and
89 deletions
+88
-89
index.tsx
...Manage/platformCoupon/platformCouponUnsubmitted/index.tsx
+2
-2
schema.ts
...Manage/platformCoupon/platformCouponUnsubmitted/schema.ts
+85
-86
yarn.lock
yarn.lock
+1
-1
No files found.
src/pages/marketingManage/platformCoupon/platformCouponUnsubmitted/index.tsx
View file @
5de203ea
...
...
@@ -214,7 +214,7 @@ const PlatformCouponUnsubmitted: React.FC = () => {
});
};
const
ControllerBtns
=
()
=>
(
const
ControllerBtns
1
=
()
=>
(
<
Space
size=
{
16
}
>
<
Button
type=
"primary"
...
...
@@ -250,7 +250,7 @@ const PlatformCouponUnsubmitted: React.FC = () => {
<
NiceForm
actions=
{
formActions
}
components=
{
{
ControllerBtns
,
ControllerBtns
1
,
RangePicker
:
DatePicker
.
RangePicker
,
}
}
onSubmit=
{
values
=>
ref
.
current
.
reload
(
values
)
}
...
...
src/pages/marketingManage/platformCoupon/platformCouponUnsubmitted/schema.ts
View file @
5de203ea
/*
* @Author: XieZhiXiong
* @Date: 2021-06-23 17:41:57
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-23 17:41:58
* @Description:
*/
import
{
ISchema
}
from
'@formily/antd'
;
import
{
FORM_FILTER_PATH
}
from
'@/formSchema/const'
;
export
const
querySchema
:
ISchema
=
{
type
:
'object'
,
properties
:
{
megaLayout
:
{
type
:
'object'
,
'x-component'
:
'mega-layout'
,
properties
:
{
topLayout
:
{
type
:
'object'
,
'x-component'
:
'Mega-Layout'
,
'x-component-props'
:
{
grid
:
true
,
},
properties
:
{
ctl
:
{
type
:
'object'
,
'x-component'
:
'ControllerBtns'
,
},
name
:
{
type
:
'string'
,
'x-component'
:
'Search'
,
'x-component-props'
:
{
placeholder
:
'搜索'
,
tip
:
'输入 优惠劵名称 进行搜索'
,
},
},
},
},
[
FORM_FILTER_PATH
]:
{
type
:
'object'
,
'x-component'
:
'flex-layout'
,
'x-component-props'
:
{
colStyle
:
{
marginLeft
:
20
,
},
},
properties
:
{
id
:
{
type
:
'string'
,
'x-component-props'
:
{
placeholder
:
'优惠劵ID'
,
allowClear
:
true
,
},
},
'[effectiveTimeStart, effectiveTimeEnd]'
:
{
type
:
'object'
,
'x-component'
:
'RangePicker'
,
'x-component-props'
:
{
placeholder
:
[
'劵有效期起始时间'
,
'劵有效期截止时间'
],
},
},
type
:
{
type
:
'string'
,
default
:
undefined
,
enum
:
[],
'x-component-props'
:
{
placeholder
:
'优惠劵类型(所有)'
,
allowClear
:
true
,
},
},
submit
:
{
'x-component'
:
'Submit'
,
'x-mega-props'
:
{
span
:
1
,
},
'x-component-props'
:
{
children
:
'查询'
,
},
},
},
},
},
},
},
};
\ No newline at end of file
/*
* @Author: XieZhiXiong
* @Date: 2021-06-23 17:41:57
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-06-23 17:41:58
* @Description:
*/
import
{
ISchema
}
from
'@formily/antd'
;
import
{
FORM_FILTER_PATH
}
from
'@/formSchema/const'
;
export
const
querySchema
:
ISchema
=
{
type
:
'object'
,
properties
:
{
megaLayout
:
{
type
:
'object'
,
'x-component'
:
'mega-layout'
,
properties
:
{
topLayout
:
{
type
:
'object'
,
'x-component'
:
'Mega-Layout'
,
'x-component-props'
:
{
grid
:
true
,
},
properties
:
{
ctl
:
{
type
:
'object'
,
'x-component'
:
'ControllerBtns1'
,
},
name
:
{
type
:
'string'
,
'x-component'
:
'Search'
,
'x-component-props'
:
{
placeholder
:
'搜索'
,
tip
:
'输入 优惠劵名称 进行搜索'
,
},
},
},
},
[
FORM_FILTER_PATH
]:
{
type
:
'object'
,
'x-component'
:
'flex-layout'
,
'x-component-props'
:
{
colStyle
:
{
marginLeft
:
20
,
},
},
properties
:
{
id
:
{
type
:
'string'
,
'x-component-props'
:
{
placeholder
:
'优惠劵ID'
,
allowClear
:
true
,
},
},
'[effectiveTimeStart, effectiveTimeEnd]'
:
{
type
:
'object'
,
'x-component'
:
'RangePicker'
,
'x-component-props'
:
{
placeholder
:
[
'劵有效期起始时间'
,
'劵有效期截止时间'
],
},
},
type
:
{
type
:
'string'
,
default
:
undefined
,
enum
:
[],
'x-component-props'
:
{
placeholder
:
'优惠劵类型(所有)'
,
allowClear
:
true
,
},
},
submit
:
{
'x-component'
:
'Submit'
,
'x-mega-props'
:
{
span
:
1
,
},
'x-component-props'
:
{
children
:
'查询'
,
},
},
},
},
},
},
},
};
yarn.lock
View file @
5de203ea
...
...
@@ -1807,7 +1807,7 @@
react-color "^2.18.0"
sortablejs "^1.10.2"
"@linkseeks/design-react@^1.0.2":
"@linkseeks/design-react@^1.0.
0", "@linkseeks/design-react@^1.0.
2":
version "1.0.2"
resolved "http://npm.shushangyun.com/@linkseeks%2fdesign-react/-/design-react-1.0.2.tgz#d91a084ddeaddc4996313cc76bca494172ba6bbc"
integrity sha512-sHpxJCJZVTWHhhnKRcmjtP3GGo6NgVrhhFAZ2N4fQU/Y25Vi48kgE5HNw14PO1DGTXwKS0bCHXlEVjUGoSKBiQ==
...
...
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