|
@ -435,12 +435,9 @@ async function getSparePartsList(warehouseArea) { |
|
|
await costCenterMappingApi |
|
|
await costCenterMappingApi |
|
|
.findList(param) |
|
|
.findList(param) |
|
|
.then((res) => { |
|
|
.then((res) => { |
|
|
res.data.map((item) => { |
|
|
|
|
|
item.value = item.number |
|
|
|
|
|
item.label = item.name |
|
|
|
|
|
}) |
|
|
|
|
|
sparePartsList.value = res.data |
|
|
sparePartsList.value = res.data |
|
|
singleColumnList.value = sparePartsList.value |
|
|
singleColumnList.value = sparePartsList.value |
|
|
|
|
|
costCenterRef.value.singleColumnList = sparePartsList.value |
|
|
proxy.$modal.closeLoading() |
|
|
proxy.$modal.closeLoading() |
|
|
}) |
|
|
}) |
|
|
.catch(() => { |
|
|
.catch(() => { |
|
|