|
|
@ -114,6 +114,7 @@ |
|
|
|
import * as dictApi from "@/api/dict" |
|
|
|
import * as locationApi from "@/api/location" |
|
|
|
import SelectItemList from "../../components/item/slectItemList.vue" |
|
|
|
import {noPage} from "@/api/spareParts"; |
|
|
|
const { proxy } = getCurrentInstance() |
|
|
|
const loading = ref(false) |
|
|
|
const type = ref('') |
|
|
@ -223,7 +224,7 @@ |
|
|
|
title: "加载中....", |
|
|
|
mask: true |
|
|
|
}); |
|
|
|
await sparePartsApi.getServiceSparePartsList().then(res => { |
|
|
|
await sparePartsApi.noPage({}).then(res => { |
|
|
|
res.data.map(item => { |
|
|
|
item.value = item.number |
|
|
|
item.label = item.name |
|
|
|