|
@@ -85,14 +85,14 @@ export function useColumns(refetch: () => void) {
|
|
|
key: 'id',
|
|
|
fixed: 'right',
|
|
|
width: SMALL_TABLE_WIDTH,
|
|
|
- render(_, {id}) {
|
|
|
+ render(_, {id, orderCode}) {
|
|
|
return (
|
|
|
<>
|
|
|
<Button
|
|
|
type='text'
|
|
|
danger
|
|
|
loading={pendingId === id}
|
|
|
- onClick={onDelete(id)}
|
|
|
+ onClick={onDelete(id, orderCode)}
|
|
|
>
|
|
|
删除
|
|
|
</Button>
|