From e93d241d51765e701d89cd7f6f4088c6cb22949b Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期五, 21 四月 2023 16:51:47 +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