Commit bcd533b4 authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

修改需求发布详情 采购商品接口没传id的问题

parent 25f5b613
......@@ -292,7 +292,7 @@ const detailInfo: React.FC<detailParams> = (props) => {
const fetchData = (params?: any) => {
return new Promise(resolve => {
PublicApi.getOrderRequisitionFormProductList({ ...params }).then(res => {
PublicApi.getOrderRequisitionFormProductList({id, ...params }).then(res => {
if (res.code === 1000) {
const arr: any[] = []
res.data.data.forEach((item: any, index: number) => {
......@@ -520,7 +520,7 @@ const detailInfo: React.FC<detailParams> = (props) => {
{data.type === 1 &&
<Form.Item name='shopIds' noStyle wrapperCol={{ span: 24 }}>
<Checkbox.Group disabled className={style.checkbox_wrap_style}>
<Row>
<Row gutter={[24,24]}>
{
goodAllIds.map((v: any, i: number) => {
return (
......
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