diff --git a/src/api/device/upkeepPlan.js b/src/api/device/upkeepPlan.js index 908fce50..6f03617c 100644 --- a/src/api/device/upkeepPlan.js +++ b/src/api/device/upkeepPlan.js @@ -1,5 +1,14 @@ import request from '@/utils/request' +// 获取备件信息list +export function querySpareList(query) { + return request({ + url: '/device/sparePartsLedger/list', + method: 'get', + params: query + }); +} + // 处理计划-设备信息 export function formatEquItem(data) { return request({ diff --git a/src/views/device/upkeepPlan/index.vue b/src/views/device/upkeepPlan/index.vue index a7a91577..7aa166ab 100644 --- a/src/views/device/upkeepPlan/index.vue +++ b/src/views/device/upkeepPlan/index.vue @@ -1,345 +1,352 @@