|
|
@@ -54,7 +54,7 @@ const CreateForm = (props) => { |
|
|
|
params.pertains=[2]; |
|
|
|
await GetBOMs(params).then((r) => { |
|
|
|
Data = r.data.data; |
|
|
|
setBoms(r.data.data); |
|
|
|
|
|
|
|
total = 1; |
|
|
|
}); |
|
|
|
return { |
|
|
@@ -65,7 +65,7 @@ const CreateForm = (props) => { |
|
|
|
}} |
|
|
|
columns={columns} |
|
|
|
rowSelection={{ |
|
|
|
onChange: (_, selectedRows) => setSelectedRows(selectedRows), |
|
|
|
onChange: (_, selectedRows) => {setSelectedRows(selectedRows);setBoms(selectedRows);}, |
|
|
|
}} |
|
|
|
/> |
|
|
|
</Modal> |
|
|
|