From d535b0ae50e2ffd5ace2662e119331a8de616175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Wed, 25 Oct 2023 15:38:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E5=8F=91=E8=B4=A7?= =?UTF-8?q?=E8=AE=B0=E5=BD=95API?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wms/supplierdeliverRecordDetail/index.ts | 71 +++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 src/api/wms/supplierdeliverRecordDetail/index.ts diff --git a/src/api/wms/supplierdeliverRecordDetail/index.ts b/src/api/wms/supplierdeliverRecordDetail/index.ts new file mode 100644 index 000000000..2d488a2a5 --- /dev/null +++ b/src/api/wms/supplierdeliverRecordDetail/index.ts @@ -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 }) +}