| | |
| | | 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) => { |
| | |
| | | // } |
| | | |
| | | 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> |