陈薪名
1 year ago
1 changed files with 71 additions and 0 deletions
@ -0,0 +1,71 @@ |
|||
import request from '@/config/axios' |
|||
|
|||
export interface SupplierdeliverRecordDetailVO { |
|||
fromPackingNumber: string |
|||
toPackingNumber: string |
|||
fromBatch: string |
|||
altBatch: string |
|||
fromContainerNumber: string |
|||
toContainerNumber: string |
|||
arriveDate: Date |
|||
produceDate: Date |
|||
expireDate: Date |
|||
poNumber: string |
|||
poLine: string |
|||
stdPackQty: number |
|||
stdPackUnit: string |
|||
supplierQty: number |
|||
supplierUom: string |
|||
convertRate: number |
|||
fromLocationCode: string |
|||
toLocationCode: string |
|||
fromLocationGroupCode: string |
|||
toLocationGroupCode: string |
|||
fromAreaCode: string |
|||
toAreaCode: string |
|||
fromOwnerCode: string |
|||
toOwnerCode: string |
|||
projectCode: string |
|||
itemCode: string |
|||
itemName: string |
|||
itemDesc1: string |
|||
itemDesc2: string |
|||
qty: number |
|||
uom: string |
|||
number: string |
|||
remark: string |
|||
createTime: Date |
|||
creator: string |
|||
jobDetailId: string |
|||
toBatch: string |
|||
} |
|||
|
|||
// 查询供应商发货记录子列表
|
|||
export const getSupplierdeliverRecordDetailPage = async (params) => { |
|||
return await request.get({ url: `/wms/supplierdeliver-record-detail/page`, params }) |
|||
} |
|||
|
|||
// 查询供应商发货记录子详情
|
|||
export const getSupplierdeliverRecordDetail = async (id: number) => { |
|||
return await request.get({ url: `/wms/supplierdeliver-record-detail/get?id=` + id }) |
|||
} |
|||
|
|||
// 新增供应商发货记录子
|
|||
export const createSupplierdeliverRecordDetail = async (data: SupplierdeliverRecordDetailVO) => { |
|||
return await request.post({ url: `/wms/supplierdeliver-record-detail/create`, data }) |
|||
} |
|||
|
|||
// 修改供应商发货记录子
|
|||
export const updateSupplierdeliverRecordDetail = async (data: SupplierdeliverRecordDetailVO) => { |
|||
return await request.put({ url: `/wms/supplierdeliver-record-detail/update`, data }) |
|||
} |
|||
|
|||
// 删除供应商发货记录子
|
|||
export const deleteSupplierdeliverRecordDetail = async (id: number) => { |
|||
return await request.delete({ url: `/wms/supplierdeliver-record-detail/delete?id=` + id }) |
|||
} |
|||
|
|||
// 导出供应商发货记录子 Excel
|
|||
export const exportSupplierdeliverRecordDetail = async (params) => { |
|||
return await request.download({ url: `/wms/supplierdeliver-record-detail/export-excel`, params }) |
|||
} |
Loading…
Reference in new issue