diff --git a/src/pages/goods/goodsInfo/components/goodstechnologymaken.jsx b/src/pages/goods/goodsInfo/components/goodstechnologymaken.jsx index 84ed14e..85adf83 100644 --- a/src/pages/goods/goodsInfo/components/goodstechnologymaken.jsx +++ b/src/pages/goods/goodsInfo/components/goodstechnologymaken.jsx @@ -60,16 +60,16 @@ const goodstechnologymaken = (props) => { message.error("查询商品信息失败"); } }); - GetGoodsTechnology().then((r) => { - var data = r.data; - var sd = [] - if (data.length > 0) { - data.forEach((x) => { - sd.push({ label: x.name, value: x.id, isBatch: x.isBatch }); - }); - setgoodstechnologydata(sd) - } - }); + // GetGoodsTechnology().then((r) => { + // var data = r.data; + // var sd = [] + // if (data.length > 0) { + // data.forEach((x) => { + // sd.push({ label: x.name, value: x.id, isBatch: x.isBatch }); + // }); + // setgoodstechnologydata(sd) + // } + // }); GetTechnologyActionListAll().then((r) => { setTechnologyattralldata(r.data) }) @@ -184,7 +184,7 @@ const goodstechnologymaken = (props) => { return { value: x.goodsTechnologyId, label: x.name } }) console.log(godata) - //setgoodstechnologydata(godata) + setgoodstechnologydata(godata) } }