diff --git a/src/pages/database/goods/goodsInfo/index.jsx b/src/pages/database/goods/goodsInfo/index.jsx index bfb2c31..3ddc746 100644 --- a/src/pages/database/goods/goodsInfo/index.jsx +++ b/src/pages/database/goods/goodsInfo/index.jsx @@ -148,7 +148,7 @@ const Advanced = (props) => { initGoodsUnit(); initGoodsType(); initGetbomType(); - //intBatching();//默认原料 + intBatching();//默认原料 //} }, [tabStatus]) @@ -192,11 +192,11 @@ const Advanced = (props) => { }) } - // function intBatching(){ - // getproductpage().then((r) => { - // setMatedata(r.data); - // }); - // } + function intBatching(){ + getproductpage().then((r) => { + setMatedata(r.data); + }); + } function initTypeList(){ initGetbomType(); }