Browse Source

采购离散订单查看--查询

hella_online_20241011
yufei_wang 2 months ago
parent
commit
d4597891bb
  1. 10
      src/api/wms/supplierinvoiceRecordMain/index.ts
  2. 2
      src/views/wms/supplierManage/purchaseDiscreteOrder/purchaseDiscreteOrderMain/index.vue

10
src/api/wms/supplierinvoiceRecordMain/index.ts

@ -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) => {

2
src/views/wms/supplierManage/purchaseDiscreteOrder/purchaseDiscreteOrderMain/index.vue

@ -191,7 +191,7 @@
}
const { tableObject, tableMethods } = useTable({
getListApi: SupplierinvoiceRecordMainApi.getSupplierinvoiceRecordMainPage //
getListApi: SupplierinvoiceRecordMainApi.getSupplierinvoiceRecordMainPageDiscrete //
})
tableObject.params.isLS = 1

Loading…
Cancel
Save