Browse Source

HL-5809

hella_online_20240904
yufei_wang 3 months ago
parent
commit
c081cffc2c
  1. 6
      src/api/wms/balance/index.ts
  2. 4
      src/views/wms/inventoryManage/balanceSummary/index.vue

6
src/api/wms/balance/index.ts

@ -55,7 +55,7 @@ export const getBalancePageAll = async (params) => {
// 查询库存汇总列表
export const getBalanceSummaryPageAll = async (params) => {
return await request.get({ url: `/wms/balance/pageAll`, params })
return await request.get({ url: `/wms/balance/totalBalanceTree`, params })
}
// 查询库存余额列表
export const getBalancePageReturn= async (params) => {
@ -157,8 +157,8 @@ export const exportBalance = async (params) => {
}
// 导出库存汇总 Excel
export const exportBalanceSummary = async (params) => {
return await request.download({ url: `/wms/balance/export-excel`, params })
export const exportTotalBalanceTree = async (params) => {
return await request.download({ url: `/wms/balance/exportTotalBalanceTree`, params })
}

4
src/views/wms/inventoryManage/balanceSummary/index.vue

@ -69,7 +69,7 @@ console.log('tableColumns',tableColumns)
const tableData= ref([])
const itemCode = ref('253.504-00')
const itemCode = ref('')
let defaultParams = {
level:0,
@ -85,7 +85,7 @@ const getList = async (params)=>{
/** 初始化 **/
onMounted(() => {
getList(defaultParams)
// getList(defaultParams)
})
const load = async ( row, treeNode,resolve) => {

Loading…
Cancel
Save