|
|
@ -31,6 +31,16 @@ export const getSupplierinvoiceRecordMainPage = async (params) => { |
|
|
|
return await request.get({ url: `/wms/supplierinvoice-record-main/page`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
// 查询供应商发票记录主列表
|
|
|
|
export const getSupplierinvoiceRecordMainPageDiscrete = async (params) => { |
|
|
|
if (params.isSearch) { |
|
|
|
delete params.isSearch |
|
|
|
const data = {...params} |
|
|
|
return await request.post({ url: '/wms/supplierinvoice-record-main/seniorDiscrete', data }) |
|
|
|
} else { |
|
|
|
return await request.get({ url: `/wms/supplierinvoice-record-main/pageDiscrete`, params }) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
// 查询供应商发票记录主详情
|
|
|
|
export const getSupplierinvoiceRecordMain = async (id: number) => { |
|
|
|