Commit d800911d authored by GuanHua's avatar GuanHua
parents 0475a7a6 ca2a3b81
......@@ -79,8 +79,10 @@ const MemberSystem: React.FC<{}> = () => {
dataIndex: 'option',
align: 'center',
render: (text:any, record:any) => {
return record.status === 0 ? (
<>
return <>
<Button type='link' onClick={()=>updateItem(record)}>修改</Button>
{
record.status === 0 ?
<Popconfirm
title="确定要执行这个操作?"
onConfirm={() => deleteItem(record)}
......@@ -89,9 +91,9 @@ const MemberSystem: React.FC<{}> = () => {
>
<Button type='link'>删除</Button>
</Popconfirm>
<Button type='link' onClick={()=>updateItem(record)}>修改</Button>
</>
) : null
: null
}
</>
}
}
];
......@@ -145,7 +147,7 @@ const MemberSystem: React.FC<{}> = () => {
}}
/>
</Card>
</PageHeaderWrapper>
</PageHeaderWrapper>
)
}
......
.container {
padding: 24px 24px 16px 24px ;
padding: 24px;
background-color: #fff;
border-radius: 8px;
.header {
display: flex;
flex-direction: row;
......@@ -24,4 +25,4 @@
.body {
margin-top: 12px;
}
}
\ No newline at end of file
}
......@@ -157,9 +157,9 @@ export const inquiryColumns: any[] = [
},
{
title: '报价会员',
dataIndex: 'memberName',
dataIndex: 'offerMemberName',
align: 'center',
key: 'memberName',
key: 'offerMemberName',
},
{
title: '单据时间',
......
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