Commit 12f9f517 by 杨子

Merge branch 'main' of gitlab.sxyztech.cn:chunyuan.wu/warehousing-admin

parents 3a85aba5 0ed55a9d
{
"compilerOptions": {
"baseUrl": "./",
"paths": {
"@/*": ["src/*"]
}
},
"exclude": ["node_modules", "dist"],
"include": [
"src/**/*.vue",
"src/**/*.js",
"src/**/*.jsx",
"vite.config.js",
"types/**/*",
"types/global-components.d.ts"
]
}
\ No newline at end of file
......@@ -28,11 +28,13 @@
"element-plus": "2.10.7",
"file-saver": "2.0.5",
"fuse.js": "6.6.2",
"html2canvas": "1.4.1",
"js-beautify": "1.14.11",
"js-cookie": "3.0.5",
"jsencrypt": "3.3.2",
"nprogress": "0.2.0",
"pinia": "3.0.2",
"qrcode": "^1.5.4",
"sortablejs": "^1.15.6",
"splitpanes": "4.0.4",
"vue": "3.5.16",
......@@ -42,6 +44,7 @@
"vuedraggable": "4.1.0"
},
"devDependencies": {
"@types/qrcode": "^1.5.6",
"@vitejs/plugin-vue": "5.2.4",
"autoprefixer": "^10.4.23",
"postcss": "^8.5.6",
......
......@@ -58,4 +58,98 @@ export function getMaterialInventoryDetail(query) {
method: 'get',
params: query
})
}
/**
* 综合统计接口:一次性获取所有统计数据
* 包括:总库存、物资种类、今日出入库、各类占比、趋势等
* @returns {*}
*/
export function getAllStatistics () {
return request({
url: '/ware/wmsInventory/getAllStatistics',
method: 'get'
})
}
/**
* 统计接口1:获取总库存数量
* @returns {*}
*/
export function getTotalQuantity () {
return request({
url: '/ware/wmsInventory/getTotalQuantity',
method: 'get'
})
}
/**
* 统计接口2:获取非零物资种类数量
*/
export function getNonZeroMaterialCount () {
return request({
url: '/ware/wmsInventory/getNonZeroMaterialCount',
method: 'get'
})
}
/**
* 统计接口3:获取今日入库数量
*/
export function getTodayInbound () {
return request({
url: '/ware/wmsInventory/getTodayInbound',
method: 'get'
})
}
/**
* 统计接口4:获取今日出库数量
*/
export function getToday0utBound () {
return request({
url: '/ware/wmsInventory/getToday0utbound',
method: 'get'
})
}
/**
* 统计接口5 获取物资分类占比,用于前端饼图展示
*/
export function getCategoryProportion () {
return request({
url: '/ware/wmsInventory/getCategoryProportion',
method: 'get'
})
}
/**
* 统计接口6:获取各仓库库区物资占比,用于前端饼图展示
*/
export function getWarehouseAreaProportion () {
return request({
url: '/ware/wmsInventory/getWarehouseAreaProportion',
method: 'get'
})
}
/**
* 统计接口7:获取各仓库各库区库位物资占比,用于前饼图展示
*/
export function getLocationProportion () {
return request({
url: '/ware/wmsInventory/getLocationProportion',
method: 'get'
})
}
/**
* 统计接口8:获取指定天数的出入库趋势数据,用于前端折线图展示
*/
export function getTrendData () {
return request({
url: '/ware/wmsInventory/getTrendData',
method: 'get'
})
}
\ No newline at end of file
......@@ -81,4 +81,8 @@ app.use(ElementPlus, {
size: Cookies.get('size') || 'default'
})
app.mount('#app')
app.mount('#app');
export {
app
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment