Browse Source

Merge branch 'master_hella' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into master_hella

master_hella_20240701
wangyufei 3 months ago
parent
commit
b6b6c0b55e
  1. 12
      src/api/wms/balance/index.ts
  2. 78
      src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts
  3. 2
      src/views/wms/inventoryManage/balance/index.vue

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

@ -41,6 +41,18 @@ export const getBalancePage = async (params) => {
return await request.get({ url: `/wms/balance/page`, params })
}
}
// 查询库存余额列表(包括已冻结,已失效的物料)
export const getBalancePageAll = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/balance/seniorAll', data })
} else {
return await request.get({ url: `/wms/balance/pageAll`, params })
}
}
// 查询库存余额列表
export const getBalancePageReturn= async (params) => {
if (params.isSearch) {

78
src/views/wms/countManage/count/countPlanMain/countPlanMain.data.ts

@ -83,45 +83,45 @@ export const CountPlanMain = useCrudSchemas(reactive<CrudSchema[]>([
}
}
},
{
label: '物料忽略名单',
field: 'ignoreListOfItem',
sort: 'custom',
table: {
width: 150
},
form: {
componentProps: {
isSearchList: true, // 开启查询弹窗
multiple:true,//是否可以多选
searchListPlaceholder: '请选择物料忽略名单', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '物料信息', // 查询弹窗标题
searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
searchPage: ItembasicApi.getItembasicPage // 查询弹窗所需分页方法
}
}
},
{
label: '库位忽略名单',
field: 'ignoreListOfLocation',
sort: 'custom',
table: {
width: 150
},
form: {
componentProps: {
isSearchList: true, // 开启查询弹窗
multiple:true,//是否可以多选
searchListPlaceholder: '请选择库位忽略名单', // 输入框占位文本
searchField: 'code', // 查询弹窗赋值字段
searchTitle: '库位信息', // 查询弹窗标题
searchAllSchemas: Location.allSchemas, // 查询弹窗所需类
searchPage: LocationApi.getLocationPage // 查询弹窗所需分页方法
}
}
},
// {
// label: '物料忽略名单',
// field: 'ignoreListOfItem',
// sort: 'custom',
// table: {
// width: 150
// },
// form: {
// componentProps: {
// isSearchList: true, // 开启查询弹窗
// multiple:true,//是否可以多选
// searchListPlaceholder: '请选择物料忽略名单', // 输入框占位文本
// searchField: 'code', // 查询弹窗赋值字段
// searchTitle: '物料信息', // 查询弹窗标题
// searchAllSchemas: Itembasic.allSchemas, // 查询弹窗所需类
// searchPage: ItembasicApi.getItembasicPage // 查询弹窗所需分页方法
// }
// }
// },
// {
// label: '库位忽略名单',
// field: 'ignoreListOfLocation',
// sort: 'custom',
// table: {
// width: 150
// },
// form: {
// componentProps: {
// isSearchList: true, // 开启查询弹窗
// multiple:true,//是否可以多选
// searchListPlaceholder: '请选择库位忽略名单', // 输入框占位文本
// searchField: 'code', // 查询弹窗赋值字段
// searchTitle: '库位信息', // 查询弹窗标题
// searchAllSchemas: Location.allSchemas, // 查询弹窗所需类
// searchPage: LocationApi.getLocationPage // 查询弹窗所需分页方法
//
// }
// }
// },
// {
// label: '盘点范围列表',
// field: 'scopeList',

2
src/views/wms/inventoryManage/balance/index.vue

@ -88,7 +88,7 @@ const updataTableColumns = (val) => {
}
const { tableObject, tableMethods } = useTable({
getListApi: BalanceApi.getBalancePage //
getListApi: BalanceApi.getBalancePageAll //
})
//

Loading…
Cancel
Save