From a8ef7c1a4b2ab6acd91a0520e6258bd753d17f20 Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期三, 16 八月 2023 15:58:20 +0800 Subject: [PATCH] 人员证书类型 --- 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