feat: style column

This commit is contained in:
caturbgs 2021-12-17 01:49:38 +07:00
parent 9269ae0858
commit dfc3ea466f

View File

@ -58,16 +58,19 @@ export const SupplierComponent = observer((props) => {
title: "Kode",
dataIndex: "code",
key: "code",
width: "5%",
},
{
title: "Saldo",
dataIndex: ["coa", "amount"],
key: ["coa", "amount"],
width: "20%",
},
{
title: "Status",
dataIndex: "status",
key: "status",
width: "5%",
render: (text, record) => (
<Tag
color={record?.status === true ? "processing" : "#E3E8EE"}
@ -80,6 +83,7 @@ export const SupplierComponent = observer((props) => {
{
title: "Action",
key: "action",
width: "20%",
render: (text, record) => (
<Space size="middle">
<Button