Commit 0af0578b authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix: 交易规则会员显示异常

parent 4b5a5d37
export interface MemberType {
id: number;
typeName: string;
}
export interface BusinessType {
id: number;
typeName: string;
businessTypeId: number;
businessTypeName: string;
}
export interface UseType {
memberType: MemberType[];
businessType: BusinessType[];
memberTypeId: number;
memberTypeName: string;
businessTypes: BusinessType[];
}
export interface UserRegister {
useType: UseType;
useType: UseType[];
}
export interface RuleConfiguration {
......@@ -37,8 +33,8 @@ export interface PayInitializeConfig {
export interface PayPlatformPayConfig {
id: number;
payType: number;
way: string;
payType: number;
isPitchOn: number;
}
......
......@@ -57,7 +57,7 @@ const RuleSetting:React.FC<RuleSettingProps> = (props) => {
const handleAddMemberBtn = () => {
const checkBoxs = addSchemaAction.getFieldValue('memberIds')
memberRowCtl.setSelectedRowKeys(checkBoxs.map(v => v.productId))
memberRowCtl.setSelectedRowKeys(checkBoxs.map(v => v.memberId))
memberRowCtl.setSelectRow(checkBoxs)
setVisibleChannelRroduct(true)
}
......@@ -72,9 +72,9 @@ const RuleSetting:React.FC<RuleSettingProps> = (props) => {
key: 'memberId'
},
{
dataIndex: 'memberName',
dataIndex: 'name',
title: '会员名称',
key: 'memberName',
key: 'name',
// render: (_, record) => <EyePreview url={`/memberCenter/commodityAbility/commodity/products/viewProducts?id=${record.id}`}>{_}</EyePreview>
},
{
......@@ -96,7 +96,7 @@ const RuleSetting:React.FC<RuleSettingProps> = (props) => {
{
dataIndex: 'ctl',
title: '操作',
render: (_, record) => <Button type='link' onClick={() => handleDeleteTable(record.id)}>删除</Button>
render: (_, record) => <Button type='link' onClick={() => handleDeleteTable(record.memberId)}>删除</Button>
}
]
......
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