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
linweijiong
jinfa-admin
Commits
3136b961
Commit
3136b961
authored
Jan 25, 2022
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 非待提交审核的优惠券不可批量选择
parent
b0d0b27b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
index.tsx
...Manage/platformCoupon/platformCouponUnsubmitted/index.tsx
+5
-2
No files found.
src/pages/marketingManage/platformCoupon/platformCouponUnsubmitted/index.tsx
View file @
3136b961
...
...
@@ -27,7 +27,7 @@ import { useStateFilterSearchLinkageEffect } from '@/formSchema/effects/useFilte
import
{
useAsyncInitSelect
}
from
'@/formSchema/effects/useAsyncInitSelect'
;
import
{
FORM_FILTER_PATH
}
from
'@/formSchema/const'
;
import
NiceForm
from
'@/components/NiceForm'
;
import
{
getMarketingCouponPlatformTypeList
,
getMarketingCouponPlatformWaitAuditPage
,
GetMarketingCouponWaitAuditPageResponseDetail
,
postMarketingCouponPlatformWaitAuditDelete
,
postMarketingCouponPlatformWaitAuditSubmitBatch
}
from
'@/services/MarketingV2Api'
;
import
{
getMarketingCouponPlatformTypeList
,
getMarketingCouponPlatformWaitAuditPage
,
GetMarketingCoupon
Platform
WaitAuditPageResponseDetail
,
postMarketingCouponPlatformWaitAuditDelete
,
postMarketingCouponPlatformWaitAuditSubmitBatch
}
from
'@/services/MarketingV2Api'
;
import
useSpliceArray
from
'@/hooks/useSpliceArray'
;
import
{
querySchema
}
from
'./schema'
;
import
commonColumn
from
'../common/columns/coupon'
;
...
...
@@ -96,7 +96,7 @@ const PlatformCouponUnsubmitted: React.FC = () => {
});
};
const
defaultColumns
:
ColumnType
<
GetMarketingCouponWaitAuditPageResponseDetail
>
[]
=
commonColumn
().
concat
([
const
defaultColumns
:
ColumnType
<
GetMarketingCoupon
Platform
WaitAuditPageResponseDetail
>
[]
=
commonColumn
().
concat
([
{
title
:
'操作'
,
dataIndex
:
'option'
,
...
...
@@ -138,6 +138,9 @@ const PlatformCouponUnsubmitted: React.FC = () => {
setSelectedRowKeys
(
keys
);
},
selectedRowKeys
:
selectedRowKeys
,
getCheckboxProps
:
(
record
:
GetMarketingCouponPlatformWaitAuditPageResponseDetail
)
=>
({
disabled
:
record
.
status
!==
1
,
// 状态不等于待提交审核的禁用
}),
};
// 初始化高级筛选选项
...
...
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