新增成本核算及即时库存

This commit is contained in:
‘937886381’
2024-07-26 10:47:36 +08:00
parent f5f472854b
commit 7e9f89fdda
16 changed files with 688 additions and 1096 deletions

View File

@@ -1,32 +1,24 @@
/*
* @Author: zhp
* @Date: 2024-04-26 14:53:45
* @LastEditTime: 2024-05-06 14:55:33
* @LastEditTime: 2024-07-26 09:32:26
* @LastEditors: zhp
* @Description:
*/
import request from '@/utils/request'
// 查询部门列表
export function getOrderList(data) {
export function getCostMainPage(data) {
return request({
url: 'ip/prod-order/prodOrderList',
method: 'post',
data: data
})
}
export function getCostPage(data) {
return request({
url: 'ip/cost/costPage',
url: 'ip/cost-main/page',
method: 'post',
data: data
})
}
export function getCostList(data) {
export function exportExcel(data) {
return request({
url: 'ip/cost/costList',
url: 'ip/cost-main/export-excel',
method: 'post',
data: data
data: data,
responseType: 'blob'
})
}

View File

@@ -1,15 +1,24 @@
/*
* @Author: zhp
* @Date: 2024-04-28 09:28:12
* @LastEditTime: 2024-04-28 15:52:36
* @LastEditTime: 2024-07-25 15:05:43
* @LastEditors: zhp
* @Description:
*/
import request from '@/utils/request'
export function getStockPage(data) {
export function getStockRealTimePage(data) {
return request({
url: 'ip/stock/page',
url: 'ip/stock-realtime/page',
method: 'post',
data: data
})
}
export function exportExcel(data) {
return request({
url: '/ip/stock-realtime/export-excel',
method: 'get',
data: data,
responseType: 'blob'
})
}