Commit 7f1c290c authored by XieZhiXiong's avatar XieZhiXiong

chore: 完善

parent 9ef47d94
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: XieZhiXiong * @Author: XieZhiXiong
* @Date: 2021-06-28 17:51:33 * @Date: 2021-06-28 17:51:33
* @LastEditors: XieZhiXiong * @LastEditors: XieZhiXiong
* @LastEditTime: 2021-08-02 16:49:28 * @LastEditTime: 2021-08-03 17:33:46
* @Description: 商家优惠劵发劵 * @Description: 商家优惠劵发劵
*/ */
import React, { useState, useEffect, useRef } from 'react'; import React, { useState, useEffect, useRef } from 'react';
...@@ -23,7 +23,7 @@ import { GetMarketingCouponWaiteExecuteGrantGetResponse } from '@/services/Marke ...@@ -23,7 +23,7 @@ import { GetMarketingCouponWaiteExecuteGrantGetResponse } from '@/services/Marke
import AnchorPage from '@/layouts/AnchorPage'; import AnchorPage from '@/layouts/AnchorPage';
import BacisInfo from '../../components/BacisInfo'; import BacisInfo from '../../components/BacisInfo';
import CouponRules from '../../components/CouponRules'; import CouponRules from '../../components/CouponRules';
import DeliverCoupon, { SuitableMemberType, ChangeValueItem } from '../../components/DeliverCoupon'; import DeliverCoupon, { ChangeValueItem } from '../../components/DeliverCoupon';
const MerchantCouponAnalysisDeliver: React.FC<{}> = () => { const MerchantCouponAnalysisDeliver: React.FC<{}> = () => {
const { id } = usePageStatus(); const { id } = usePageStatus();
...@@ -53,7 +53,7 @@ const MerchantCouponAnalysisDeliver: React.FC<{}> = () => { ...@@ -53,7 +53,7 @@ const MerchantCouponAnalysisDeliver: React.FC<{}> = () => {
getBasicInfo(); getBasicInfo();
}, []); }, []);
const handleDeliverChange = (value: SuitableMemberType[]) => { const handleDeliverChange = (value: ChangeValueItem[]) => {
deliverRef.current = value; deliverRef.current = value;
}; };
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* @Author: XieZhiXiong * @Author: XieZhiXiong
* @Date: 2021-06-22 14:37:24 * @Date: 2021-06-22 14:37:24
* @LastEditors: XieZhiXiong * @LastEditors: XieZhiXiong
* @LastEditTime: 2021-07-01 16:48:15 * @LastEditTime: 2021-08-03 18:29:16
* @Description: * @Description:
*/ */
import { ISchema } from '@formily/antd'; import { ISchema } from '@formily/antd';
...@@ -26,11 +26,12 @@ export const querySchema: ISchema = { ...@@ -26,11 +26,12 @@ export const querySchema: ISchema = {
}, },
[FORM_FILTER_PATH]: { [FORM_FILTER_PATH]: {
type: 'object', type: 'object',
'x-component': 'flex-layout', 'x-component': 'mega-layout',
'x-component-props': { 'x-component-props': {
colStyle: { grid: true,
marginLeft: 20, full: true,
}, columns: 4,
autoRow: true,
}, },
properties: { properties: {
id: { id: {
...@@ -43,7 +44,7 @@ export const querySchema: ISchema = { ...@@ -43,7 +44,7 @@ export const querySchema: ISchema = {
}, },
}, },
}, },
'[releaseTimeStart, releaseTimeStart]': { '[releaseTimeStart, releaseTimeEnd]': {
type: 'object', type: 'object',
'x-component': 'RangePicker', 'x-component': 'RangePicker',
'x-component-props': { 'x-component-props': {
...@@ -51,7 +52,7 @@ export const querySchema: ISchema = { ...@@ -51,7 +52,7 @@ export const querySchema: ISchema = {
showTime: true, showTime: true,
}, },
}, },
'[effectiveTimeStart, effectiveTimeStart]': { '[effectiveTimeStart, effectiveTimeEnd]': {
type: 'object', type: 'object',
'x-component': 'RangePicker', 'x-component': 'RangePicker',
'x-component-props': { 'x-component-props': {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment