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.
77 lines
2.3 KiB
77 lines
2.3 KiB
7 months ago
|
import request from '@/config/axios'
|
||
|
|
||
|
export interface CustomerStatementDetailVO {
|
||
|
id: number
|
||
|
number: string
|
||
|
masterId: number
|
||
|
invoiceType: string
|
||
|
releaseNumber: string
|
||
|
ingress: string
|
||
|
ingress2: string
|
||
|
itemCode: string
|
||
|
articleNumber: string
|
||
|
articleName: string
|
||
|
backNumber: string
|
||
|
checkTime: Date
|
||
|
uom: string
|
||
|
qty: number
|
||
|
price: number
|
||
|
amount: number
|
||
|
allocationPrice: number
|
||
|
tftmQuantity: number
|
||
|
intexQuantity: number
|
||
|
quantityVariance: number
|
||
|
tftmPrice: number
|
||
|
intexPrice: number
|
||
|
priceVariance: number
|
||
|
tftmAmount: number
|
||
|
intexAmount: number
|
||
|
amountVariance: number
|
||
|
dischargingTime: Date
|
||
|
acceptCheckTime: Date
|
||
|
remark: string
|
||
|
available: string
|
||
|
siteId: string
|
||
|
concurrencyStamp: string
|
||
|
}
|
||
|
|
||
|
// 查询客户对账单子信息表(WMS)列表
|
||
|
export const getCustomerStatementDetailPage = async (params) => {
|
||
|
if (params.isSearch) {
|
||
|
delete params.isSearch
|
||
|
const data = {...params}
|
||
|
return await request.post({ url: '/wms/customer-statement-detail/senior', data })
|
||
|
} else {
|
||
|
return await request.get({ url: `/wms/customer-statement-detail/page`, params })
|
||
|
}
|
||
|
}
|
||
|
|
||
|
// 查询客户对账单子信息表(WMS)详情
|
||
|
export const getCustomerStatementDetail = async (id: number) => {
|
||
|
return await request.get({ url: `/wms/customer-statement-detail/get?id=` + id })
|
||
|
}
|
||
|
|
||
|
// 新增客户对账单子信息表(WMS)
|
||
|
export const createCustomerStatementDetail = async (data: CustomerStatementDetailVO) => {
|
||
|
return await request.post({ url: `/wms/customer-statement-detail/create`, data })
|
||
|
}
|
||
|
|
||
|
// 修改客户对账单子信息表(WMS)
|
||
|
export const updateCustomerStatementDetail = async (data: CustomerStatementDetailVO) => {
|
||
|
return await request.put({ url: `/wms/customer-statement-detail/update`, data })
|
||
|
}
|
||
|
|
||
|
// 删除客户对账单子信息表(WMS)
|
||
|
export const deleteCustomerStatementDetail = async (id: number) => {
|
||
|
return await request.delete({ url: `/wms/customer-statement-detail/delete?id=` + id })
|
||
|
}
|
||
|
|
||
|
// 导出客户对账单子信息表(WMS) Excel
|
||
|
export const exportCustomerStatementDetail = async (params) => {
|
||
|
return await request.download({ url: `/wms/customer-statement-detail/export-excel`, params })
|
||
|
}
|
||
|
|
||
|
// 下载用户导入模板
|
||
|
export const importTemplate = () => {
|
||
|
return request.download({ url: '/wms/customer-statement-detail/get-import-template' })
|
||
|
}
|