diff --git a/src/api/wms/settlementReport/index.ts b/src/api/wms/settlementReport/index.ts new file mode 100644 index 000000000..814df0978 --- /dev/null +++ b/src/api/wms/settlementReport/index.ts @@ -0,0 +1,80 @@ +import request from '@/config/axios' + +export interface SettlementConfigurationVO { + id: number + supplierCode: string + itemCode: string + fromWarehouseCode: string + toWarehouseCode: string + remark: string + concurrencyStamp: number +} + +// 查询上线结算配置列表 +export const getSettlementReportPage = async (params) => { + // if (params.isSearch) { + // delete params.isSearch + // const data = {...params} + // return await request.post({ url: '/wms/onlinesettlement-info/settlementInfoReport/senior', data }) + // } else { + return await request.get({ url: `/wms/onlinesettlement-info/settlementInfoReport`, params }) + // } +} + + +// 查询上线结算配置列表 +export const getSettlementReportBalance = async (params) => { + // if (params.isSearch) { + // delete params.isSearch + // const data = {...params} + // return await request.post({ url: '/wms/onlinesettlement-info/settlementInfoReport/senior', data }) + // } else { + return await request.get({ url: `/wms/onlinesettlement-info/settlementInfoReportBalance`, params }) + // } +} + + +// 批量结算 +export const submitSettlementReport = async (data) => { + // if (params.isSearch) { + // delete params.isSearch + // const data = {...params} + // return await request.post({ url: '/wms/onlinesettlement-info/settlementInfoReport/senior', data }) + // } else { + return await request.post({ url: `/wms/onlinesettlement-info/settlementInfoSubmit`, data }) + // } +} + +// // 查询上线结算配置详情 +// export const getSettlementConfiguration = async (id: number) => { +// return await request.get({ url: `/wms/settlement-configuration/get?id=` + id }) +// } + +// export const editSettlementConfiguration = async (id: number) => { +// return await request.get({ url: `/wms/settlement-configuration/editView?id=` + id }) +// } + +// // 新增上线结算配置 +// export const createSettlementConfiguration = async (data: SettlementConfigurationVO) => { +// return await request.post({ url: `/wms/settlement-configuration/create`, data }) +// } + +// // 修改上线结算配置 +// export const updateSettlementConfiguration = async (data: SettlementConfigurationVO) => { +// return await request.put({ url: `/wms/settlement-configuration/update`, data }) +// } + +// // 删除上线结算配置 +// export const deleteSettlementConfiguration = async (id: number) => { +// return await request.delete({ url: `/wms/settlement-configuration/delete?id=` + id }) +// } + +// // 导出上线结算配置 Excel +// export const exportSettlementConfiguration = async (params) => { +// return await request.download({ url: `/wms/settlement-configuration/export-excel`, params }) +// } + +// // 下载用户导入模板 +// export const importTemplate = () => { +// return request.download({ url: '/wms/settlement-configuration/get-import-template' }) +// } \ No newline at end of file diff --git a/src/components/SearchTable/src/SearchTable.vue b/src/components/SearchTable/src/SearchTable.vue index 0483631d5..361244e15 100644 --- a/src/components/SearchTable/src/SearchTable.vue +++ b/src/components/SearchTable/src/SearchTable.vue @@ -37,10 +37,11 @@ />