Browse Source

fix: 备件 维修 可以选择所有备件

master
zengqinyuan 3 weeks ago
parent
commit
b6a414d817
  1. 3
      src/pages/sparePartsServiceWorkOrderList/addForm.vue

3
src/pages/sparePartsServiceWorkOrderList/addForm.vue

@ -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

Loading…
Cancel
Save