diff --git a/yxt-as-ui/src/api/storage/sparePartsInventory.js b/yxt-as-ui/src/api/storage/sparePartsInventory.js new file mode 100644 index 0000000000..c12416196d --- /dev/null +++ b/yxt-as-ui/src/api/storage/sparePartsInventory.js @@ -0,0 +1,13 @@ +import request from '@/utils/request' + +export default { + // 查询分页列表 + listPage: function(params) { + return request({ + url: '/wms/apiadmin/inventory/wmsinventory/fittingsInventory', + method: 'post', + data: params, + headers: { 'Content-Type': 'application/json' } + }) + } +} diff --git a/yxt-as-ui/src/router/index.js b/yxt-as-ui/src/router/index.js index aa58204652..a94e7cf66c 100644 --- a/yxt-as-ui/src/router/index.js +++ b/yxt-as-ui/src/router/index.js @@ -602,6 +602,15 @@ export const constantRoutes = [{ title: '结转记录查询', noCache: true } + }, + { + path: '/sparePartsInventory/sparePartsInventory', + component: () => import('@/views/storage/sparePartsInventory/sparePartsInventory'), + name: 'SparePartsInventory', + meta: { + title: '配件库存查询', + noCache: true + } } ] }, diff --git a/yxt-as-ui/src/views/storage/sparePartsInventory/sparePartsInventory.vue b/yxt-as-ui/src/views/storage/sparePartsInventory/sparePartsInventory.vue new file mode 100644 index 0000000000..dd04db4dfc --- /dev/null +++ b/yxt-as-ui/src/views/storage/sparePartsInventory/sparePartsInventory.vue @@ -0,0 +1,211 @@ + + + + +