From 962b28a9a90cdeb3cbd95f4d2d0aa9caded579d6 Mon Sep 17 00:00:00 2001 From: zhaoy <137053305@qq.com> Date: Wed, 21 Feb 2024 18:22:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=93=81=E5=B7=A5=E8=89=BA=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../goods/goodstechnology/components/EditFrom.jsx | 6 +++--- .../database/goods/goodstechnology/components/From.jsx | 7 +++++++ .../components/goodstechnologymaken.jsx | 6 +++--- src/pages/database/goods/newgoods/index.jsx | 3 ++- .../device/technology/components/CreateAction.jsx | 10 +++++++--- .../device/technology/components/technologylist.jsx | 6 ++---- src/pages/device/technology/index.jsx | 6 +++--- 7 files changed, 27 insertions(+), 17 deletions(-) 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 = () => {
选择版本