From 20b0ce2db27b64a60de60aee05dedd448099e330 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期一, 08 七月 2024 10:12:16 +0800 Subject: [PATCH] xiugai --- src/views/facilityManagement/goodsDetailManage/components/goodsDetailAdd.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/facilityManagement/goodsDetailManage/components/goodsDetailAdd.vue b/src/views/facilityManagement/goodsDetailManage/components/goodsDetailAdd.vue index 9f1db92..aa1b3f2 100644 --- a/src/views/facilityManagement/goodsDetailManage/components/goodsDetailAdd.vue +++ b/src/views/facilityManagement/goodsDetailManage/components/goodsDetailAdd.vue @@ -187,7 +187,8 @@ endRfid: null , wareHousingCount: null, }; - goodsDetailAddState.classifyList = goodsDetailAddState.departmentList.find(item => item.depId === userInfo.userInfos.depId)?.classificationList as Array<ClassificationListType> + goodsDetailAddState.classifyList = goodsDetailAddState.departmentList.find(item => item.depId === userInfo.userInfos.depId) + ?.classificationList as Array<ClassificationListType> } // const changeDepartment = (value: number | null) => { @@ -197,7 +198,6 @@ // } const changeClassify = (value: number | null) => { - debugger goodsDetailAddState.goodsDetailForm.smId = null goodsDetailAddState.goodsList = JSON.parse(JSON.stringify( (goodsDetailAddState.classifyList.find(item => item.materialClassifyId === value) ?? {baseMaterialList:[]})?.baseMaterialList as Array<BaseMaterialListType> -- Gitblit v1.9.2