diff --git a/src/views/products/Detail/CopyProducts.jsx b/src/views/products/Detail/CopyProducts.jsx index a460e95..40fbca5 100644 --- a/src/views/products/Detail/CopyProducts.jsx +++ b/src/views/products/Detail/CopyProducts.jsx @@ -48,7 +48,7 @@ export const CopyProductsForm = ({ action, initialValues, onFormInstanceReady, s {/* disabledDate={(current) => current <= dayjs([source.sourceYear, 12, 31])} */} - + ); diff --git a/src/views/products/Detail/ProductInfoForm.jsx b/src/views/products/Detail/ProductInfoForm.jsx index eed89f6..70c8036 100644 --- a/src/views/products/Detail/ProductInfoForm.jsx +++ b/src/views/products/Detail/ProductInfoForm.jsx @@ -400,8 +400,8 @@ const formValuesMapper = (values) => { } // omit empty // Object.keys(dest).forEach((key) => (dest[key] == null || dest[key] === '' || dest[key].length === 0) && delete dest[key]); - const { lgc_details, lgc_details_mapped, quotation, ...info } = dest; // quotation - return { info, lgc_details, lgc_details_mapped, quotation }; // quotation + const { lgc_details, lgc_details_mapped, quotation, ...info } = dest; + return { info, lgc_details, lgc_details_mapped, quotation }; }; export default InfoForm;