|
|
@@ -402,7 +402,7 @@ const filteredPropertyValues = computed(() => {
|
|
|
return []
|
|
|
}
|
|
|
return PropertyValueList.value.filter(
|
|
|
- (value) => value.propertyId === queryParams.propertyId
|
|
|
+ (value) => value.propertyId == queryParams.propertyId
|
|
|
)
|
|
|
})
|
|
|
const route=useRoute()
|
|
|
@@ -423,7 +423,7 @@ const setInitialCabinetId = () => {
|
|
|
queryParams.materialsCabinetId = Number(route.query.cabinetId)
|
|
|
visibleSelect.value = true
|
|
|
} else {
|
|
|
- queryParams.materialsCabinetId = 1
|
|
|
+ queryParams.materialsCabinetId = ''
|
|
|
}
|
|
|
}
|
|
|
// 查询物资柜
|
|
|
@@ -476,6 +476,7 @@ const getTreeselect = async () => {
|
|
|
const propertyData = await PropertyApi.PropertyPage({ pageSize: -1, pageNo: 1 })
|
|
|
PropertyList.value = propertyData.list
|
|
|
const propertyValueData = await PropertyValueApi.PropertyValuePage({ pageSize: -1, pageNo: 1 })
|
|
|
+ console.log(propertyValueData,'propertyValueData')
|
|
|
PropertyValueList.value = propertyValueData.list
|
|
|
}
|
|
|
|