diff --git a/src/component/SupplierComponent.js b/src/component/SupplierComponent.js index 18e9152..7179628 100644 --- a/src/component/SupplierComponent.js +++ b/src/component/SupplierComponent.js @@ -42,7 +42,7 @@ export const SupplierComponent = observer((props) => { store.supplier.code = data.code; console.log(data.code, "isi data"); form.setFieldsValue({ - code: data.code, + supplier: data.code, }); store.supplier.visibleModalTransaction = true; }; @@ -169,6 +169,7 @@ export const SupplierComponent = observer((props) => { }; const handleSubmitTransaction = async (data) => { + console.log(data, ':)') try { modalLoader.setLoading(true); const response = await store.supplier.createTransaction(data); @@ -467,7 +468,7 @@ export const SupplierComponent = observer((props) => { layout="vertical" >