From 98ef14bf82eaca223a3c0b27a61d73c81867b81f Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Mon, 19 Aug 2024 17:20:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E9=85=8D=E4=BB=B6=E5=BA=93?= =?UTF-8?q?=E5=AD=98=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/api/storage/sparePartsInventory.js | 13 ++ yxt-as-ui/src/router/index.js | 9 + .../sparePartsInventory.vue | 211 ++++++++++++++++++ 3 files changed, 233 insertions(+) create mode 100644 yxt-as-ui/src/api/storage/sparePartsInventory.js create mode 100644 yxt-as-ui/src/views/storage/sparePartsInventory/sparePartsInventory.vue 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 @@ + + + + + + + + + {{ searchxianshitit }} + + + + + + + + + + + + + + + + + + + + + + + + + + 查询 + 重置 + + + + + + 配件库存列表 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +