diff --git a/hw-ui/src/api/board/firstFloor.js b/hw-ui/src/api/board/firstFloor.js new file mode 100644 index 0000000..1677d98 --- /dev/null +++ b/hw-ui/src/api/board/firstFloor.js @@ -0,0 +1,26 @@ +import request from '@/utils/request' + + +export function getMaterialBoms(query) { + return request({ + url: '/mes/api/getMaterialBoms', + method: 'get', + params: query + }) +} + +export function getWarehouses(query) { + return request({ + url: '/wms/api/getWarehouses', + method: 'get', + params: query + }) +} + +export function applyRawOutstock(query) { + return request({ + url: '/wms/api/applyRawOutstock', + method: 'post', + data: query + }) +} diff --git a/hw-ui/src/api/board/index.js b/hw-ui/src/api/board/index.js new file mode 100644 index 0000000..0c94995 --- /dev/null +++ b/hw-ui/src/api/board/index.js @@ -0,0 +1,10 @@ +import request from '@/utils/request' + +// 查询设备BOM信息列表 +export function listBom(query) { + return request({ + url: '/dms/bom/list', + method: 'get', + params: query + }) +} diff --git a/hw-ui/src/views/board/firstFloor/index.vue b/hw-ui/src/views/board/firstFloor/index.vue index e7c79c2..9cb748f 100644 --- a/hw-ui/src/views/board/firstFloor/index.vue +++ b/hw-ui/src/views/board/firstFloor/index.vue @@ -5,68 +5,70 @@