From e95a652dde2789413b9269c0514a03198dbfa008 Mon Sep 17 00:00:00 2001 From: xins Date: Sun, 7 Apr 2024 08:49:01 +0800 Subject: [PATCH] =?UTF-8?q?1.9.9=20DMSweb=E7=AB=AF=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hw-ui/src/api/dms/billslubedetail.js | 44 +++ hw-ui/src/api/dms/billsmaintdetail.js | 44 +++ hw-ui/src/api/dms/dmsPlanLubeDetail.js | 75 ++++ hw-ui/src/api/wms/stocktotal.js | 44 +++ hw-ui/src/router/index.js | 48 ++- .../views/dms/dmsBillsLubeDetail/index.vue | 336 ++++++++++++++++++ .../views/dms/dmsBillsLubeInstance/index.vue | 6 +- .../views/dms/dmsBillsMaintDetail/index.vue | 336 ++++++++++++++++++ hw-ui/src/views/index.vue | 4 +- 9 files changed, 930 insertions(+), 7 deletions(-) create mode 100644 hw-ui/src/api/dms/billslubedetail.js create mode 100644 hw-ui/src/api/dms/billsmaintdetail.js create mode 100644 hw-ui/src/api/dms/dmsPlanLubeDetail.js create mode 100644 hw-ui/src/api/wms/stocktotal.js create mode 100644 hw-ui/src/views/dms/dmsBillsLubeDetail/index.vue create mode 100644 hw-ui/src/views/dms/dmsBillsMaintDetail/index.vue diff --git a/hw-ui/src/api/dms/billslubedetail.js b/hw-ui/src/api/dms/billslubedetail.js new file mode 100644 index 00000000..e7bca6cb --- /dev/null +++ b/hw-ui/src/api/dms/billslubedetail.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询润滑工单明细列表 +export function listBillslubedetail(query) { + return request({ + url: '/dms/billslubedetail/list', + method: 'get', + params: query + }) +} + +// 查询润滑工单明细详细 +export function getBillslubedetail(billsLubeDetailId) { + return request({ + url: '/dms/billslubedetail/' + billsLubeDetailId, + method: 'get' + }) +} + +// 新增润滑工单明细 +export function addBillslubedetail(data) { + return request({ + url: '/dms/billslubedetail', + method: 'post', + data: data + }) +} + +// 修改润滑工单明细 +export function updateBillslubedetail(data) { + return request({ + url: '/dms/billslubedetail', + method: 'put', + data: data + }) +} + +// 删除润滑工单明细 +export function delBillslubedetail(billsLubeDetailId) { + return request({ + url: '/dms/billslubedetail/' + billsLubeDetailId, + method: 'delete' + }) +} diff --git a/hw-ui/src/api/dms/billsmaintdetail.js b/hw-ui/src/api/dms/billsmaintdetail.js new file mode 100644 index 00000000..511cdde1 --- /dev/null +++ b/hw-ui/src/api/dms/billsmaintdetail.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询保养工单明细列表 +export function listBillsmaintdetail(query) { + return request({ + url: '/dms/billsmaintdetail/list', + method: 'get', + params: query + }) +} + +// 查询保养工单明细详细 +export function getBillsmaintdetail(billsMaintDetailId) { + return request({ + url: '/dms/billsmaintdetail/' + billsMaintDetailId, + method: 'get' + }) +} + +// 新增保养工单明细 +export function addBillsmaintdetail(data) { + return request({ + url: '/dms/billsmaintdetail', + method: 'post', + data: data + }) +} + +// 修改保养工单明细 +export function updateBillsmaintdetail(data) { + return request({ + url: '/dms/billsmaintdetail', + method: 'put', + data: data + }) +} + +// 删除保养工单明细 +export function delBillsmaintdetail(billsMaintDetailId) { + return request({ + url: '/dms/billsmaintdetail/' + billsMaintDetailId, + method: 'delete' + }) +} diff --git a/hw-ui/src/api/dms/dmsPlanLubeDetail.js b/hw-ui/src/api/dms/dmsPlanLubeDetail.js new file mode 100644 index 00000000..26686f04 --- /dev/null +++ b/hw-ui/src/api/dms/dmsPlanLubeDetail.js @@ -0,0 +1,75 @@ +import request from '@/utils/request' + +// 查询润滑计划明细列表 +export function listDmsPlanLubeDetail(query) { + return request({ + url: '/dms/dmsPlanLubeDetail/list', + method: 'get', + params: query + }) +} + +// 查询润滑计划明细详细 +export function getDmsPlanLubeDetail(planLubeDetailId) { + return request({ + url: '/dms/dmsPlanLubeDetail/' + planLubeDetailId, + method: 'get' + }) +} + +// 新增润滑计划明细 +export function addDmsPlanLubeDetail(data) { + return request({ + url: '/dms/dmsPlanLubeDetail', + method: 'post', + data: data + }) +} + +// 修改润滑计划明细 +export function updateDmsPlanLubeDetail(data) { + return request({ + url: '/dms/dmsPlanLubeDetail', + method: 'put', + data: data + }) +} + +// 删除润滑计划明细 +export function delDmsPlanLubeDetail(planLubeDetailId) { + return request({ + url: '/dms/dmsPlanLubeDetail/' + planLubeDetailId, + method: 'delete' + }) +} + + + +// 获取润滑部位 +export function getLubeStations(query) { + return request({ + url: '/dms/dmsPlanLubeDetail/getLubeStations', + method: 'get', + params: query + }) +} + + +// 获取润滑标准 +export function getLubeStandards(query) { + return request({ + url: '/dms/dmsPlanLubeDetail/getLubeStandards', + method: 'get', + params: query + }) +} + + +// 获取设备列表 +export function getBaseDeviceLedgers(query) { + return request({ + url: '/dms/dmsPlanLubeDetail/getBaseDeviceLedgers', + method: 'get', + params: query + }) +} diff --git a/hw-ui/src/api/wms/stocktotal.js b/hw-ui/src/api/wms/stocktotal.js new file mode 100644 index 00000000..46ae0915 --- /dev/null +++ b/hw-ui/src/api/wms/stocktotal.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询原材料库存列表 +export function listStocktotal(query) { + return request({ + url: '/wms/stocktotal/list', + method: 'get', + params: query + }) +} + +// 查询原材料库存详细 +export function getStocktotal(stockTotalId) { + return request({ + url: '/wms/stocktotal/' + stockTotalId, + method: 'get' + }) +} + +// 新增原材料库存 +export function addStocktotal(data) { + return request({ + url: '/wms/stocktotal', + method: 'post', + data: data + }) +} + +// 修改原材料库存 +export function updateStocktotal(data) { + return request({ + url: '/wms/stocktotal', + method: 'put', + data: data + }) +} + +// 删除原材料库存 +export function delStocktotal(stockTotalId) { + return request({ + url: '/wms/stocktotal/' + stockTotalId, + method: 'delete' + }) +} diff --git a/hw-ui/src/router/index.js b/hw-ui/src/router/index.js index 69fa7bca..a9abbe6b 100644 --- a/hw-ui/src/router/index.js +++ b/hw-ui/src/router/index.js @@ -457,10 +457,10 @@ export const dynamicRoutes = [ path: '/wms/raw-outstock', component: Layout, hidden: true, - permissions: ['wms:rawoutstock:audit'], + permissions: ['wms:rawoutstock:info'], children: [ { - path: 'detail/:taskCode/:detailFlag/:warehouseName', + path: 'detail/:rawOutstockId/:detailFlag/:warehouseName', component: () => import('@/views/wms/info/rawoutstock/rawOutstockDetail'), name: 'RawOutStockDetail', meta: { title: '原材料出库明细', activeMenu: '/wms/info/rawoutstock' } @@ -468,7 +468,51 @@ export const dynamicRoutes = [ ] }, + { + path: '/wms/raw-outstock', + component: Layout, + hidden: true, + permissions: ['wms:rawoutstock:audit'], + children: [ + { + path: 'audit/:taskCode/:detailFlag/:warehouseName', + component: () => import('@/views/wms/rawmanagement/rawoutstock/rawOutstockDetail'), + name: 'RawOutStockDetail', + meta: { title: '原材料出库审核', activeMenu: '/wms/rawmanagement/rawoutstock' } + } + ] + }, + + + { + path: '/wms/raw-return', + component: Layout, + hidden: true, + permissions: ['wms:rawreturn:info'], + children: [ + { + path: 'detail/:rawReturnId/:detailFlag/:warehouseName', + component: () => import('@/views/wms/info/rawreturn/rawReturnDetail'), + name: 'RawReturnDetail', + meta: { title: '原材料退库明细', activeMenu: '/wms/info/rawreturn' } + } + ] + }, + { + path: '/wms/raw-return', + component: Layout, + hidden: true, + permissions: ['wms:rawreturn:audit'], + children: [ + { + path: 'audit/:rawReturnId/:detailFlag/:warehouseName', + component: () => import('@/views/wms/rawmanagement/rawreturn/rawReturnDetail'), + name: 'RawReturnDetail', + meta: { title: '原材料退库审核', activeMenu: '/wms/rawmanagement/rawreturn' } + } + ] + }, ] diff --git a/hw-ui/src/views/dms/dmsBillsLubeDetail/index.vue b/hw-ui/src/views/dms/dmsBillsLubeDetail/index.vue new file mode 100644 index 00000000..9d6630af --- /dev/null +++ b/hw-ui/src/views/dms/dmsBillsLubeDetail/index.vue @@ -0,0 +1,336 @@ + + + diff --git a/hw-ui/src/views/dms/dmsBillsLubeInstance/index.vue b/hw-ui/src/views/dms/dmsBillsLubeInstance/index.vue index 91af0de0..7d8dcf38 100644 --- a/hw-ui/src/views/dms/dmsBillsLubeInstance/index.vue +++ b/hw-ui/src/views/dms/dmsBillsLubeInstance/index.vue @@ -26,7 +26,7 @@ - + @@ -153,7 +153,7 @@ - + diff --git a/hw-ui/src/views/dms/dmsBillsMaintDetail/index.vue b/hw-ui/src/views/dms/dmsBillsMaintDetail/index.vue new file mode 100644 index 00000000..cfed5918 --- /dev/null +++ b/hw-ui/src/views/dms/dmsBillsMaintDetail/index.vue @@ -0,0 +1,336 @@ + + + diff --git a/hw-ui/src/views/index.vue b/hw-ui/src/views/index.vue index 11a130a3..339ef3c2 100644 --- a/hw-ui/src/views/index.vue +++ b/hw-ui/src/views/index.vue @@ -1,4 +1,4 @@ -