You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
64 lines
1.9 KiB
64 lines
1.9 KiB
2 years ago
|
import request from '@/config/axios'
|
||
|
|
||
|
export interface SupplierdeliverRequestMainVO {
|
||
|
ppNumber: string
|
||
|
asnNumber: string
|
||
|
supplierCode: string
|
||
|
contactName: string
|
||
|
contactPhone: string
|
||
|
contactEmail: string
|
||
|
fromWarehouseCode: string
|
||
|
toWarehouseCode: string
|
||
|
toDockCode: string
|
||
|
timeWindow: string
|
||
|
planArriveTime: Date
|
||
|
carrierCode: string
|
||
|
transferMode: string
|
||
|
vehiclePlateNumber: string
|
||
|
number: string
|
||
|
businessType: string
|
||
|
remark: string
|
||
|
createTime: Date
|
||
|
creator: string
|
||
|
requestTime: Date
|
||
|
dueTime: Date
|
||
|
departmentCode: string
|
||
|
status: string
|
||
|
updateTime: Date
|
||
|
updater: string
|
||
|
autoCommit: string
|
||
|
autoAgree: string
|
||
|
autoExecute: string
|
||
|
directCreateRecord: string
|
||
|
}
|
||
|
|
||
|
// 查询供应商发货申请主列表
|
||
|
export const getSupplierdeliverRequestMainPage = async (params) => {
|
||
|
return await request.get({ url: `/wms/supplierdeliver-request-main/page`, params })
|
||
|
}
|
||
|
|
||
|
// 查询供应商发货申请主详情
|
||
|
export const getSupplierdeliverRequestMain = async (id: number) => {
|
||
|
return await request.get({ url: `/wms/supplierdeliver-request-main/get?id=` + id })
|
||
|
}
|
||
|
|
||
|
// 新增供应商发货申请主
|
||
|
export const createSupplierdeliverRequestMain = async (data: SupplierdeliverRequestMainVO) => {
|
||
|
return await request.post({ url: `/wms/supplierdeliver-request-main/create`, data })
|
||
|
}
|
||
|
|
||
|
// 修改供应商发货申请主
|
||
|
export const updateSupplierdeliverRequestMain = async (data: SupplierdeliverRequestMainVO) => {
|
||
|
return await request.put({ url: `/wms/supplierdeliver-request-main/update`, data })
|
||
|
}
|
||
|
|
||
|
// 删除供应商发货申请主
|
||
|
export const deleteSupplierdeliverRequestMain = async (id: number) => {
|
||
|
return await request.delete({ url: `/wms/supplierdeliver-request-main/delete?id=` + id })
|
||
|
}
|
||
|
|
||
|
// 导出供应商发货申请主 Excel
|
||
|
export const exportSupplierdeliverRequestMain = async (params) => {
|
||
|
return await request.download({ url: `/wms/supplierdeliver-request-main/export-excel`, params })
|
||
|
}
|