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
4c6b2729
Commit
4c6b2729
authored
Aug 04, 2021
by
前端-钟卫鹏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v2' of
http://10.0.0.22:3000/lingxi/lingxi-business-paltform
into v2
parents
30a50763
11013a65
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
10 deletions
+15
-10
Information.tsx
src/pages/contract/manage/editing/components/Information.tsx
+4
-0
index.tsx
...y/merchantCoupon/merchantCouponAnalysis/deliver/index.tsx
+3
-3
schema.ts
...etingAbility/merchantCoupon/merchantCouponQuery/schema.ts
+8
-7
No files found.
src/pages/contract/manage/editing/components/Information.tsx
View file @
4c6b2729
...
...
@@ -30,6 +30,8 @@ const Information = (props: any) => {
const
rangePicker
=
[];
let
startTime
=
moment
(
basic
.
startTime
)
let
endTime
=
moment
(
basic
.
endTime
);
setstartTime
(
basic
.
startTime
)
setendTime
(
basic
.
endTime
)
rangePicker
.
push
(
startTime
,
endTime
);
basic
.
rangePicker
=
rangePicker
;
attrValueForm
.
setFieldsValue
(
basic
)
...
...
@@ -40,6 +42,8 @@ const Information = (props: any) => {
const
rangePicker
=
[];
let
startTime
=
moment
(
basic
.
startTime
)
let
endTime
=
moment
(
basic
.
endTime
);
setstartTime
(
basic
.
startTime
)
setendTime
(
basic
.
endTime
)
rangePicker
.
push
(
startTime
,
endTime
);
basic
.
rangePicker
=
rangePicker
;
attrValueForm
.
setFieldsValue
(
basic
)
...
...
src/pages/transaction/marketingAbility/merchantCoupon/merchantCouponAnalysis/deliver/index.tsx
View file @
4c6b2729
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-06-28 17:51:33
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-08-0
2 16:49:28
* @LastEditTime: 2021-08-0
3 17:33:46
* @Description: 商家优惠劵发劵
*/
import
React
,
{
useState
,
useEffect
,
useRef
}
from
'react'
;
...
...
@@ -23,7 +23,7 @@ import { GetMarketingCouponWaiteExecuteGrantGetResponse } from '@/services/Marke
import
AnchorPage
from
'@/layouts/AnchorPage'
;
import
BacisInfo
from
'../../components/BacisInfo'
;
import
CouponRules
from
'../../components/CouponRules'
;
import
DeliverCoupon
,
{
SuitableMemberType
,
ChangeValueItem
}
from
'../../components/DeliverCoupon'
;
import
DeliverCoupon
,
{
ChangeValueItem
}
from
'../../components/DeliverCoupon'
;
const
MerchantCouponAnalysisDeliver
:
React
.
FC
<
{}
>
=
()
=>
{
const
{
id
}
=
usePageStatus
();
...
...
@@ -53,7 +53,7 @@ const MerchantCouponAnalysisDeliver: React.FC<{}> = () => {
getBasicInfo
();
},
[]);
const
handleDeliverChange
=
(
value
:
SuitableMemberType
[])
=>
{
const
handleDeliverChange
=
(
value
:
ChangeValueItem
[])
=>
{
deliverRef
.
current
=
value
;
};
...
...
src/pages/transaction/marketingAbility/merchantCoupon/merchantCouponQuery/schema.ts
View file @
4c6b2729
...
...
@@ -2,7 +2,7 @@
* @Author: XieZhiXiong
* @Date: 2021-06-22 14:37:24
* @LastEditors: XieZhiXiong
* @LastEditTime: 2021-0
7-01 16:48:15
* @LastEditTime: 2021-0
8-03 18:29:16
* @Description:
*/
import
{
ISchema
}
from
'@formily/antd'
;
...
...
@@ -26,11 +26,12 @@ export const querySchema: ISchema = {
},
[
FORM_FILTER_PATH
]:
{
type
:
'object'
,
'x-component'
:
'
flex
-layout'
,
'x-component'
:
'
mega
-layout'
,
'x-component-props'
:
{
colStyle
:
{
marginLeft
:
20
,
},
grid
:
true
,
full
:
true
,
columns
:
4
,
autoRow
:
true
,
},
properties
:
{
id
:
{
...
...
@@ -43,7 +44,7 @@ export const querySchema: ISchema = {
},
},
},
'[releaseTimeStart, releaseTime
Start
]'
:
{
'[releaseTimeStart, releaseTime
End
]'
:
{
type
:
'object'
,
'x-component'
:
'RangePicker'
,
'x-component-props'
:
{
...
...
@@ -51,7 +52,7 @@ export const querySchema: ISchema = {
showTime
:
true
,
},
},
'[effectiveTimeStart, effectiveTime
Start
]'
:
{
'[effectiveTimeStart, effectiveTime
End
]'
:
{
type
:
'object'
,
'x-component'
:
'RangePicker'
,
'x-component-props'
:
{
...
...
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