From 4685447c1e9681e9c2697b8078d3b7eb0f7b770f Mon Sep 17 00:00:00 2001 From: gtz <535262213@qq.com> Date: Tue, 16 Aug 2022 16:55:59 +0800 Subject: [PATCH] update --- src/api/eqInspection.js | 9 ++ src/api/material.js | 6 +- src/pages/eqInspection/eqInspection-edit.vue | 18 ++- ...p-batch.vue => materialPopup-material.vue} | 8 +- src/pages/material/material-edit.vue | 126 +++++++++++------- 5 files changed, 109 insertions(+), 58 deletions(-) rename src/pages/material/components/{materialPopup-batch.vue => materialPopup-material.vue} (87%) diff --git a/src/api/eqInspection.js b/src/api/eqInspection.js index 60da31f..e43304d 100644 --- a/src/api/eqInspection.js +++ b/src/api/eqInspection.js @@ -62,6 +62,15 @@ export const itemList = data => { }) } +// 获取设备巡检项目列表 +export const eqItemList = data => { + return request({ + url: '/api/equipment/inspectionItem/list-WithEQ', + method: 'POST', + data + }) +} + // 获取设备信息 export const getEqInfo = data => { return request({ diff --git a/src/api/material.js b/src/api/material.js index c762191..0410e61 100644 --- a/src/api/material.js +++ b/src/api/material.js @@ -53,10 +53,10 @@ export const eqList = data => { }) } -// 获取批次列表 -export const batchList = data => { +// 获取物料列表 +export const materialList = data => { return request({ - url: '/api/material/material-date/list', + url: '/api/basic/material/page', method: 'POST', data }) diff --git a/src/pages/eqInspection/eqInspection-edit.vue b/src/pages/eqInspection/eqInspection-edit.vue index a8dae7e..1a1c005 100644 --- a/src/pages/eqInspection/eqInspection-edit.vue +++ b/src/pages/eqInspection/eqInspection-edit.vue @@ -180,7 +180,7 @@