马宇豪
2023-02-22 1052dd9a5a36d531f1ea89a04ad2d7a1047ae4d7
src/views/facilityManagement/goodsDetailManage/components/goodsDetailAdd.vue
@@ -197,6 +197,7 @@
// }
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>