fix: 新增产品: 名称填充

perf/export-docx
Lei OT 11 months ago
parent b861cc66ae
commit d65c12cb2c

@ -75,6 +75,7 @@ export const NewProductModal = ({ initialValues }) => {
const handelAddProduct = (param) => {
const copyNewProduct = structuredClone(newProduct);
copyNewProduct.info.title = param.title;
copyNewProduct.info.product_title = param.title;
copyNewProduct.info.product_type_id = productsTypesMapVal[param.products_type.value].value;
copyNewProduct.info.product_type_name = productsTypesMapVal[param.products_type.value].label;
copyNewProduct.lgc_details[0].lgc = language;

Loading…
Cancel
Save