diff --git a/src/pages/database/goods/goodstechnology/components/EditFrom.jsx b/src/pages/database/goods/goodstechnology/components/EditFrom.jsx index 5df4e2f..cfbdbd1 100644 --- a/src/pages/database/goods/goodstechnology/components/EditFrom.jsx +++ b/src/pages/database/goods/goodstechnology/components/EditFrom.jsx @@ -130,9 +130,9 @@ const EditFrom = (props) => {
{ - x.isBatch ? - - : + // x.isBatch ? + + //: }
diff --git a/src/pages/database/goods/goodstechnology/components/From.jsx b/src/pages/database/goods/goodstechnology/components/From.jsx index 09ba74d..f0d68e9 100644 --- a/src/pages/database/goods/goodstechnology/components/From.jsx +++ b/src/pages/database/goods/goodstechnology/components/From.jsx @@ -114,6 +114,13 @@ const From = (props) => { var op = va.map((p, index) => { return { value: index, label: p.actionValueName } }) + //判断是否物料 + if(x.technologyType==1){ + var sd= props.batchingdata.map(p=>{ + return { value: p.id, label: p.name } + }) + op=sd + } return <>
{x.actionName}
- {DictData.map((item, index) => { + {DictData?.map((item, index) => { return ( {item.label} @@ -303,7 +303,7 @@ const GoodsTypeManage = () => {
选择版本