Commit 44575281 authored by 陈万宝's avatar 陈万宝

Merge branch 'master' into feature/20230109_business_abutment

parents 76d1cea0 3581b8d6
......@@ -84,7 +84,12 @@ class goodsManage extends Component {
loading: true,
});
const form = this.formRef?.current?.getFieldValue();
const res = await apiGoodsInfosExport(form);
const params = Object.assign({}, form);
const productCategoryId = form?.productCategoryId || [];
if (productCategoryId.length) {
params.productCategoryId = productCategoryId[productCategoryId.length - 1] || '';
}
const res = await apiGoodsInfosExport(params);
this.setState({
loading: false,
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment