Browse Source

WMS代码删除

master
yejiaxing 10 months ago
parent
commit
3f16dc09b8
  1. 60
      src/api/wms/accountcalendar/index.ts
  2. 63
      src/api/wms/areabasic/index.ts
  3. 66
      src/api/wms/backflushRecordDetailb/index.ts
  4. 60
      src/api/wms/backflushRequestDetailb/index.ts
  5. 114
      src/api/wms/balance/index.ts
  6. 56
      src/api/wms/barbasic/index.ts
  7. 59
      src/api/wms/barcode/index.ts
  8. 61
      src/api/wms/bom/index.ts
  9. 26
      src/api/wms/bomDismantle/index.ts
  10. 65
      src/api/wms/businesstype/index.ts
  11. 68
      src/api/wms/carrier/index.ts
  12. 56
      src/api/wms/condition/index.ts
  13. 56
      src/api/wms/configuration/index.ts
  14. 58
      src/api/wms/configurationsetting/index.ts
  15. 63
      src/api/wms/consumeRecordDetailb/index.ts
  16. 61
      src/api/wms/consumereRequestDetailb/index.ts
  17. 57
      src/api/wms/containerBindRecordDetail/index.ts
  18. 69
      src/api/wms/containerBindRecordMain/index.ts
  19. 52
      src/api/wms/containerDetail/index.ts
  20. 55
      src/api/wms/containerInitRecordDetail/index.ts
  21. 68
      src/api/wms/containerInitRecordMain/index.ts
  22. 61
      src/api/wms/containerMain/index.ts
  23. 53
      src/api/wms/containerRepairRecordDetail/index.ts
  24. 69
      src/api/wms/containerRepairRecordMain/index.ts
  25. 57
      src/api/wms/containerUnbindRecordDetail/index.ts
  26. 69
      src/api/wms/containerUnbindRecordMain/index.ts
  27. 62
      src/api/wms/countJobDetail/index.ts
  28. 87
      src/api/wms/countJobMain/index.ts
  29. 52
      src/api/wms/countPlanDetail/index.ts
  30. 104
      src/api/wms/countPlanMain/index.ts
  31. 72
      src/api/wms/countRecordDetail/index.ts
  32. 70
      src/api/wms/countRecordMain/index.ts
  33. 67
      src/api/wms/countRequestDetail/index.ts
  34. 112
      src/api/wms/countRequestMain/index.ts
  35. 69
      src/api/wms/countadjustRecordDetail/index.ts
  36. 63
      src/api/wms/countadjustRecordMain/index.ts
  37. 68
      src/api/wms/countadjustRequestDetail/index.ts
  38. 93
      src/api/wms/countadjustRequestMain/index.ts
  39. 57
      src/api/wms/currencyexchange/index.ts
  40. 71
      src/api/wms/customer/index.ts
  41. 64
      src/api/wms/customerdock/index.ts
  42. 64
      src/api/wms/customeritem/index.ts
  43. 78
      src/api/wms/customerreceiptRecordDetail/index.ts
  44. 74
      src/api/wms/customerreceiptRecordMain/index.ts
  45. 68
      src/api/wms/customerreceiptRequestDetail/index.ts
  46. 98
      src/api/wms/customerreceiptRequestMain/index.ts
  47. 65
      src/api/wms/customerreturnJobDetail/index.ts
  48. 115
      src/api/wms/customerreturnJobMain/index.ts
  49. 78
      src/api/wms/customerreturnRecordDetail/index.ts
  50. 76
      src/api/wms/customerreturnRecordMain/index.ts
  51. 67
      src/api/wms/customerreturnRequestDetail/index.ts
  52. 110
      src/api/wms/customerreturnRequestMain/index.ts
  53. 71
      src/api/wms/customersettleRecordDetail/index.ts
  54. 67
      src/api/wms/customersettleRecordMain/index.ts
  55. 65
      src/api/wms/customersettleRequestDetail/index.ts
  56. 96
      src/api/wms/customersettleRequestMain/index.ts
  57. 65
      src/api/wms/deliverJobDetail/index.ts
  58. 115
      src/api/wms/deliverJobMain/index.ts
  59. 53
      src/api/wms/deliverPlanDetail/index.ts
  60. 93
      src/api/wms/deliverPlanMain/index.ts
  61. 76
      src/api/wms/deliverRecordDetail/index.ts
  62. 76
      src/api/wms/deliverRecordMain/index.ts
  63. 67
      src/api/wms/deliverRequestDetail/index.ts
  64. 103
      src/api/wms/deliverRequestMain/index.ts
  65. 46
      src/api/wms/demandforecastingDetail/index.ts
  66. 59
      src/api/wms/demandforecastingMain/index.ts
  67. 35
      src/api/wms/detail/index.ts
  68. 66
      src/api/wms/dismantleRecordDetailb/index.ts
  69. 61
      src/api/wms/dismantleRequestDetailb/index.ts
  70. 67
      src/api/wms/dock/index.ts
  71. 60
      src/api/wms/documentsetting/index.ts
  72. 64
      src/api/wms/enterprise/index.ts
  73. 55
      src/api/wms/expectin/index.ts
  74. 56
      src/api/wms/expectout/index.ts
  75. 12
      src/api/wms/file/index.ts
  76. 0
      src/api/wms/index.ts
  77. 60
      src/api/wms/inspectJobDetail/index.ts
  78. 96
      src/api/wms/inspectJobMain/index.ts
  79. 76
      src/api/wms/inspectRecordDetail/index.ts
  80. 82
      src/api/wms/inspectRecordMain/index.ts
  81. 58
      src/api/wms/inspectRequestDetail/index.ts
  82. 106
      src/api/wms/inspectRequestMain/index.ts
  83. 82
      src/api/wms/inventorychangeRecordDetail/index.ts
  84. 62
      src/api/wms/inventorychangeRecordMain/index.ts
  85. 81
      src/api/wms/inventorychangeRequestDetail/index.ts
  86. 91
      src/api/wms/inventorychangeRequestMain/index.ts
  87. 75
      src/api/wms/inventoryinitRecordDetail/index.ts
  88. 67
      src/api/wms/inventoryinitRecordMain/index.ts
  89. 72
      src/api/wms/inventoryinitRequestDetail/index.ts
  90. 94
      src/api/wms/inventoryinitRequestMain/index.ts
  91. 66
      src/api/wms/inventorymoveJobDetail/index.ts
  92. 103
      src/api/wms/inventorymoveJobMain/index.ts
  93. 76
      src/api/wms/inventorymoveRecordDetail/index.ts
  94. 69
      src/api/wms/inventorymoveRecordMain/index.ts
  95. 70
      src/api/wms/inventorymoveRequestDetail/index.ts
  96. 97
      src/api/wms/inventorymoveRequestMain/index.ts
  97. 71
      src/api/wms/issueJobDetail/index.ts
  98. 110
      src/api/wms/issueJobMain/index.ts
  99. 77
      src/api/wms/issueRecordDetail/index.ts
  100. 75
      src/api/wms/issueRecordMain/index.ts

60
src/api/wms/accountcalendar/index.ts

@ -1,60 +0,0 @@
import request from '@/config/axios'
export interface AccountcalendarVO {
year: string
month: string
descriiption: string
beginTime: Date
endTime: Date
converttotime: Date
available: number
activeTime: Date
expireTime: Date
remark: string
}
// 查询账期日历列表
export const getAccountcalendarPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/accountcalendar/senior', data })
} else {
return await request.get({ url: `/wms/accountcalendar/page`, params })
}
}
// 查询账期日历详情
export const getAccountcalendar = async (id: number) => {
return await request.get({ url: `/wms/accountcalendar/get?id=` + id })
}
// 新增账期日历
export const createAccountcalendar = async (data: AccountcalendarVO) => {
return await request.post({ url: `/wms/accountcalendar/create`, data })
}
// 修改账期日历
export const updateAccountcalendar = async (data: AccountcalendarVO) => {
return await request.put({ url: `/wms/accountcalendar/update`, data })
}
// 删除账期日历
export const deleteAccountcalendar = async (id: number) => {
return await request.delete({ url: `/wms/accountcalendar/delete?id=` + id })
}
// 导出账期日历 Excel
export const exportAccountcalendar = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/accountcalendar/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/accountcalendar/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/accountcalendar/get-import-template' })
}

63
src/api/wms/areabasic/index.ts

@ -1,63 +0,0 @@
import request from '@/config/axios'
export interface AreaVO {
code: string
name: string
description: string
warehouseCode: string
type: string
isFunctional: number
available: number
activeTime: Date
expireTime: Date
remark: string
}
// 查询库区列表
export const getAreaPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/areabasic/senior', data })
} else {
return await request.get({ url: `/wms/areabasic/page`, params })
}
}
// 查询库区列表
export const getAreaList = async (params) => {
return await request.get({ url: `/wms/areabasic/list`, params })
}
// 查询库区详情
export const getArea = async (id: number) => {
return await request.get({ url: `/wms/areabasic/get?id=` + id })
}
// 新增库区
export const createArea = async (data: AreaVO) => {
return await request.post({ url: `/wms/areabasic/create`, data })
}
// 修改库区
export const updateArea = async (data: AreaVO) => {
return await request.put({ url: `/wms/areabasic/update`, data })
}
// 删除库区
export const deleteArea = async (id: number) => {
return await request.delete({ url: `/wms/areabasic/delete?id=` + id })
}
// 导出库区 Excel
export const exportArea = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/areabasic/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/areabasic/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/areabasic/get-import-template' })
}

66
src/api/wms/backflushRecordDetailb/index.ts

@ -1,66 +0,0 @@
import request from '@/config/axios'
export interface BackflushRecordDetailbVO {
processCode: string
bomVersion: string
packingNumber: string
batch: string
inventoryStatus: string
fromLocationCode: string
fromLocationGroupCode: string
fromAreaCode: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
uom: string
number: string
itemCode: string
remark: string
createTime: Date
creator: string
code: string
interfaceType: string
jobDetailId: string
}
// 查询制品收货记录子列表
export const getBackflushRecordDetailbPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/backflush-record-detailb/senior', data })
} else {
return await request.get({ url: `/wms/backflush-record-detailb/page`, params })
}
}
// 查询制品收货记录子详情
export const getBackflushRecordDetailb = async (id: number) => {
return await request.get({ url: `/wms/backflush-record-detailb/get?id=` + id })
}
// 新增制品收货记录子
export const createBackflushRecordDetailb = async (data: BackflushRecordDetailbVO) => {
return await request.post({ url: `/wms/backflush-record-detailb/create`, data })
}
// 修改制品收货记录子
export const updateBackflushRecordDetailb = async (data: BackflushRecordDetailbVO) => {
return await request.put({ url: `/wms/backflush-record-detailb/update`, data })
}
// 删除制品收货记录子
export const deleteBackflushRecordDetailb = async (id: number) => {
return await request.delete({ url: `/wms/backflush-record-detailb/delete?id=` + id })
}
// 导出制品收货记录子 Excel
export const exportBackflushRecordDetailb = async (params) => {
return await request.download({ url: `/wms/backflush-record-detailb/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/backflush-record-detailb/get-import-template' })
}

60
src/api/wms/backflushRequestDetailb/index.ts

@ -1,60 +0,0 @@
import request from '@/config/axios'
export interface BackflushRequestDetailbVO {
processCode: string
bomVersion: string
itemCode: string
number: string
remark: string
createTime: Date
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
updateTime: Date
updater: string
creator: string
}
// 查询制品收货申请子列表
export const getBackflushRequestDetailbPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/backflush-request-detailb/senior', data })
} else {
return await request.get({ url: `/wms/backflush-request-detailb/page`, params })
}
}
// 查询制品收货申请子详情
export const getBackflushRequestDetailb = async (id: number) => {
return await request.get({ url: `/wms/backflush-request-detailb/get?id=` + id })
}
// 新增制品收货申请子
export const createBackflushRequestDetailb = async (data: BackflushRequestDetailbVO) => {
return await request.post({ url: `/wms/backflush-request-detailb/create`, data })
}
// 修改制品收货申请子
export const updateBackflushRequestDetailb = async (data: BackflushRequestDetailbVO) => {
return await request.put({ url: `/wms/backflush-request-detailb/update`, data })
}
// 删除制品收货申请子
export const deleteBackflushRequestDetailb = async (id: number) => {
return await request.delete({ url: `/wms/backflush-request-detailb/delete?id=` + id })
}
// 导出制品收货申请子 Excel
export const exportBackflushRequestDetailb = async (params) => {
return await request.download({ url: `/wms/backflush-request-detailb/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/backflush-request-detailb/get-import-template' })
}

114
src/api/wms/balance/index.ts

@ -1,114 +0,0 @@
import request from '@/config/axios'
export interface BalanceVO {
packingNumber: string
containerNumber: string
itemCode: string
batch: string
altBatch: string
arriveDate: Date
produceDate: Date
expireDate: Date
inventoryStatus: string
locationCode: string
locationGroupCode: string
areaCode: string
warehouseCode: string
erpLocationCode: string
ownerCode: string
uom: string
qty: number
lockedQty: number
usableQty: number
singlePrice: number
amount: number
putInTime: Date
frozen: string
frozenReason: string
lastTransNumber: string
weight: number
area: number
volume: number
}
// 查询库存余额列表
export const getBalancePage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/balance/senior', data })
} else {
return await request.get({ url: `/wms/balance/page`, params })
}
}
// 查询库存余额列表
export const getBalancePageReturn= async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/balance/senior', data })
} else {
return await request.get({ url: `/wms/balance/pageReturn`, params })
}
}
// 查询库存余额列表
export const getBalancePagePutaway= async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/balance/senior', data })
} else {
return await request.get({ url: `/wms/balance/pagePutaway`, params })
}
}
// 查询库存余额列表增加物品筛选条件
export const getBalanceItemPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/balance/seniorItems', data })
} else {
return await request.get({ url: `/wms/balance/pageItems`, params })
}
}
// 查询库存余额详情
export const getBalance = async (id: number) => {
return await request.get({ url: `/wms/balance/get?id=` + id })
}
// 新增库存余额
export const createBalance = async (data: BalanceVO) => {
return await request.post({ url: `/wms/balance/create`, data })
}
// 修改库存余额
export const updateBalance = async (data: BalanceVO) => {
return await request.put({ url: `/wms/balance/update`, data })
}
// 删除库存余额
export const deleteBalance = async (id: number) => {
return await request.delete({ url: `/wms/balance/delete?id=` + id })
}
// 导出库存余额 Excel
export const exportBalance = async (params) => {
return await request.download({ url: `/wms/balance/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/balance/get-import-template' })
}
// 获得库位代码筛选出的库存余额分页
export const selectLocationTypeToBalance = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/balance/pageLocationCodeToBalanceSenior', data })
} else {
return request.get({ url: '/wms/balance/pageLocationCodeToBalance', params})
}
}

56
src/api/wms/barbasic/index.ts

@ -1,56 +0,0 @@
import request from '@/config/axios'
export interface BarbasicVO {
id: number
number: string
type: string
template: string
status: string
relateNumber: string
barcodeString: string
printTimes: number
lastPrintTime: string
lastPrintUserId: string
lastPrintUserName: string
}
// 查询条码实体基类列表
export const getBarbasicPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/barbasic/senior', data })
} else {
return await request.get({ url: `/wms/barbasic/page`, params })
}
}
// 查询条码实体基类详情
export const getBarbasic = async (id: number) => {
return await request.get({ url: `/wms/barbasic/get?id=` + id })
}
// 新增条码实体基类
export const createBarbasic = async (data: BarbasicVO) => {
return await request.post({ url: `/wms/barbasic/create`, data })
}
// 修改条码实体基类
export const updateBarbasic = async (data: BarbasicVO) => {
return await request.put({ url: `/wms/barbasic/update`, data })
}
// 删除条码实体基类
export const deleteBarbasic = async (id: number) => {
return await request.delete({ url: `/wms/barbasic/delete?id=` + id })
}
// 导出条码实体基类 Excel
export const exportBarbasic = async (params) => {
return await request.download({ url: `/wms/barbasic/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/barbasic/get-import-template' })
}

59
src/api/wms/barcode/index.ts

@ -1,59 +0,0 @@
import request from '@/config/axios'
export interface BarcodeVO {
id: number
code: string
name: string
description: string
order: number
length: number
prefixLenght: number
prefixChar: string
entityProperties: string
encyptMethod: string
masterId: number
trimEnd: string
isEncypt: string,
labelType: string,
}
// 查询条码片段列表
export const getBarcodePage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/label/barcode/senior', data })
} else {
return await request.get({ url: `/label/barcode/page`, params })
}
}
// 查询条码片段详情
export const getBarcode = async (id: number) => {
return await request.get({ url: `/label/barcode/get?id=` + id })
}
// 新增条码片段
export const createBarcode = async (data: BarcodeVO) => {
return await request.post({ url: `/label/barcode/create`, data })
}
// 修改条码片段
export const updateBarcode = async (data: BarcodeVO) => {
return await request.put({ url: `/label/barcode/update`, data })
}
// 删除条码片段
export const deleteBarcode = async (id: number) => {
return await request.delete({ url: `/label/barcode/delete?id=` + id })
}
// 导出条码片段 Excel
export const exportBarcode = async (params) => {
return await request.download({ url: `/label/barcode/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/label/barcode/get-import-template' })
}

61
src/api/wms/bom/index.ts

@ -1,61 +0,0 @@
import request from '@/config/axios'
export interface BomVO {
productItemCode: string
componentItemCode: string
componentUom: string
componentQty: number
processCode: string
version: string
layer: number
available: number
activeTime: Date
expireTime: Date
remark: string
}
// 查询物料清单列表
export const getBomPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/bom/senior', data })
} else {
return await request.get({ url: `/wms/bom/page`, params })
}
}
// 查询物料清单详情
export const getBom = async (id: number) => {
return await request.get({ url: `/wms/bom/get?id=` + id })
}
// 新增物料清单
export const createBom = async (data: BomVO) => {
return await request.post({ url: `/wms/bom/create`, data })
}
// 修改物料清单
export const updateBom = async (data: BomVO) => {
return await request.put({ url: `/wms/bom/update`, data })
}
// 删除物料清单
export const deleteBom = async (id: number) => {
return await request.delete({ url: `/wms/bom/delete?id=` + id })
}
// 导出物料清单 Excel
export const exportBom = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/bom/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/bom/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/bom/get-import-template' })
}

26
src/api/wms/bomDismantle/index.ts

@ -1,26 +0,0 @@
import request from '@/config/axios'
// 查询制品返修申请子列表
export const getBomDismantlePage = async (params) => {
return await request.get({ url: `/wms/productrepair-request-main/bomPage`, params })
}
// 查询制品返修记录子列表
export const getBomDismantleRecordPage = async (params) => {
return await request.get({ url: `/wms/productrepair-record-main/bomPage`, params })
}
// 查询制品报废申请子列表
export const getProductscrapBomDismantlePage = async (params) => {
return await request.get({ url: `/wms/productscrap-request-main/bomPage`, params })
}
// 查询制品报废申请子列表
export const getProductscrapBomDismantleRecordPage = async (params) => {
return await request.get({ url: `/wms/productscrap-record-main/bomPage`, params })
}
// 查询制品拆解申请子列表
export const getDetailbBomDismantlePage = async (params) => {
return await request.get({ url: `/wms/dismantle-request-detailb/bomPage`, params })
}

65
src/api/wms/businesstype/index.ts

@ -1,65 +0,0 @@
import request from '@/config/axios'
export interface BusinesstypeVO {
code: string
name: string
description: string
itemTypes: string
itemStatuses: string
outLocationTypes: string
inLocationTypes: string
outAreaCodes: string
inAreaCodes: string
outInventoryStatuses: string
inInventoryStatuses: string
outTransactionType: string
inTransactionType: string
onTheWayArea: string
activeTime: Date
expireTime: Date
remark: string
useOnTheWay: string
available: string
isSoftDeleted: string
}
// 查询业务类型列表
export const getBusinesstypePage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/businesstype/senior', data })
} else {
return await request.get({ url: `/wms/businesstype/page`, params })
}
}
// 查询业务类型详情
export const getBusinesstype = async (id: number) => {
return await request.get({ url: `/wms/businesstype/get?id=` + id })
}
// 新增业务类型
export const createBusinesstype = async (data: BusinesstypeVO) => {
return await request.post({ url: `/wms/businesstype/create`, data })
}
// 修改业务类型
export const updateBusinesstype = async (data: BusinesstypeVO) => {
return await request.put({ url: `/wms/businesstype/update`, data })
}
// 删除业务类型
export const deleteBusinesstype = async (id: number) => {
return await request.delete({ url: `/wms/businesstype/delete?id=` + id })
}
// 导出业务类型 Excel
export const exportBusinesstype = async (params) => {
return await request.download({ url: `/wms/businesstype/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/businesstype/get-import-template' })
}

68
src/api/wms/carrier/index.ts

@ -1,68 +0,0 @@
import request from '@/config/axios'
export interface CarrierVO {
code: string
name: string
shortName: string
address: string
country: string
city: string
phone: string
fax: string
postId: string
contacts: string
bank: string
currency: string
taxRate: number
type: string
activeTime: Date
expireTime: Date
remark: string
available: string
}
// 查询承运商列表
export const getCarrierPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/carrier/senior', data })
} else {
return await request.get({ url: `/wms/carrier/page`, params })
}
}
// 查询承运商详情
export const getCarrier = async (id: number) => {
return await request.get({ url: `/wms/carrier/get?id=` + id })
}
// 新增承运商
export const createCarrier = async (data: CarrierVO) => {
return await request.post({ url: `/wms/carrier/create`, data })
}
// 修改承运商
export const updateCarrier = async (data: CarrierVO) => {
return await request.put({ url: `/wms/carrier/update`, data })
}
// 删除承运商
export const deleteCarrier = async (id: number) => {
return await request.delete({ url: `/wms/carrier/delete?id=` + id })
}
// 导出承运商 Excel
export const exportCarrier = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/carrier/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/carrier/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/carrier/get-import-template' })
}

56
src/api/wms/condition/index.ts

@ -1,56 +0,0 @@
import request from '@/config/axios'
export interface ConditionVO {
strategyCode: string
ruleCode: string
paramCode: string
operator: string
value: string
groupCode: string
}
// 查询条件列表
export const getConditionPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/condition/senior', data })
} else {
return await request.get({ url: `/wms/condition/page`, params })
}
}
// 查询条件详情
export const getCondition = async (id: number) => {
return await request.get({ url: `/wms/condition/get?id=` + id })
}
// 新增条件
export const createCondition = async (data: ConditionVO) => {
return await request.post({ url: `/wms/condition/create`, data })
}
// 修改条件
export const updateCondition = async (data: ConditionVO) => {
return await request.put({ url: `/wms/condition/update`, data })
}
// 删除条件
export const deleteCondition = async (id: number) => {
return await request.delete({ url: `/wms/condition/delete?id=` + id })
}
// 导出条件 Excel
export const exportCondition = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/condition/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/condition/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/condition/get-import-template' })
}

56
src/api/wms/configuration/index.ts

@ -1,56 +0,0 @@
import request from '@/config/axios'
export interface ConfigurationVO {
strategyCode: string
ruleCode: string
configurationCode: string
configurationValue: string
description: string
groupCode: string
}
// 查询配置列表
export const getConfigurationPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/configuration/senior', data })
} else {
return await request.get({ url: `/wms/configuration/page`, params })
}
}
// 查询配置详情
export const getConfiguration = async (id: number) => {
return await request.get({ url: `/wms/configuration/get?id=` + id })
}
// 新增配置
export const createConfiguration = async (data: ConfigurationVO) => {
return await request.post({ url: `/wms/configuration/create`, data })
}
// 修改配置
export const updateConfiguration = async (data: ConfigurationVO) => {
return await request.put({ url: `/wms/configuration/update`, data })
}
// 删除配置
export const deleteConfiguration = async (id: number) => {
return await request.delete({ url: `/wms/configuration/delete?id=` + id })
}
// 导出配置 Excel
export const exportConfiguration = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/configuration/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/configuration/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/configuration/get-import-template' })
}

58
src/api/wms/configurationsetting/index.ts

@ -1,58 +0,0 @@
import request from '@/config/axios'
export interface ConfigurationsettingVO {
strategyType: string
configurationCode: string
configurationName: string
dataType: string
valueScope: string
relatedTo: string
description: string
isRequired: string
}
// 查询配置设置列表
export const getConfigurationsettingPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/configurationsetting/senior', data })
} else {
return await request.get({ url: `/wms/configurationsetting/page`, params })
}
}
// 查询配置设置详情
export const getConfigurationsetting = async (id: number) => {
return await request.get({ url: `/wms/configurationsetting/get?id=` + id })
}
// 新增配置设置
export const createConfigurationsetting = async (data: ConfigurationsettingVO) => {
return await request.post({ url: `/wms/configurationsetting/create`, data })
}
// 修改配置设置
export const updateConfigurationsetting = async (data: ConfigurationsettingVO) => {
return await request.put({ url: `/wms/configurationsetting/update`, data })
}
// 删除配置设置
export const deleteConfigurationsetting = async (id: number) => {
return await request.delete({ url: `/wms/configurationsetting/delete?id=` + id })
}
// 导出配置设置 Excel
export const exportConfigurationsetting = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/configurationsetting/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/configurationsetting/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/configurationsetting/get-import-template' })
}

63
src/api/wms/consumeRecordDetailb/index.ts

@ -1,63 +0,0 @@
import request from '@/config/axios'
export interface ConsumeRecordDetailbVO {
batch: string
fromLocationCode: string
fromLocationGroupCode: string
fromAreaCode: string
inventoryStatus: string
packingNumber: string
number: string
itemCode: string
remark: string
createTime: Date
creator: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
uom: string
code: string
interfaceType: string
}
// 查询制品返修记录子列表
export const getConsumeRecordDetailbPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/consume-record-detailb/senior', data })
} else {
return await request.get({ url: `/wms/consume-record-detailb/page`, params })
}
}
// 查询制品返修记录子详情
export const getConsumeRecordDetailb = async (id: number) => {
return await request.get({ url: `/wms/consume-record-detailb/get?id=` + id })
}
// 新增制品返修记录子
export const createConsumeRecordDetailb = async (data: ConsumeRecordDetailbVO) => {
return await request.post({ url: `/wms/consume-record-detailb/create`, data })
}
// 修改制品返修记录子
export const updateConsumeRecordDetailb = async (data: ConsumeRecordDetailbVO) => {
return await request.put({ url: `/wms/consume-record-detailb/update`, data })
}
// 删除制品返修记录子
export const deleteConsumeRecordDetailb = async (id: number) => {
return await request.delete({ url: `/wms/consume-record-detailb/delete?id=` + id })
}
// 导出制品返修记录子 Excel
export const exportConsumeRecordDetailb = async (params) => {
return await request.download({ url: `/wms/consume-record-detailb/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/consume-record-detailb/get-import-template' })
}

61
src/api/wms/consumereRequestDetailb/index.ts

@ -1,61 +0,0 @@
import request from '@/config/axios'
export interface ConsumereRequestDetailbVO {
inventoryStatus: string
packingNumber: string
batch: string
fromLocationCode: string
number: string
itemCode: string
remark: string
createTime: Date
creator: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
uom: string
updateTime: Date
updater: string
}
// 查询制品返修申请子列表
export const getConsumereRequestDetailbPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/consumere-request-detailb/senior', data })
} else {
return await request.get({ url: `/wms/consumere-request-detailb/page`, params })
}
}
// 查询制品返修申请子详情
export const getConsumereRequestDetailb = async (id: number) => {
return await request.get({ url: `/wms/consumere-request-detailb/get?id=` + id })
}
// 新增制品返修申请子
export const createConsumereRequestDetailb = async (data: ConsumereRequestDetailbVO) => {
return await request.post({ url: `/wms/consumere-request-detailb/create`, data })
}
// 修改制品返修申请子
export const updateConsumereRequestDetailb = async (data: ConsumereRequestDetailbVO) => {
return await request.put({ url: `/wms/consumere-request-detailb/update`, data })
}
// 删除制品返修申请子
export const deleteConsumereRequestDetailb = async (id: number) => {
return await request.delete({ url: `/wms/consumere-request-detailb/delete?id=` + id })
}
// 导出制品返修申请子 Excel
export const exportConsumereRequestDetailb = async (params) => {
return await request.download({ url: `/wms/consumere-request-detailb/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/consumere-request-detailb/get-import-template' })
}

57
src/api/wms/containerBindRecordDetail/index.ts

@ -1,57 +0,0 @@
import request from '@/config/axios'
export interface ContainerBindRecordDetailVO {
id: number
containerContentType: string
contentNumber: string
itemCode: string
batch: string
inventoryStatus: string
uom: string
qty: number
masterId: number
number: string
siteId: string
remark: string
}
// 查询器具绑定记录子列表
export const getContainerBindRecordDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/container-bind-record-detail/senior', data })
} else {
return await request.get({ url: `/wms/container-bind-record-detail/page`, params })
}
}
// 查询器具绑定记录子详情
export const getContainerBindRecordDetail = async (id: number) => {
return await request.get({ url: `/wms/container-bind-record-detail/get?id=` + id })
}
// 新增器具绑定记录子
export const createContainerBindRecordDetail = async (data: ContainerBindRecordDetailVO) => {
return await request.post({ url: `/wms/container-bind-record-detail/create`, data })
}
// 修改器具绑定记录子
export const updateContainerBindRecordDetail = async (data: ContainerBindRecordDetailVO) => {
return await request.put({ url: `/wms/container-bind-record-detail/update`, data })
}
// 删除器具绑定记录子
export const deleteContainerBindRecordDetail = async (id: number) => {
return await request.delete({ url: `/wms/container-bind-record-detail/delete?id=` + id })
}
// 导出器具绑定记录子 Excel
export const exportContainerBindRecordDetail = async (params) => {
return await request.download({ url: `/wms/container-bind-record-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/container-bind-record-detail/get-import-template' })
}

69
src/api/wms/containerBindRecordMain/index.ts

@ -1,69 +0,0 @@
import request from '@/config/axios'
export interface ContainerBindRecordMainVO {
id: number
number: string
containerNumber: string
fromWarehouseCode: string
toWarehouseCode: string
outTransactionType: string
inTransactionType: string
executeTime: Date
activeDate: Date
available: string
requestTime: Date
dueTime: Date
departmentCode: string
userGroupCode: string
interfaceType: string
businessType: string
remark: string
extraProperties: string
siteId: string
code: string
fromLocationTypes: string
toLocationTypes: string
fromAreaCodes: string
toAreaCodes: string
}
// 查询器具绑定记录主列表
export const getContainerBindRecordMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/container-bind-record-main/senior', data })
} else {
return await request.get({ url: `/wms/container-bind-record-main/page`, params })
}
}
// 查询器具绑定记录主详情
export const getContainerBindRecordMain = async (id: number) => {
return await request.get({ url: `/wms/container-bind-record-main/get?id=` + id })
}
// 新增器具绑定记录主
export const createContainerBindRecordMain = async (data: ContainerBindRecordMainVO) => {
return await request.post({ url: `/wms/container-bind-record-main/create`, data })
}
// 修改器具绑定记录主
export const updateContainerBindRecordMain = async (data: ContainerBindRecordMainVO) => {
return await request.put({ url: `/wms/container-bind-record-main/update`, data })
}
// 删除器具绑定记录主
export const deleteContainerBindRecordMain = async (id: number) => {
return await request.delete({ url: `/wms/container-bind-record-main/delete?id=` + id })
}
// 导出器具绑定记录主 Excel
export const exportContainerBindRecordMain = async (params) => {
return await request.download({ url: `/wms/container-bind-record-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/container-bind-record-main/get-import-template' })
}

52
src/api/wms/containerDetail/index.ts

@ -1,52 +0,0 @@
import request from '@/config/axios'
export interface ContainerDetailVO {
containerContentType: string
contentNumber: string
itemCode: string
batch: string
inventoryStatus: string
uom: string
qty: number
}
// 查询器具子列表
export const getContainerDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/container-detail/senior', data })
} else {
return await request.get({ url: `/wms/container-detail/page`, params })
}
}
// 查询器具子详情
export const getContainerDetail = async (id: number) => {
return await request.get({ url: `/wms/container-detail/get?id=` + id })
}
// 新增器具子
export const createContainerDetail = async (data: ContainerDetailVO) => {
return await request.post({ url: `/wms/container-detail/create`, data })
}
// 修改器具子
export const updateContainerDetail = async (data: ContainerDetailVO) => {
return await request.put({ url: `/wms/container-detail/update`, data })
}
// 删除器具子
export const deleteContainerDetail = async (id: number) => {
return await request.delete({ url: `/wms/container-detail/delete?id=` + id })
}
// 导出器具子 Excel
export const exportContainerDetail = async (params) => {
return await request.download({ url: `/wms/container-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/container-detail/get-import-template' })
}

55
src/api/wms/containerInitRecordDetail/index.ts

@ -1,55 +0,0 @@
import request from '@/config/axios'
export interface ContainerInitRecordDetailVO {
id: number
containerNumber: string
type: string
capacity: number
status: string
ownerCode: string
masterId: number
number: string
siteId: string
remark: string
}
// 查询器具初始化记录子列表
export const getContainerInitRecordDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/container-init-record-detail/senior', data })
} else {
return await request.get({ url: `/wms/container-init-record-detail/page`, params })
}
}
// 查询器具初始化记录子详情
export const getContainerInitRecordDetail = async (id: number) => {
return await request.get({ url: `/wms/container-init-record-detail/get?id=` + id })
}
// 新增器具初始化记录子
export const createContainerInitRecordDetail = async (data: ContainerInitRecordDetailVO) => {
return await request.post({ url: `/wms/container-init-record-detail/create`, data })
}
// 修改器具初始化记录子
export const updateContainerInitRecordDetail = async (data: ContainerInitRecordDetailVO) => {
return await request.put({ url: `/wms/container-init-record-detail/update`, data })
}
// 删除器具初始化记录子
export const deleteContainerInitRecordDetail = async (id: number) => {
return await request.delete({ url: `/wms/container-init-record-detail/delete?id=` + id })
}
// 导出器具初始化记录子 Excel
export const exportContainerInitRecordDetail = async (params) => {
return await request.download({ url: `/wms/container-init-record-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/container-init-record-detail/get-import-template' })
}

68
src/api/wms/containerInitRecordMain/index.ts

@ -1,68 +0,0 @@
import request from '@/config/axios'
export interface ContainerInitRecordMainVO {
id: number
number: string
fromWarehouseCode: string
toWarehouseCode: string
outTransactionType: string
inTransactionType: string
executeTime: Date
activeDate: Date
available: string
requestTime: Date
dueTime: Date
departmentCode: string
userGroupCode: string
interfaceType: string
businessType: string
remark: string
extraProperties: string
siteId: string
code: string
fromLocationTypes: string
toLocationTypes: string
fromAreaCodes: string
toAreaCodes: string
}
// 查询器具初始化记录主列表
export const getContainerInitRecordMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/container-init-record-main/senior', data })
} else {
return await request.get({ url: `/wms/container-init-record-main/page`, params })
}
}
// 查询器具初始化记录主详情
export const getContainerInitRecordMain = async (id: number) => {
return await request.get({ url: `/wms/container-init-record-main/get?id=` + id })
}
// 新增器具初始化记录主
export const createContainerInitRecordMain = async (data: ContainerInitRecordMainVO) => {
return await request.post({ url: `/wms/container-init-record-main/create`, data })
}
// 修改器具初始化记录主
export const updateContainerInitRecordMain = async (data: ContainerInitRecordMainVO) => {
return await request.put({ url: `/wms/container-init-record-main/update`, data })
}
// 删除器具初始化记录主
export const deleteContainerInitRecordMain = async (id: number) => {
return await request.delete({ url: `/wms/container-init-record-main/delete?id=` + id })
}
// 导出器具初始化记录主 Excel
export const exportContainerInitRecordMain = async (params) => {
return await request.download({ url: `/wms/container-init-record-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/container-init-record-main/get-import-template' })
}

61
src/api/wms/containerMain/index.ts

@ -1,61 +0,0 @@
import request from '@/config/axios'
export interface ContainerMainVO {
id: string
number: string
type: string
capacity: number
status: string
ownerCode: string
}
// 查询器具主列表
export const getContainerMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/container-main/senior', data })
} else {
return await request.get({ url: `/wms/container-main/page`, params })
}
}
// 查询器具主详情
export const getContainerMain = async (id: number) => {
return await request.get({ url: `/wms/container-main/get?id=` + id })
}
// 新增器具主
export const createContainerMain = async (data: ContainerMainVO) => {
return await request.post({ url: `/wms/container-main/create`, data })
}
// 修改器具主
export const updateContainerMain = async (data: ContainerMainVO) => {
return await request.put({ url: `/wms/container-main/update`, data })
}
// 删除器具主
export const deleteContainerMain = async (id: number) => {
return await request.delete({ url: `/wms/container-main/delete?id=` + id })
}
// 导出器具主 Excel
export const exportContainerMain = async (params) => {
return await request.download({ url: `/wms/container-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/container-main/get-import-template' })
}
// 器具维修
export const repairSubmitContainerRequestMain = async (id) => {
return await request.put({ url: `/wms/container-main/repair?id=` + id })
}
// 器具报废
export const scrapSubmitContainerRequestMain = async (id) => {
return await request.put({ url: `/wms/container-main/scrap?id=` + id })
}

53
src/api/wms/containerRepairRecordDetail/index.ts

@ -1,53 +0,0 @@
import request from '@/config/axios'
export interface ContainerRepairRecordDetailVO {
id: number
containerNumber: string
fromContainerStatus: string
toContainerStatus: string
masterId: number
number: string
siteId: string
remark: string
}
// 查询器具维修记录子列表
export const getContainerRepairRecordDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/container-repair-record-detail/senior', data })
} else {
return await request.get({ url: `/wms/container-repair-record-detail/page`, params })
}
}
// 查询器具维修记录子详情
export const getContainerRepairRecordDetail = async (id: number) => {
return await request.get({ url: `/wms/container-repair-record-detail/get?id=` + id })
}
// 新增器具维修记录子
export const createContainerRepairRecordDetail = async (data: ContainerRepairRecordDetailVO) => {
return await request.post({ url: `/wms/container-repair-record-detail/create`, data })
}
// 修改器具维修记录子
export const updateContainerRepairRecordDetail = async (data: ContainerRepairRecordDetailVO) => {
return await request.put({ url: `/wms/container-repair-record-detail/update`, data })
}
// 删除器具维修记录子
export const deleteContainerRepairRecordDetail = async (id: number) => {
return await request.delete({ url: `/wms/container-repair-record-detail/delete?id=` + id })
}
// 导出器具维修记录子 Excel
export const exportContainerRepairRecordDetail = async (params) => {
return await request.download({ url: `/wms/container-repair-record-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/container-repair-record-detail/get-import-template' })
}

69
src/api/wms/containerRepairRecordMain/index.ts

@ -1,69 +0,0 @@
import request from '@/config/axios'
export interface ContainerRepairRecordMainVO {
id: number
number: string
containerNumber: string
fromWarehouseCode: string
toWarehouseCode: string
outTransactionType: string
inTransactionType: string
executeTime: Date
activeDate: Date
available: string
requestTime: Date
dueTime: Date
departmentCode: string
userGroupCode: string
interfaceType: string
businessType: string
remark: string
extraProperties: string
siteId: string
code: string
fromLocationTypes: string
toLocationTypes: string
fromAreaCodes: string
toAreaCodes: string
}
// 查询器具维修记录主列表
export const getContainerRepairRecordMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/container-repair-record-main/senior', data })
} else {
return await request.get({ url: `/wms/container-repair-record-main/page`, params })
}
}
// 查询器具维修记录主详情
export const getContainerRepairRecordMain = async (id: number) => {
return await request.get({ url: `/wms/container-repair-record-main/get?id=` + id })
}
// 新增器具维修记录主
export const createContainerRepairRecordMain = async (data: ContainerRepairRecordMainVO) => {
return await request.post({ url: `/wms/container-repair-record-main/create`, data })
}
// 修改器具维修记录主
export const updateContainerRepairRecordMain = async (data: ContainerRepairRecordMainVO) => {
return await request.put({ url: `/wms/container-repair-record-main/update`, data })
}
// 删除器具维修记录主
export const deleteContainerRepairRecordMain = async (id: number) => {
return await request.delete({ url: `/wms/container-repair-record-main/delete?id=` + id })
}
// 导出器具维修记录主 Excel
export const exportContainerRepairRecordMain = async (params) => {
return await request.download({ url: `/wms/container-repair-record-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/container-repair-record-main/get-import-template' })
}

57
src/api/wms/containerUnbindRecordDetail/index.ts

@ -1,57 +0,0 @@
import request from '@/config/axios'
export interface ContainerUnbindRecordDetailVO {
id: number
containerContentType: string
contentNumber: string
itemCode: string
batch: string
inventoryStatus: string
uom: string
qty: number
masterId: number
number: string
siteId: string
remark: string
}
// 查询器具解绑记录子列表
export const getContainerUnbindRecordDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/container-unbind-record-detail/senior', data })
} else {
return await request.get({ url: `/wms/container-unbind-record-detail/page`, params })
}
}
// 查询器具解绑记录子详情
export const getContainerUnbindRecordDetail = async (id: number) => {
return await request.get({ url: `/wms/container-unbind-record-detail/get?id=` + id })
}
// 新增器具解绑记录子
export const createContainerUnbindRecordDetail = async (data: ContainerUnbindRecordDetailVO) => {
return await request.post({ url: `/wms/container-unbind-record-detail/create`, data })
}
// 修改器具解绑记录子
export const updateContainerUnbindRecordDetail = async (data: ContainerUnbindRecordDetailVO) => {
return await request.put({ url: `/wms/container-unbind-record-detail/update`, data })
}
// 删除器具解绑记录子
export const deleteContainerUnbindRecordDetail = async (id: number) => {
return await request.delete({ url: `/wms/container-unbind-record-detail/delete?id=` + id })
}
// 导出器具解绑记录子 Excel
export const exportContainerUnbindRecordDetail = async (params) => {
return await request.download({ url: `/wms/container-unbind-record-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/container-unbind-record-detail/get-import-template' })
}

69
src/api/wms/containerUnbindRecordMain/index.ts

@ -1,69 +0,0 @@
import request from '@/config/axios'
export interface ContainerUnbindRecordMainVO {
id: number
number: string
containerNumber: string
fromWarehouseCode: string
toWarehouseCode: string
outTransactionType: string
inTransactionType: string
executeTime: Date
activeDate: Date
available: string
requestTime: Date
dueTime: Date
departmentCode: string
userGroupCode: string
interfaceType: string
businessType: string
remark: string
extraProperties: string
siteId: string
code: string
fromLocationTypes: string
toLocationTypes: string
fromAreaCodes: string
toAreaCodes: string
}
// 查询器具解绑记录主列表
export const getContainerUnbindRecordMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/container-unbind-record-main/senior', data })
} else {
return await request.get({ url: `/wms/container-unbind-record-main/page`, params })
}
}
// 查询器具解绑记录主详情
export const getContainerUnbindRecordMain = async (id: number) => {
return await request.get({ url: `/wms/container-unbind-record-main/get?id=` + id })
}
// 新增器具解绑记录主
export const createContainerUnbindRecordMain = async (data: ContainerUnbindRecordMainVO) => {
return await request.post({ url: `/wms/container-unbind-record-main/create`, data })
}
// 修改器具解绑记录主
export const updateContainerUnbindRecordMain = async (data: ContainerUnbindRecordMainVO) => {
return await request.put({ url: `/wms/container-unbind-record-main/update`, data })
}
// 删除器具解绑记录主
export const deleteContainerUnbindRecordMain = async (id: number) => {
return await request.delete({ url: `/wms/container-unbind-record-main/delete?id=` + id })
}
// 导出器具解绑记录主 Excel
export const exportContainerUnbindRecordMain = async (params) => {
return await request.download({ url: `/wms/container-unbind-record-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/container-unbind-record-main/get-import-template' })
}

62
src/api/wms/countJobDetail/index.ts

@ -1,62 +0,0 @@
import request from '@/config/axios'
export interface CountJobDetailVO {
countDetailNumber: string
ownerCode: string
packingNumber: string
containerNumber: string
batch: string
inventoryStatus: string
itemCode: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
number: string
remark: string
createTime: Date
creator: string
}
// 查询盘点任务子列表
export const getCountJobDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/count-job-detail/senior', data })
} else {
return await request.get({ url: `/wms/count-job-detail/page`, params })
}
}
// 查询盘点任务子详情
export const getCountJobDetail = async (id: number) => {
return await request.get({ url: `/wms/count-job-detail/get?id=` + id })
}
// 新增盘点任务子
export const createCountJobDetail = async (data: CountJobDetailVO) => {
return await request.post({ url: `/wms/count-job-detail/create`, data })
}
// 修改盘点任务子
export const updateCountJobDetail = async (data: CountJobDetailVO) => {
return await request.put({ url: `/wms/count-job-detail/update`, data })
}
// 删除盘点任务子
export const deleteCountJobDetail = async (id: number) => {
return await request.delete({ url: `/wms/count-job-detail/delete?id=` + id })
}
// 导出盘点任务子 Excel
export const exportCountJobDetail = async (params) => {
return await request.download({ url: `/wms/count-job-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/count-job-detail/get-import-template' })
}

87
src/api/wms/countJobMain/index.ts

@ -1,87 +0,0 @@
import request from '@/config/axios'
export interface CountJobMainVO {
requestNumber: string
planNumber: string
stage: string
warehouseCode: string
locationCode: string
requestTime: Date
requestDueTime: Date
status: string
expiredTime: Date
updateTime: Date
updater: string
jobStageStatus: string
priority: number
priorityIncrement: number
departmentCode: string
acceptUserId: string
acceptTime: Date
completeUserId: string
completeTime: Date
fromLocationTypes: string
toLocationTypes: string
number: string
businessType: string
remark: string
createTime: Date
creator: string
siteId: string
autoComplete: string
allowModifyLocation: string
allowModifyQty: string
allowBiggerQty: string
allowSmallerQty: string
allowModifInventoryStatus: string
allowContinuousScanning: string
allowPartialComplete: string
allowModifyBatch: string
allowModifyPackingNumber: string
}
// 查询盘点任务主列表
export const getCountJobMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/count-job-main/senior', data })
} else {
return await request.get({ url: `/wms/count-job-main/page`, params })
}
}
// 查询盘点任务主详情
export const getCountJobMain = async (id: number) => {
return await request.get({ url: `/wms/count-job-main/get?id=` + id })
}
// 新增盘点任务主
export const createCountJobMain = async (data: CountJobMainVO) => {
return await request.post({ url: `/wms/count-job-main/create`, data })
}
// 修改盘点任务主
export const updateCountJobMain = async (data: CountJobMainVO) => {
return await request.put({ url: `/wms/count-job-main/update`, data })
}
// 删除盘点任务主
export const deleteCountJobMain = async (id: number) => {
return await request.delete({ url: `/wms/count-job-main/delete?id=` + id })
}
// 导出盘点任务主 Excel
export const exportCountJobMain = async (params) => {
return await request.download({ url: `/wms/count-job-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/count-job-main/get-import-template' })
}
// 关闭盘点任务主
export const closeCountJobMain = (id: number) => {
return request.download({ url: '/wms/count-job-main/close?id=' + id })
}

52
src/api/wms/countPlanDetail/index.ts

@ -1,52 +0,0 @@
import request from '@/config/axios'
export interface CountPlanDetailVO {
type: string
value: string
number: string
itemCode: string
remark: string
createTime: Date
creator: string
planQty: number
uom: string
updateTime: Date
updater: string
available: string
}
// 查询盘点计划子列表
export const getCountPlanDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/count-plan-detail/senior', data })
} else {
return await request.get({ url: `/wms/count-plan-detail/page`, params })
}
}
// 查询盘点计划子详情
export const getCountPlanDetail = async (id: number) => {
return await request.get({ url: `/wms/count-plan-detail/get?id=` + id })
}
// 新增盘点计划子
export const createCountPlanDetail = async (data: CountPlanDetailVO) => {
return await request.post({ url: `/wms/count-plan-detail/create`, data })
}
// 修改盘点计划子
export const updateCountPlanDetail = async (data: CountPlanDetailVO) => {
return await request.put({ url: `/wms/count-plan-detail/update`, data })
}
// 删除盘点计划子
export const deleteCountPlanDetail = async (id: number) => {
return await request.delete({ url: `/wms/count-plan-detail/delete?id=` + id })
}
// 导出盘点计划子 Excel
export const exportCountPlanDetail = async (params) => {
return await request.download({ url: `/wms/count-plan-detail/export-excel`, params })
}

104
src/api/wms/countPlanMain/index.ts

@ -1,104 +0,0 @@
import request from '@/config/axios'
export interface CountPlanMainVO {
type: string
crontab: string
dimension: string
limitedValue: number
ignoreListOfItem: string
ignoreListOfLocation: string
scopeList: string
number: string
businessType: string
remark: string
createTime: Date
creator: string
beginTime: Date
endTime: Date
status: string
updateTime: Date
updater: string
isSnapshot: string
isFreeze: string
isCountEmptyLocation: string
isCountZeroInventory: string
isCountNegativeInventory: string
isOpenCount: string
available: string
}
// 查询盘点计划主列表
export const getCountPlanMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/count-plan-main/senior', data })
} else {
return await request.get({ url: `/wms/count-plan-main/page`, params })
}
}
// 查询盘点计划主详情
export const getCountPlanMain = async (id: number) => {
return await request.get({ url: `/wms/count-plan-main/get?id=` + id })
}
// 新增盘点计划主
export const createCountPlanMain = async (data: CountPlanMainVO) => {
return await request.post({ url: `/wms/count-plan-main/create`, data })
}
// 修改盘点计划主
export const updateCountPlanMain = async (data: CountPlanMainVO) => {
return await request.put({ url: `/wms/count-plan-main/update`, data })
}
// 删除盘点计划主
export const deleteCountPlanMain = async (id: number) => {
return await request.delete({ url: `/wms/count-plan-main/delete?id=` + id })
}
// 导出盘点计划主 Excel
export const exportCountPlanMain = async (params) => {
return await request.download({ url: `/wms/count-plan-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/count-plan-main/get-import-template' })
}
// 关闭
export const close = (id) => {
return request.put({ url: '/wms/count-plan-main/close?id=' + id })
}
// 提交审批
export const submit = (id) => {
return request.put({ url: '/wms/count-plan-main/submit?id=' + id })
}
// 打开
export const open = (id) => {
return request.put({ url: '/wms/count-plan-main/open?id=' + id })
}
// 驳回
export const reject = (id) => {
return request.put({ url: '/wms/count-plan-main/reject?id=' + id })
}
// 通过
export const agree = (id) => {
return request.put({ url: '/wms/count-plan-main/agree?id=' + id })
}
// 发布
export const publish = (id) => {
return request.put({ url: '/wms/count-plan-main/publish?id=' + id })
}
// 重置
export const resetting = (id) => {
return request.put({ url: '/wms/count-plan-main/resetting?id=' + id })
}

72
src/api/wms/countRecordDetail/index.ts

@ -1,72 +0,0 @@
import request from '@/config/axios'
export interface CountRecordDetailVO {
countDetailNumber: string
ownerCode: string
packingNumber: string
containerNumber: string
batch: string
locationCode: string
locationGroupCode: string
areaCode: string
inventoryStatus: string
countQty: number
countTime: Date
countUser: string
countDescription: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
code: string
interfaceType: string
number: string
itemCode: string
remark: string
createTime: Date
creatorId: string
jobDetailId: string
}
// 查询盘点记录子列表
export const getCountRecordDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/count-record-detail/senior', data })
} else {
return await request.get({ url: `/wms/count-record-detail/page`, params })
}
}
// 查询盘点记录子详情
export const getCountRecordDetail = async (id: number) => {
return await request.get({ url: `/wms/count-record-detail/get?id=` + id })
}
// 新增盘点记录子
export const createCountRecordDetail = async (data: CountRecordDetailVO) => {
return await request.post({ url: `/wms/count-record-detail/create`, data })
}
// 修改盘点记录子
export const updateCountRecordDetail = async (data: CountRecordDetailVO) => {
return await request.put({ url: `/wms/count-record-detail/update`, data })
}
// 删除盘点记录子
export const deleteCountRecordDetail = async (id: number) => {
return await request.delete({ url: `/wms/count-record-detail/delete?id=` + id })
}
// 导出盘点记录子 Excel
export const exportCountRecordDetail = async (params) => {
return await request.download({ url: `/wms/count-record-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/count-record-detail/get-import-template' })
}

70
src/api/wms/countRecordMain/index.ts

@ -1,70 +0,0 @@
import request from '@/config/axios'
export interface CountRecordMainVO {
requestNumber: string
jobNumber: string
planNumber: string
stage: string
warehouseCode: string
outTransactionType: string
inTransactionType: string
executeTime: Date
activeDate: Date
requestTime: Date
dueTime: Date
departmentCode: string
interfaceType: string
code: string
number: string
businessType: string
remark: string
createTime: Date
creator: string
available: string
}
// 查询盘点记录主列表
export const getCountRecordMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/count-record-main/senior', data })
} else {
return await request.get({ url: `/wms/count-record-main/page`, params })
}
}
// 查询盘点记录主详情
export const getCountRecordMain = async (id: number) => {
return await request.get({ url: `/wms/count-record-main/get?id=` + id })
}
// 新增盘点记录主
export const createCountRecordMain = async (data: CountRecordMainVO) => {
return await request.post({ url: `/wms/count-record-main/create`, data })
}
// 修改盘点记录主
export const updateCountRecordMain = async (data: CountRecordMainVO) => {
return await request.put({ url: `/wms/count-record-main/update`, data })
}
// 删除盘点记录主
export const deleteCountRecordMain = async (id: number) => {
return await request.delete({ url: `/wms/count-record-main/delete?id=` + id })
}
// 导出盘点记录主 Excel
export const exportCountRecordMain = async (params) => {
return await request.download({ url: `/wms/count-record-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/count-record-main/get-import-template' })
}
// 生成盘点调整
export const generateCountRecordMain = async (id) => {
return await request.put({ url: `/wms/count-record-main/generate?id=` + id})
}

67
src/api/wms/countRequestDetail/index.ts

@ -1,67 +0,0 @@
import request from '@/config/axios'
export interface CountRequestDetailVO {
countDetailNumber: string
ownerCode: string
batch: string
locationCode: string
inventoryStatus: string
number: string
remark: string
createTime: Date
creator: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
updateTime: Date
updater: string
itemCode: string
fromPackingNumber: string
toPackingNumber: string
fromContainerNumber: string
toContainerNumber: string
}
// 查询盘点申请子列表
export const getCountRequestDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/count-request-detail/senior', data })
} else {
return await request.get({ url: `/wms/count-request-detail/page`, params })
}
}
// 查询盘点申请子详情
export const getCountRequestDetail = async (id: number) => {
return await request.get({ url: `/wms/count-request-detail/get?id=` + id })
}
// 新增盘点申请子
export const createCountRequestDetail = async (data: CountRequestDetailVO) => {
return await request.post({ url: `/wms/count-request-detail/create`, data })
}
// 修改盘点申请子
export const updateCountRequestDetail = async (data: CountRequestDetailVO) => {
return await request.put({ url: `/wms/count-request-detail/update`, data })
}
// 删除盘点申请子
export const deleteCountRequestDetail = async (id: number) => {
return await request.delete({ url: `/wms/count-request-detail/delete?id=` + id })
}
// 导出盘点申请子 Excel
export const exportCountRequestDetail = async (params) => {
return await request.download({ url: `/wms/count-request-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/count-request-detail/get-import-template' })
}

112
src/api/wms/countRequestMain/index.ts

@ -1,112 +0,0 @@
import request from '@/config/axios'
export interface CountRequestMainVO {
requestNumber: string
planNumber: string
stage: string
warehouseCode: 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 getCountRequestMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/count-request-main/senior', data })
} else {
return await request.get({ url: `/wms/count-request-main/page`, params })
}
}
// 查询盘点申请主详情
export const getCountRequestMain = async (id: number) => {
return await request.get({ url: `/wms/count-request-main/get?id=` + id })
}
// 新增盘点申请主
export const createCountRequestMain = async (data: CountRequestMainVO) => {
return await request.post({ url: `/wms/count-request-main/create`, data })
}
// 修改盘点申请主
export const updateCountRequestMain = async (data: CountRequestMainVO) => {
return await request.put({ url: `/wms/count-request-main/update`, data })
}
// 删除盘点申请主
export const deleteCountRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/count-request-main/delete?id=` + id })
}
// 导出盘点申请主 Excel
export const exportCountRequestMain = async (params) => {
return await request.download({ url: `/wms/count-request-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/count-request-main/get-import-template' })
}
// 关闭盘点申请主 Excel
export const close = async (id) => {
return await request.put({ url: `/wms/count-request-main/close?id=` + id })
}
// 重新添加盘点申请主 Excel
export const reAdd = async (id) => {
return await request.put({ url: `/wms/count-request-main/reAdd?id=` + id })
}
// 提交盘点申请主 Excel
export const submit = async (id) => {
return await request.put({ url: `/wms/count-request-main/submit?id=` + id })
}
// 审批通过盘点申请主 Excel
export const agree = async (id) => {
return await request.put({ url: `/wms/count-request-main/agree?id=` + id })
}
// 审批驳回盘点申请主 Excel
export const refused = async (id) => {
return await request.put({ url: `/wms/count-request-main/refused?id=` + id })
}
// 处理盘点申请主 Excel
export const handle = async (id) => {
return await request.put({ url: `/wms/count-request-main/handle?id=` + id })
}
//重盘
export const reCount = async (data) => {
return await request.put({ url: `/wms/count-request-main/reCount`,data})
}
//监盘
export const superviseCount = async (data) => {
return await request.put({ url: `/wms/count-request-main/supervise`,data})
}
//生成盘点调整申请
export const generateCountadjustRequest = async (id) => {
return await request.put({ url: `/wms/count-request-main/generateCountadjustRequest?id=` + id })
}
//解冻
export const thaw = async (id) => {
return await request.put({ url: `/wms/count-request-main/thaw?id=` + id })
}

69
src/api/wms/countadjustRecordDetail/index.ts

@ -1,69 +0,0 @@
import request from '@/config/axios'
export interface CountadjustRecordDetailVO {
countDetailNumber: string
ownerCode: string
packingNumber: string
containerNumber: string
batch: string
locationCode: string
inventoryStatus: string
inventoryQty: number
countQty: number
adjustQty: number
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
code: string
interfaceType: string
number: string
itemCode: string
remark: string
createTime: Date
creator: string
jobDetailId: string
}
// 查询盘点调整记录子列表
export const getCountadjustRecordDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/countadjust-record-detail/senior', data })
} else {
return await request.get({ url: `/wms/countadjust-record-detail/page`, params })
}
}
// 查询盘点调整记录子详情
export const getCountadjustRecordDetail = async (id: number) => {
return await request.get({ url: `/wms/countadjust-record-detail/get?id=` + id })
}
// 新增盘点调整记录子
export const createCountadjustRecordDetail = async (data: CountadjustRecordDetailVO) => {
return await request.post({ url: `/wms/countadjust-record-detail/create`, data })
}
// 修改盘点调整记录子
export const updateCountadjustRecordDetail = async (data: CountadjustRecordDetailVO) => {
return await request.put({ url: `/wms/countadjust-record-detail/update`, data })
}
// 删除盘点调整记录子
export const deleteCountadjustRecordDetail = async (id: number) => {
return await request.delete({ url: `/wms/countadjust-record-detail/delete?id=` + id })
}
// 导出盘点调整记录子 Excel
export const exportCountadjustRecordDetail = async (params) => {
return await request.download({ url: `/wms/countadjust-record-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/countadjust-record-detail/get-import-template' })
}

63
src/api/wms/countadjustRecordMain/index.ts

@ -1,63 +0,0 @@
import request from '@/config/axios'
export interface CountadjustRecordMainVO {
requestNumber: string
countRecordNumber: string
warehouseCode: string
outTransactionType: string
inTransactionType: string
executeTime: Date
activeDate: Date
requestTime: Date
dueTime: Date
departmentCode: string
interfaceType: string
code: string
number: string
businessType: string
remark: string
createTime: Date
creator: string
available: string
}
// 查询盘点调整记录主列表
export const getCountadjustRecordMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/countadjust-record-main/senior', data })
} else {
return await request.get({ url: `/wms/countadjust-record-main/page`, params })
}
}
// 查询盘点调整记录主详情
export const getCountadjustRecordMain = async (id: number) => {
return await request.get({ url: `/wms/countadjust-record-main/get?id=` + id })
}
// 新增盘点调整记录主
export const createCountadjustRecordMain = async (data: CountadjustRecordMainVO) => {
return await request.post({ url: `/wms/countadjust-record-main/create`, data })
}
// 修改盘点调整记录主
export const updateCountadjustRecordMain = async (data: CountadjustRecordMainVO) => {
return await request.put({ url: `/wms/countadjust-record-main/update`, data })
}
// 删除盘点调整记录主
export const deleteCountadjustRecordMain = async (id: number) => {
return await request.delete({ url: `/wms/countadjust-record-main/delete?id=` + id })
}
// 导出盘点调整记录主 Excel
export const exportCountadjustRecordMain = async (params) => {
return await request.download({ url: `/wms/countadjust-record-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/countadjust-record-main/get-import-template' })
}

68
src/api/wms/countadjustRequestDetail/index.ts

@ -1,68 +0,0 @@
import request from '@/config/axios'
export interface CountadjustRequestDetailVO {
countDetailNumber: string
ownerlCode: string
packinglNumber: string
containerlNumber: string
batch: string
locationlCode: string
inventorylStatus: string
inventorylQty: number
countlQty: number
adjustlQty: number
number: string
remark: string
createTime: Date
creator: string
itemlName: string
itemlDesc1: string
itemlDesc2: string
projectlCode: string
qty: number
uom: string
updateTime: Date
updater: string
itemlCode: string
}
// 查询盘点调整申请子列表
export const getCountadjustRequestDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/countadjust-request-detail/senior', data })
} else {
return await request.get({ url: `/wms/countadjust-request-detail/page`, params })
}
}
// 查询盘点调整申请子详情
export const getCountadjustRequestDetail = async (id: number) => {
return await request.get({ url: `/wms/countadjust-request-detail/get?id=` + id })
}
// 新增盘点调整申请子
export const createCountadjustRequestDetail = async (data: CountadjustRequestDetailVO) => {
return await request.post({ url: `/wms/countadjust-request-detail/create`, data })
}
// 修改盘点调整申请子
export const updateCountadjustRequestDetail = async (data: CountadjustRequestDetailVO) => {
return await request.put({ url: `/wms/countadjust-request-detail/update`, data })
}
// 删除盘点调整申请子
export const deleteCountadjustRequestDetail = async (id: number) => {
return await request.delete({ url: `/wms/countadjust-request-detail/delete?id=` + id })
}
// 导出盘点调整申请子 Excel
export const exportCountadjustRequestDetail = async (params) => {
return await request.download({ url: `/wms/countadjust-request-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/countadjust-request-detail/get-import-template' })
}

93
src/api/wms/countadjustRequestMain/index.ts

@ -1,93 +0,0 @@
import request from '@/config/axios'
export interface CountadjustRequestMainVO {
requestNumber: string
countRecordNumber: string
warehouseCode: 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 getCountadjustRequestMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/countadjust-request-main/senior', data })
} else {
return await request.get({ url: `/wms/countadjust-request-main/page`, params })
}
}
// 查询盘点调整申请主详情
export const getCountadjustRequestMain = async (id: number) => {
return await request.get({ url: `/wms/countadjust-request-main/get?id=` + id })
}
// 新增盘点调整申请主
export const createCountadjustRequestMain = async (data: CountadjustRequestMainVO) => {
return await request.post({ url: `/wms/countadjust-request-main/create`, data })
}
// 修改盘点调整申请主
export const updateCountadjustRequestMain = async (data: CountadjustRequestMainVO) => {
return await request.put({ url: `/wms/countadjust-request-main/update`, data })
}
// 删除盘点调整申请主
export const deleteCountadjustRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/countadjust-request-main/delete?id=` + id })
}
// 导出盘点调整申请主 Excel
export const exportCountadjustRequestMain = async (params) => {
return await request.download({ url: `/wms/countadjust-request-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/countadjust-request-main/get-import-template' })
}
// 关闭盘点申请主 Excel
export const close = async (id) => {
return await request.put({ url: `/wms/countadjust-request-main/close?id=` + id })
}
// 重新添加盘点申请主 Excel
export const reAdd = async (id) => {
return await request.put({ url: `/wms/countadjust-request-main/reAdd?id=` + id })
}
// 提交盘点申请主 Excel
export const submit = async (id) => {
return await request.put({ url: `/wms/countadjust-request-main/submit?id=` + id })
}
// 审批通过盘点申请主 Excel
export const agree = async (id) => {
return await request.put({ url: `/wms/countadjust-request-main/agree?id=` + id })
}
// 审批驳回盘点申请主 Excel
export const refused = async (id) => {
return await request.put({ url: `/wms/countadjust-request-main/refused?id=` + id })
}
// 处理盘点申请主 Excel
export const handle = async (id) => {
return await request.put({ url: `/wms/countadjust-request-main/handle?id=` + id })
}

57
src/api/wms/currencyexchange/index.ts

@ -1,57 +0,0 @@
import request from '@/config/axios'
export interface CurrencyexchangeVO {
currency: string
basiccurrency: string
rate: number
available: number
activeTime: Date
expireTime: Date
remark: string
}
// 查询货币转换列表
export const getCurrencyexchangePage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/currencyexchange/senior', data })
} else {
return await request.get({ url: `/wms/currencyexchange/page`, params })
}
}
// 查询货币转换详情
export const getCurrencyexchange = async (id: number) => {
return await request.get({ url: `/wms/currencyexchange/get?id=` + id })
}
// 新增货币转换
export const createCurrencyexchange = async (data: CurrencyexchangeVO) => {
return await request.post({ url: `/wms/currencyexchange/create`, data })
}
// 修改货币转换
export const updateCurrencyexchange = async (data: CurrencyexchangeVO) => {
return await request.put({ url: `/wms/currencyexchange/update`, data })
}
// 删除货币转换
export const deleteCurrencyexchange = async (id: number) => {
return await request.delete({ url: `/wms/currencyexchange/delete?id=` + id })
}
// 导出货币转换 Excel
export const exportCurrencyexchange = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/currencyexchange/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/currencyexchange/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/currencyexchange/get-import-template' })
}

71
src/api/wms/customer/index.ts

@ -1,71 +0,0 @@
import request from '@/config/axios'
export interface CustomerVO {
code: string
name: string
shortName: string
address: string
country: string
city: string
phone: string
fax: string
postId: string
contacts: string
bank: string
currency: string
taxRate: number
type: string
available: number
activeTime: Date
expireTime: Date
remark: string
}
// 查询客户列表
export const getCustomerPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/customer/senior', data })
} else {
return await request.get({ url: `/wms/customer/page`, params })
}
}
// 查询客户列表
export const getCustomerList = async (params) => {
return await request.get({ url: `/wms/customer/list`, params })
}
// 查询客户详情
export const getCustomer = async (id: number) => {
return await request.get({ url: `/wms/customer/get?id=` + id })
}
// 新增客户
export const createCustomer = async (data: CustomerVO) => {
return await request.post({ url: `/wms/customer/create`, data })
}
// 修改客户
export const updateCustomer = async (data: CustomerVO) => {
return await request.put({ url: `/wms/customer/update`, data })
}
// 删除客户
export const deleteCustomer = async (id: number) => {
return await request.delete({ url: `/wms/customer/delete?id=` + id })
}
// 导出客户 Excel
export const exportCustomer = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/customer/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/customer/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/customer/get-import-template' })
}

64
src/api/wms/customerdock/index.ts

@ -1,64 +0,0 @@
import request from '@/config/axios'
export interface CustomerdockVO {
code: string
name: string
description: string
city: string
address: string
contactPerson: string
contactPhone: string
customerCode: string
warehouseCode: string
defaultLocationCode: string
available: number
activeTime: Date
expireTime: Date
remark: string
}
// 查询客户月台列表
export const getCustomerdockPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/customerdock/senior', data })
} else {
return await request.get({ url: `/wms/customerdock/page`, params })
}
}
// 查询客户月台详情
export const getCustomerdock = async (id: number) => {
return await request.get({ url: `/wms/customerdock/get?id=` + id })
}
// 新增客户月台
export const createCustomerdock = async (data: CustomerdockVO) => {
return await request.post({ url: `/wms/customerdock/create`, data })
}
// 修改客户月台
export const updateCustomerdock = async (data: CustomerdockVO) => {
return await request.put({ url: `/wms/customerdock/update`, data })
}
// 删除客户月台
export const deleteCustomerdock = async (id: number) => {
return await request.delete({ url: `/wms/customerdock/delete?id=` + id })
}
// 导出客户月台 Excel
export const exportCustomerdock = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/customerdock/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/customerdock/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/customerdock/get-import-template' })
}

64
src/api/wms/customeritem/index.ts

@ -1,64 +0,0 @@
import request from '@/config/axios'
export interface CustomeritemVO {
customerCode: string
itemCode: string
customerItemCode: string
cusotmerUom: string
convertRate: number
packUnit: string
packQty: number
altPackUnit: string
altPackQty: number
packQtyOfContainer: number
available: number
activeTime: Date
expireTime: Date
remark: string
}
// 查询客户物品列表
export const getCustomeritemPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/customeritem/senior', data })
} else {
return await request.get({ url: `/wms/customeritem/page`, params })
}
}
// 查询客户物品详情
export const getCustomeritem = async (id: number) => {
return await request.get({ url: `/wms/customeritem/get?id=` + id })
}
// 新增客户物品
export const createCustomeritem = async (data: CustomeritemVO) => {
return await request.post({ url: `/wms/customeritem/create`, data })
}
// 修改客户物品
export const updateCustomeritem = async (data: CustomeritemVO) => {
return await request.put({ url: `/wms/customeritem/update`, data })
}
// 删除客户物品
export const deleteCustomeritem = async (id: number) => {
return await request.delete({ url: `/wms/customeritem/delete?id=` + id })
}
// 导出客户物品 Excel
export const exportCustomeritem = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/customeritem/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/customeritem/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/customeritem/get-import-template' })
}

78
src/api/wms/customerreceiptRecordDetail/index.ts

@ -1,78 +0,0 @@
import request from '@/config/axios'
export interface CustomerreceiptRecordDetailVO {
soNumber: string
soLine: string
fromBatch: string
inventoryStatus: string
fromOwnerCode: string
fromContainerNumber: string
fromLocationCode: string
fromLocationGroupCode: string
fromAreaCode: string
toOwnerCode: string
toContainerNumber: string
toLocationCode: string
toLocationGroupCode: string
toAreaCode: string
singlePrice: number
amount: number
number: string
itemCode: string
remark: string
createTime: Date
creator: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
code: string
interfaceType: string
jobDetailId: string
fromPackingNumber: string
toPackingNumber: string
toBatch: string
}
// 查询客户收货记录子列表
export const getCustomerreceiptRecordDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/customerreceipt-record-detail/senior', data })
} else {
return await request.get({ url: `/wms/customerreceipt-record-detail/page`, params })
}
}
// 查询客户收货记录子详情
export const getCustomerreceiptRecordDetail = async (id: number) => {
return await request.get({ url: `/wms/customerreceipt-record-detail/get?id=` + id })
}
// 新增客户收货记录子
export const createCustomerreceiptRecordDetail = async (data: CustomerreceiptRecordDetailVO) => {
return await request.post({ url: `/wms/customerreceipt-record-detail/create`, data })
}
// 修改客户收货记录子
export const updateCustomerreceiptRecordDetail = async (data: CustomerreceiptRecordDetailVO) => {
return await request.put({ url: `/wms/customerreceipt-record-detail/update`, data })
}
// 删除客户收货记录子
export const deleteCustomerreceiptRecordDetail = async (id: number) => {
return await request.delete({ url: `/wms/customerreceipt-record-detail/delete?id=` + id })
}
// 导出客户收货记录子 Excel
export const exportCustomerreceiptRecordDetail = async (params) => {
return await request.download({ url: `/wms/customerreceipt-record-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/customerreceipt-record-detail/get-import-template' })
}

74
src/api/wms/customerreceiptRecordMain/index.ts

@ -1,74 +0,0 @@
import request from '@/config/axios'
export interface CustomerreceiptRecordMainVO {
requestNumber: string
deliverRecordNumber: string
deliverPlanNumber: string
customerCode: string
customerDockCode: string
carrierCode: string
transferMode: string
vehiclePlateNumber: string
fromWarehouseCode: string
toWarehouseCode: string
outTransactionType: string
inTransactionType: string
executeTime: Date
activeDate: Date
requestTime: Date
dueTime: Date
departmentCode: string
interfaceType: string
number: string
businessType: string
remark: string
createTime: Date
creator: string
code: string
fromLocationTypes: string
toLocationTypes: string
fromAreaCodes: string
toAreaCodes: string
available: string
}
// 查询客户收货记录主列表
export const getCustomerreceiptRecordMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/customerreceipt-record-main/senior', data })
} else {
return await request.get({ url: `/wms/customerreceipt-record-main/page`, params })
}
}
// 查询客户收货记录主详情
export const getCustomerreceiptRecordMain = async (id: number) => {
return await request.get({ url: `/wms/customerreceipt-record-main/get?id=` + id })
}
// 新增客户收货记录主
export const createCustomerreceiptRecordMain = async (data: CustomerreceiptRecordMainVO) => {
return await request.post({ url: `/wms/customerreceipt-record-main/create`, data })
}
// 修改客户收货记录主
export const updateCustomerreceiptRecordMain = async (data: CustomerreceiptRecordMainVO) => {
return await request.put({ url: `/wms/customerreceipt-record-main/update`, data })
}
// 删除客户收货记录主
export const deleteCustomerreceiptRecordMain = async (id: number) => {
return await request.delete({ url: `/wms/customerreceipt-record-main/delete?id=` + id })
}
// 导出客户收货记录主 Excel
export const exportCustomerreceiptRecordMain = async (params) => {
return await request.download({ url: `/wms/customerreceipt-record-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/customerreceipt-record-main/get-import-template' })
}

68
src/api/wms/customerreceiptRequestDetail/index.ts

@ -1,68 +0,0 @@
import request from '@/config/axios'
export interface CustomerreceiptRequestDetailVO {
soNumber: string
soLine: string
packingNumber: string
containerNumber: string
batch: string
inventoryStatus: string
fromLocationCode: string
toLocationCode: string
number: string
itemCode: string
remark: string
createTime: Date
creator: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
updateTime: Date
updater: string
fromOwnerCode: string
toOwnerCode: string
}
// 查询客户收货申请子列表
export const getCustomerreceiptRequestDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/customerreceipt-request-detail/senior', data })
} else {
return await request.get({ url: `/wms/customerreceipt-request-detail/page`, params })
}
}
// 查询客户收货申请子详情
export const getCustomerreceiptRequestDetail = async (id: number) => {
return await request.get({ url: `/wms/customerreceipt-request-detail/get?id=` + id })
}
// 新增客户收货申请子
export const createCustomerreceiptRequestDetail = async (data: CustomerreceiptRequestDetailVO) => {
return await request.post({ url: `/wms/customerreceipt-request-detail/create`, data })
}
// 修改客户收货申请子
export const updateCustomerreceiptRequestDetail = async (data: CustomerreceiptRequestDetailVO) => {
return await request.put({ url: `/wms/customerreceipt-request-detail/update`, data })
}
// 删除客户收货申请子
export const deleteCustomerreceiptRequestDetail = async (id: number) => {
return await request.delete({ url: `/wms/customerreceipt-request-detail/delete?id=` + id })
}
// 导出客户收货申请子 Excel
export const exportCustomerreceiptRequestDetail = async (params) => {
return await request.download({ url: `/wms/customerreceipt-request-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/customerreceipt-request-detail/get-import-template' })
}

98
src/api/wms/customerreceiptRequestMain/index.ts

@ -1,98 +0,0 @@
import request from '@/config/axios'
export interface CustomerreceiptRequestMainVO {
customerreceiptRequestNumber: string
customerreceiptPlanNumber: string
customerCode: string
customerDockCode: string
carrierCode: string
transferMode: string
vehiclePlateNumber: string
fromWarehouseCode: string
toWarehouseCode: string
number: string
businessType: string
remark: string
createTime: Date
creator: string
requestTime: Date
dueTime: Date
departmentCode: string
status: string
updateTime: Date
updater: string
fromLocationTypes: string
toLocationTypes: string
fromAreaCodes: string
toAreaCodes: string
autoCommit: string
autoAgree: string
autoExecute: string
directCreateRecord: string
}
// 查询客户收货申请主列表
export const getCustomerreceiptRequestMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/customerreceipt-request-main/senior', data })
} else {
return await request.get({ url: `/wms/customerreceipt-request-main/page`, params })
}
}
// 查询客户收货申请主详情
export const getCustomerreceiptRequestMain = async (id: number) => {
return await request.get({ url: `/wms/customerreceipt-request-main/get?id=` + id })
}
// 新增客户收货申请主
export const createCustomerreceiptRequestMain = async (data: CustomerreceiptRequestMainVO) => {
return await request.post({ url: `/wms/customerreceipt-request-main/create`, data })
}
// 修改客户收货申请主
export const updateCustomerreceiptRequestMain = async (data: CustomerreceiptRequestMainVO) => {
return await request.put({ url: `/wms/customerreceipt-request-main/update`, data })
}
// 删除客户收货申请主
export const deleteCustomerreceiptRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/customerreceipt-request-main/delete?id=` + id })
}
// 导出客户收货申请主 Excel
export const exportCustomerreceiptRequestMain = async (params) => {
return await request.download({ url: `/wms/customerreceipt-request-main/export-excel`, params })
}
// 关闭
export const close = (id) => {
return request.put({ url: '/wms/customerreceipt-request-main/close?id=' + id })
}
// 重新添加
export const reAdd = (id) => {
return request.put({ url: '/wms/customerreceipt-request-main/reAdd?id=' + id })
}
// 提交审批
export const submit = (id) => {
return request.put({ url: '/wms/customerreceipt-request-main/submit?id=' + id })
}
// 驳回
export const refused = (id) => {
return request.put({ url: '/wms/customerreceipt-request-main/refused?id=' + id })
}
// 审批通过
export const agree = (id) => {
return request.put({ url: '/wms/customerreceipt-request-main/agree?id=' + id })
}
// 处理
export const handle = (id) => {
return request.put({ url: '/wms/customerreceipt-request-main/handle?id=' + id })
}

65
src/api/wms/customerreturnJobDetail/index.ts

@ -1,65 +0,0 @@
import request from '@/config/axios'
export interface CustomerreturnJobDetailVO {
soNumber: string
soLine: string
packingNumber: string
batch: string
inventoryStatus: string
ownerCode: string
containerNumber: string
fromLocationCode: string
toLocationCode: string
itemCode: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
number: string
remark: string
createtime: Date
creator: string
}
// 查询客户退货任务子列表
export const getCustomerreturnJobDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/customerreturn-job-detail/senior', data })
} else {
return await request.get({ url: `/wms/customerreturn-job-detail/page`, params })
}
}
// 查询客户退货任务子详情
export const getCustomerreturnJobDetail = async (id: number) => {
return await request.get({ url: `/wms/customerreturn-job-detail/get?id=` + id })
}
// 新增客户退货任务子
export const createCustomerreturnJobDetail = async (data: CustomerreturnJobDetailVO) => {
return await request.post({ url: `/wms/customerreturn-job-detail/create`, data })
}
// 修改客户退货任务子
export const updateCustomerreturnJobDetail = async (data: CustomerreturnJobDetailVO) => {
return await request.put({ url: `/wms/customerreturn-job-detail/update`, data })
}
// 删除客户退货任务子
export const deleteCustomerreturnJobDetail = async (id: number) => {
return await request.delete({ url: `/wms/customerreturn-job-detail/delete?id=` + id })
}
// 导出客户退货任务子 Excel
export const exportCustomerreturnJobDetail = async (params) => {
return await request.download({ url: `/wms/customerreturn-job-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/customerreturn-job-detail/get-import-template' })
}

115
src/api/wms/customerreturnJobMain/index.ts

@ -1,115 +0,0 @@
import request from '@/config/axios'
export interface CustomerreturnJobMainVO {
requestNumber: string
deliverRecordNumber: string
deliverPlanNumber: string
customerCode: string
customerDockCode: string
receiptDock: string
carrierCode: string
transferMode: string
vehiclePlateNumber: string
fromWarehouseCode: string
toWarehouseCode: string
requestTime: Date
requestDueTime: Date
status: string
expiredTime: Date
updateTime: Date
updater: string
jobStageStatus: string
priority: number
priorityIncrement: number
departmentCode: string
acceptUserId: string
acceptTime: Date
completeUserId: string
completeTime: Date
fromLocationTypes: string
toLocationTypes: string
number: string
businessType: string
remark: string
createTime: Date
creator: string
fromAreaCodes: string
toAreaCodes: string
toDockCode: string
autoComplete: string
allowModifyLocation: string
allowModifyQty: string
allowBiggerQty: string
allowSmallerQty: string
allowModifyInventoryStatus: string
allowContinuousScanning: string
allowPartialComplete: string
allowModifyBatch: string
allowModifyPackingNumber: string
}
// 查询客户退货任务主列表
export const getCustomerreturnJobMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/customerreturn-job-main/senior', data })
} else {
return await request.get({ url: `/wms/customerreturn-job-main/page`, params })
}
}
// 查询客户退货任务主详情
export const getCustomerreturnJobMain = async (id: number) => {
return await request.get({ url: `/wms/customerreturn-job-main/get?id=` + id })
}
// 新增客户退货任务主
export const createCustomerreturnJobMain = async (data: CustomerreturnJobMainVO) => {
return await request.post({ url: `/wms/customerreturn-job-main/create`, data })
}
// 修改客户退货任务主
export const updateCustomerreturnJobMain = async (data: CustomerreturnJobMainVO) => {
return await request.put({ url: `/wms/customerreturn-job-main/update`, data })
}
// 删除客户退货任务主
export const deleteCustomerreturnJobMain = async (id: number) => {
return await request.delete({ url: `/wms/customerreturn-job-main/delete?id=` + id })
}
// 导出客户退货任务主 Excel
export const exportCustomerreturnJobMain = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/customerreturn-job-main/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/customerreturn-job-main/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/customerreturn-job-main/get-import-template' })
}
// 承接客户退货任务主 Excel
export const acceptCustomerreturnJobMain = async (id) => {
return await request.put({ url: `/wms/customerreturn-job-main/accept?id=` + id })
}
// 取消承接客户退货任务主 Excel
export const abandonCustomerreturnJobMain = async (id) => {
return await request.put({ url: `/wms/customerreturn-job-main/abandon?id=` + id })
}
// 关闭客户退货任务主 Excel
export const closeCustomerreturnJobMain = async (id) => {
return await request.put({ url: `/wms/customerreturn-job-main/close?id=` + id })
}
// 执行客户退货任务主
export const executeCustomerreturnJobMain = async (data: CustomerreturnJobMainVO) => {
return await request.put({ url: `/wms/customerreturn-job-main/execute`, data })
}

78
src/api/wms/customerreturnRecordDetail/index.ts

@ -1,78 +0,0 @@
import request from '@/config/axios'
export interface CustomerreturnRecordDetailVO {
soNumber: string
soLine: string
fromBatch: string
inventoryStatus: string
fromOwnerCode: string
fromContainerNumber: string
fromLocationCode: string
fromLocationGroupCode: string
fromAreaCode: string
toOwnerCode: string
toContainerNumber: string
toLocationCode: string
toLocationGroupCode: string
toAreaCode: string
singlePrice: number
amount: number
number: string
itemCode: string
remark: string
createTime: Date
creator: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
code: string
interfaceType: string
jobDetailId: string
fromPackingNumber: string
toPackingNumber: string
toBatch: string
}
// 查询客户退货记录子列表
export const getCustomerreturnRecordDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/customerreturn-record-detail/senior', data })
} else {
return await request.get({ url: `/wms/customerreturn-record-detail/page`, params })
}
}
// 查询客户退货记录子详情
export const getCustomerreturnRecordDetail = async (id: number) => {
return await request.get({ url: `/wms/customerreturn-record-detail/get?id=` + id })
}
// 新增客户退货记录子
export const createCustomerreturnRecordDetail = async (data: CustomerreturnRecordDetailVO) => {
return await request.post({ url: `/wms/customerreturn-record-detail/create`, data })
}
// 修改客户退货记录子
export const updateCustomerreturnRecordDetail = async (data: CustomerreturnRecordDetailVO) => {
return await request.put({ url: `/wms/customerreturn-record-detail/update`, data })
}
// 删除客户退货记录子
export const deleteCustomerreturnRecordDetail = async (id: number) => {
return await request.delete({ url: `/wms/customerreturn-record-detail/delete?id=` + id })
}
// 导出客户退货记录子 Excel
export const exportCustomerreturnRecordDetail = async (params) => {
return await request.download({ url: `/wms/customerreturn-record-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/customerreturn-record-detail/get-import-template' })
}

76
src/api/wms/customerreturnRecordMain/index.ts

@ -1,76 +0,0 @@
import request from '@/config/axios'
export interface CustomerreturnRecordMainVO {
requestNumber: string
jobNumber: string
deliverRecordNumber: string
deliverPlanNumber: string
customerCode: string
customerDockCode: string
carrierCode: string
transferMode: string
vehiclePlateNumber: string
fromWarehouseCode: string
toWarehouseCode: string
outTransactionType: string
inTransactionType: string
executeTime: Date
activeDate: Date
requestTime: Date
dueTime: Date
departmentCode: string
interfaceType: string
number: string
businessType: string
remark: string
createTime: Date
creatorId: string
code: string
fromLocationTypes: string
toLocationTypes: string
toAreaCodes: string
toDockCode: string
available: string
fromAreaCodes: string
}
// 查询客户退货记录主列表
export const getCustomerreturnRecordMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/customerreturn-record-main/senior', data })
} else {
return await request.get({ url: `/wms/customerreturn-record-main/page`, params })
}
}
// 查询客户退货记录主详情
export const getCustomerreturnRecordMain = async (id: number) => {
return await request.get({ url: `/wms/customerreturn-record-main/get?id=` + id })
}
// 新增客户退货记录主
export const createCustomerreturnRecordMain = async (data: CustomerreturnRecordMainVO) => {
return await request.post({ url: `/wms/customerreturn-record-main/create`, data })
}
// 修改客户退货记录主
export const updateCustomerreturnRecordMain = async (data: CustomerreturnRecordMainVO) => {
return await request.put({ url: `/wms/customerreturn-record-main/update`, data })
}
// 删除客户退货记录主
export const deleteCustomerreturnRecordMain = async (id: number) => {
return await request.delete({ url: `/wms/customerreturn-record-main/delete?id=` + id })
}
// 导出客户退货记录主 Excel
export const exportCustomerreturnRecordMain = async (params) => {
return await request.download({ url: `/wms/customerreturn-record-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/customerreturn-record-main/get-import-template' })
}

67
src/api/wms/customerreturnRequestDetail/index.ts

@ -1,67 +0,0 @@
import request from '@/config/axios'
export interface CustomerreturnRequestDetailVO {
soNumber: string
soLine: string
packingNumber: string
containerNumber: string
batch: string
inventoryStatus: string
fromOwnerCode: string
fromLocationCode: string
number: string
itemCode: string
remark: string
createTime: Date
creator: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
updateTime: Date
updater: string
toOwnerCode: string
}
// 查询客户退货申请子列表
export const getCustomerreturnRequestDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/customerreturn-request-detail/senior', data })
} else {
return await request.get({ url: `/wms/customerreturn-request-detail/page`, params })
}
}
// 查询客户退货申请子详情
export const getCustomerreturnRequestDetail = async (id: number) => {
return await request.get({ url: `/wms/customerreturn-request-detail/get?id=` + id })
}
// 新增客户退货申请子
export const createCustomerreturnRequestDetail = async (data: CustomerreturnRequestDetailVO) => {
return await request.post({ url: `/wms/customerreturn-request-detail/create`, data })
}
// 修改客户退货申请子
export const updateCustomerreturnRequestDetail = async (data: CustomerreturnRequestDetailVO) => {
return await request.put({ url: `/wms/customerreturn-request-detail/update`, data })
}
// 删除客户退货申请子
export const deleteCustomerreturnRequestDetail = async (id: number) => {
return await request.delete({ url: `/wms/customerreturn-request-detail/delete?id=` + id })
}
// 导出客户退货申请子 Excel
export const exportCustomerreturnRequestDetail = async (params) => {
return await request.download({ url: `/wms/customerreturn-request-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/customerreturn-request-detail/get-import-template' })
}

110
src/api/wms/customerreturnRequestMain/index.ts

@ -1,110 +0,0 @@
import request from '@/config/axios'
export interface CustomerreturnRequestMainVO {
requestNumber: string
deliverRecordNumber: string
deliverPlanNumber: string
customerCode: string
customerDockCode: string
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
fromWarehouseCode: string
fromLocationTypes: string
fromAreaCodes: string
toWarehouseCode: string
toLocationTypes: string
toAreaCodes: string
toDockCode: string
autoCommit: string
autoAgree: string
autoExecute: string
directCreateRecord: string
}
// 查询客户退货申请主列表
export const getCustomerreturnRequestMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/customerreturn-request-main/senior', data })
} else {
return await request.get({ url: `/wms/customerreturn-request-main/page`, params })
}
}
// 查询客户退货申请主详情
export const getCustomerreturnRequestMain = async (id: number) => {
return await request.get({ url: `/wms/customerreturn-request-main/get?id=` + id })
}
// 新增客户退货申请主
export const createCustomerreturnRequestMain = async (data: CustomerreturnRequestMainVO) => {
return await request.post({ url: `/wms/customerreturn-request-main/create`, data })
}
// 修改客户退货申请主
export const updateCustomerreturnRequestMain = async (data: CustomerreturnRequestMainVO) => {
return await request.put({ url: `/wms/customerreturn-request-main/update`, data })
}
// 删除客户退货申请主
export const deleteCustomerreturnRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/customerreturn-request-main/delete?id=` + id })
}
// 导出客户退货申请主 Excel
export const exportCustomerreturnRequestMain = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/customerreturn-request-main/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/customerreturn-request-main/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/customerreturn-request-main/get-import-template' })
}
// 关闭客户退货申请主 Excel
export const close = async (id) => {
return await request.put({ url: `/wms/customerreturn-request-main/close?id=` + id })
}
// 重新添加客户退货申请主 Excel
export const reAdd = async (id) => {
return await request.put({ url: `/wms/customerreturn-request-main/reAdd?id=` + id })
}
// 提交客户退货申请主 Excel
export const submit = async (id) => {
return await request.put({ url: `/wms/customerreturn-request-main/submit?id=` + id })
}
// 审批通过客户退货申请主 Excel
export const agree = async (id) => {
return await request.put({ url: `/wms/customerreturn-request-main/agree?id=` + id })
}
// 审批驳回客户退货申请主 Excel
export const refused = async (id) => {
return await request.put({ url: `/wms/customerreturn-request-main/refused?id=` + id })
}
// 处理驳回客户退货申请主 Excel
export const handle = async (id) => {
return await request.put({ url: `/wms/customerreturn-request-main/handle?id=` + id })
}

71
src/api/wms/customersettleRecordDetail/index.ts

@ -1,71 +0,0 @@
import request from '@/config/axios'
export interface CustomersettleRecordDetailVO {
soNumber: string
soLine: string
ownerCode: string
packingNumber: string
batch: string
inventoryStatus: string
fromLocationCode: string
fromLocationGroupCode: string
fromAreaCode: string
singlePrice: number
amount: number
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
interfaceType: string
code: string
number: string
itemCode: string
remark: string
createTime: Date
creator: string
siteId: string
jobDetailId: string
}
// 查询客户结算记录子列表
export const getCustomersettleRecordDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/customersettle-record-detail/senior', data })
} else {
return await request.get({ url: `/wms/customersettle-record-detail/page`, params })
}
}
// 查询客户结算记录子详情
export const getCustomersettleRecordDetail = async (id: number) => {
return await request.get({ url: `/wms/customersettle-record-detail/get?id=` + id })
}
// 新增客户结算记录子
export const createCustomersettleRecordDetail = async (data: CustomersettleRecordDetailVO) => {
return await request.post({ url: `/wms/customersettle-record-detail/create`, data })
}
// 修改客户结算记录子
export const updateCustomersettleRecordDetail = async (data: CustomersettleRecordDetailVO) => {
return await request.put({ url: `/wms/customersettle-record-detail/update`, data })
}
// 删除客户结算记录子
export const deleteCustomersettleRecordDetail = async (id: number) => {
return await request.delete({ url: `/wms/customersettle-record-detail/delete?id=` + id })
}
// 导出客户结算记录子 Excel
export const exportCustomersettleRecordDetail = async (params) => {
return await request.download({ url: `/wms/customersettle-record-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/customersettle-record-detail/get-import-template' })
}

67
src/api/wms/customersettleRecordMain/index.ts

@ -1,67 +0,0 @@
import request from '@/config/axios'
export interface CustomersettleRecordMainVO {
requestNumber: string
deliverRecordNumber: string
deliverPlanNumber: string
customerCode: string
outTransactionType: string
inTransactionYpe: string
executeTime: Date
activeDate: Date
requestTime: Date
dueTime: Date
departmentCode: string
interfaceType: string
code: string
number: string
businessType: string
createTime: Date
creator: string
remark: string
fromWarehouseCode: string
fromLocationTypes: string
fromAreaCodes: string
available: string
}
// 查询客户结算记录主列表
export const getCustomersettleRecordMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/customersettle-record-main/senior', data })
} else {
return await request.get({ url: `/wms/customersettle-record-main/page`, params })
}
}
// 查询客户结算记录主详情
export const getCustomersettleRecordMain = async (id: number) => {
return await request.get({ url: `/wms/customersettle-record-main/get?id=` + id })
}
// 新增客户结算记录主
export const createCustomersettleRecordMain = async (data: CustomersettleRecordMainVO) => {
return await request.post({ url: `/wms/customersettle-record-main/create`, data })
}
// 修改客户结算记录主
export const updateCustomersettleRecordMain = async (data: CustomersettleRecordMainVO) => {
return await request.put({ url: `/wms/customersettle-record-main/update`, data })
}
// 删除客户结算记录主
export const deleteCustomersettleRecordMain = async (id: number) => {
return await request.delete({ url: `/wms/customersettle-record-main/delete?id=` + id })
}
// 导出客户结算记录主 Excel
export const exportCustomersettleRecordMain = async (params) => {
return await request.download({ url: `/wms/customersettle-record-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/customersettle-record-main/get-import-template' })
}

65
src/api/wms/customersettleRequestDetail/index.ts

@ -1,65 +0,0 @@
import request from '@/config/axios'
export interface CustomersettleRequestDetailVO {
soNumber: string
soLine: string
fromOwnerCode: string
packingNumber: string
batch: string
inventoryStatus: string
fromLocationCode: string
number: string
itemCode: string
remark: string
createTime: Date
creator: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
updateTime: Date
updater: string
}
// 查询客户结算申请子列表
export const getCustomersettleRequestDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/customersettle-request-detail/senior', data })
} else {
return await request.get({ url: `/wms/customersettle-request-detail/page`, params })
}
}
// 查询客户结算申请子详情
export const getCustomersettleRequestDetail = async (id: number) => {
return await request.get({ url: `/wms/customersettle-request-detail/get?id=` + id })
}
// 新增客户结算申请子
export const createCustomersettleRequestDetail = async (data: CustomersettleRequestDetailVO) => {
return await request.post({ url: `/wms/customersettle-request-detail/create`, data })
}
// 修改客户结算申请子
export const updateCustomersettleRequestDetail = async (data: CustomersettleRequestDetailVO) => {
return await request.put({ url: `/wms/customersettle-request-detail/update`, data })
}
// 删除客户结算申请子
export const deleteCustomersettleRequestDetail = async (id: number) => {
return await request.delete({ url: `/wms/customersettle-request-detail/delete?id=` + id })
}
// 导出客户结算申请子 Excel
export const exportCustomersettleRequestDetail = async (params) => {
return await request.download({ url: `/wms/customersettle-request-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/customersettle-request-detail/get-import-template' })
}

96
src/api/wms/customersettleRequestMain/index.ts

@ -1,96 +0,0 @@
import request from '@/config/axios'
export interface CustomersettleRequestMainVO {
deliverRecordNumber: string
deliverPlanNumber: string
customerCode: string
fromWarehouseCode: string
fromLocationTypes: string
fromAreaCodes: 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 getCustomersettleRequestMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/customersettle-request-main/senior', data })
} else {
return await request.get({ url: `/wms/customersettle-request-main/page`, params })
}
}
// 查询客户结算申请主详情
export const getCustomersettleRequestMain = async (id: number) => {
return await request.get({ url: `/wms/customersettle-request-main/get?id=` + id })
}
// 新增客户结算申请主
export const createCustomersettleRequestMain = async (data: CustomersettleRequestMainVO) => {
return await request.post({ url: `/wms/customersettle-request-main/create`, data })
}
// 修改客户结算申请主
export const updateCustomersettleRequestMain = async (data: CustomersettleRequestMainVO) => {
return await request.put({ url: `/wms/customersettle-request-main/update`, data })
}
// 删除客户结算申请主
export const deleteCustomersettleRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/customersettle-request-main/delete?id=` + id })
}
// 导出客户结算申请主 Excel
export const exportCustomersettleRequestMain = async (params) => {
return await request.download({ url: `/wms/customersettle-request-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/customersettle-request-main/get-import-template' })
}
// 关闭
export const close = (id) => {
return request.put({ url: '/wms/customersettle-request-main/close?id=' + id })
}
// 重新添加
export const reAdd = (id) => {
return request.put({ url: '/wms/customersettle-request-main/reAdd?id=' + id })
}
// 提交审批
export const submit = (id) => {
return request.put({ url: '/wms/customersettle-request-main/submit?id=' + id })
}
// 驳回
export const refused = (id) => {
return request.put({ url: '/wms/customersettle-request-main/refused?id=' + id })
}
// 审批通过
export const agree = (id) => {
return request.put({ url: '/wms/customersettle-request-main/agree?id=' + id })
}
// 处理
export const handle = (id) => {
return request.put({ url: '/wms/customersettle-request-main/handle?id=' + id })
}

65
src/api/wms/deliverJobDetail/index.ts

@ -1,65 +0,0 @@
import request from '@/config/axios'
export interface DeliverJobDetailVO {
soNumber: string
soLine: string
packingNumber: string
batch: string
inventoryStatus: string
ownerCode: string
containerNumber: string
fromLocationCode: string
toLocationCode: string
itemCode: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
number: string
remark: string
createTime: Date
creator: string
}
// 查询发货任务子列表
export const getDeliverJobDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/deliver-job-detail/senior', data })
} else {
return await request.get({ url: `/wms/deliver-job-detail/page`, params })
}
}
// 查询发货任务子详情
export const getDeliverJobDetail = async (id: number) => {
return await request.get({ url: `/wms/deliver-job-detail/get?id=` + id })
}
// 新增发货任务子
export const createDeliverJobDetail = async (data: DeliverJobDetailVO) => {
return await request.post({ url: `/wms/deliver-job-detail/create`, data })
}
// 修改发货任务子
export const updateDeliverJobDetail = async (data: DeliverJobDetailVO) => {
return await request.put({ url: `/wms/deliver-job-detail/update`, data })
}
// 删除发货任务子
export const deleteDeliverJobDetail = async (id: number) => {
return await request.delete({ url: `/wms/deliver-job-detail/delete?id=` + id })
}
// 导出发货任务子 Excel
export const exportDeliverJobDetail = async (params) => {
return await request.download({ url: `/wms/deliver-job-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/deliver-job-detail/get-import-template' })
}

115
src/api/wms/deliverJobMain/index.ts

@ -1,115 +0,0 @@
import request from '@/config/axios'
export interface DeliverJobMainVO {
requestNumber: string
deliverPlanNumber: string
customerDeliverNumber: string
customerCode: string
customerDockCode: string
deliverDock: string
carrierCode: string
transferMode: string
vehiclePlateNumber: string
fromWarehouseCode: string
toWarehouseCode: string
requestTime: Date
requestDueTime: Date
status: string
expiredTime: Date
updateTime: Date
updater: string
jobStageStatus: string
priority: number
priorityincrement: number
departmentCode: string
acceptUserId: string
acceptTime: Date
completeUserId: string
completeTime: Date
fromLocationTypes: string
toLocationTypes: string
number: string
businessType: string
remark: string
createTime: Date
creator: string
ruleUserId: number
fromAreaCodes: string
toAreaCodes: string
fromDockCode: string
autoComplete: string
allowModifyLocation: string
allowModifyQty: string
allowBiggerQty: string
allowSmallerQty: string
allowModifyInventoryStatus: string
allowContinuousScanning: string
allowPartialComplete: string
allowModifyBatch: string
allowModifyPackingNumber: string
}
// 查询发货任务主列表
export const getDeliverJobMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/deliver-job-main/senior', data })
} else {
return await request.get({ url: `/wms/deliver-job-main/page`, params })
}
}
// 查询发货任务主详情
export const getDeliverJobMain = async (id: number) => {
return await request.get({ url: `/wms/deliver-job-main/get?id=` + id })
}
// 新增发货任务主
export const createDeliverJobMain = async (data: DeliverJobMainVO) => {
return await request.post({ url: `/wms/deliver-job-main/create`, data })
}
// 修改发货任务主
export const updateDeliverJobMain = async (data: DeliverJobMainVO) => {
return await request.put({ url: `/wms/deliver-job-main/update`, data })
}
// 删除发货任务主
export const deleteDeliverJobMain = async (id: number) => {
return await request.delete({ url: `/wms/deliver-job-main/delete?id=` + id })
}
// 导出发货任务主 Excel
export const exportDeliverJobMain = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/deliver-job-main/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/deliver-job-main/export-excel`, params }) }
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/deliver-job-main/get-import-template' })
}
// 承接发货任务 Excel
export const acceptDeliverJobMain = async (id) => {
return await request.put({ url: `/wms/deliver-job-main/accept?id=` + id })
}
// 取消承接发货任务 Excel
export const abandonDeliverJobMain = async (id) => {
return await request.put({ url: `/wms/deliver-job-main/abandon?id=` + id })
}
// 关闭发货任务主 Excel
export const closeDeliverJobMain = async (id) => {
return await request.put({ url: `/wms/deliver-job-main/close?id=` + id })
}
// 执行发货任务主
export const executeDeliverJobMain = async (data: DeliverJobMainVO) => {
return await request.put({ url: `/wms/deliver-job-main/execute`, data })
}

53
src/api/wms/deliverPlanDetail/index.ts

@ -1,53 +0,0 @@
import request from '@/config/axios'
export interface DeliverPlanDetailVO {
soNumber: string
soLine: string
customerDockCode: string
project: string
number: string
itemCode: string
remark: string
createTime: Date
creator: string
planQty: number
uom: string
updateTime: Date
updater: string
available: string
}
// 查询发货计划子列表
export const selectDetailByMasterID = async (id: number) => {
return await request.get({ url: `/wms/deliver-plan-detail/detailList?id=` + id })
}
// 查询发货计划子列表
export const getDeliverPlanDetailPage = async (params) => {
return await request.get({ url: `/wms/deliver-plan-detail/page`, params })
}
// 查询发货计划子详情
export const getDeliverPlanDetail = async (id: number) => {
return await request.get({ url: `/wms/deliver-plan-detail/get?id=` + id })
}
// 新增发货计划子
export const createDeliverPlanDetail = async (data: DeliverPlanDetailVO) => {
return await request.post({ url: `/wms/deliver-plan-detail/create`, data })
}
// 修改发货计划子
export const updateDeliverPlanDetail = async (data: DeliverPlanDetailVO) => {
return await request.put({ url: `/wms/deliver-plan-detail/update`, data })
}
// 删除发货计划子
export const deleteDeliverPlanDetail = async (id: number) => {
return await request.delete({ url: `/wms/deliver-plan-detail/delete?id=` + id })
}
// 导出发货计划子 Excel
export const exportDeliverPlanDetail = async (params) => {
return await request.download({ url: `/wms/deliver-plan-detail/export-excel`, params })
}

93
src/api/wms/deliverPlanMain/index.ts

@ -1,93 +0,0 @@
import request from '@/config/axios'
export interface DeliverPlanMainVO {
customerCode: string
planDate: Date
number: string
businessType: string
remark: string
createTime: Date
creator: string
beginTime: Date
endTime: Date
status: string
updateTime: Date
updater: string
available: string
}
// 查询发货计划主列表
export const getDeliverPlanMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/deliver-plan-main/senior', data })
} else {
return await request.get({ url: `/wms/deliver-plan-main/page`, params })
}
}
// 查询发货计划主详情
export const getDeliverPlanMain = async (id: number) => {
return await request.get({ url: `/wms/deliver-plan-main/get?id=` + id })
}
// 新增发货计划主
export const createDeliverPlanMain = async (data: DeliverPlanMainVO) => {
return await request.post({ url: `/wms/deliver-plan-main/create`, data })
}
// 修改发货计划主
export const updateDeliverPlanMain = async (data: DeliverPlanMainVO) => {
return await request.put({ url: `/wms/deliver-plan-main/update`, data })
}
// 删除发货计划主
export const deleteDeliverPlanMain = async (id: number) => {
return await request.delete({ url: `/wms/deliver-plan-main/delete?id=` + id })
}
// 导出发货计划主 Excel
export const exportDeliverPlanMain = async (params) => {
return await request.download({ url: `/wms/deliver-plan-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/deliver-plan-main/get-import-template' })
}
// 关闭
export const close = (id) => {
return request.put({ url: '/wms/deliver-plan-main/close?id=' + id })
}
// 提交审批
export const submit = (id) => {
return request.put({ url: '/wms/deliver-plan-main/submit?id=' + id })
}
// 打开
export const open = (id) => {
return request.put({ url: '/wms/deliver-plan-main/open?id=' + id })
}
// 驳回
export const reject = (id) => {
return request.put({ url: '/wms/deliver-plan-main/reject?id=' + id })
}
// 通过
export const agree = (id) => {
return request.put({ url: '/wms/deliver-plan-main/agree?id=' + id })
}
// 发布
export const publish = (id) => {
return request.put({ url: '/wms/deliver-plan-main/publish?id=' + id })
}
// 重置
export const resetting = (id) => {
return request.put({ url: '/wms/deliver-plan-main/resetting?id=' + id })
}

76
src/api/wms/deliverRecordDetail/index.ts

@ -1,76 +0,0 @@
import request from '@/config/axios'
export interface DeliverRecordDetailVO {
soNumber: string
soLine: string
packingNumber: string
batch: string
inventoryStatus: string
fromOwnerCode: string
fromContainerNumber: string
fromLocationCode: string
fromLocationGroupCode: string
fromAreaCode: string
toOwnerCode: string
toContainerNumber: string
toLocationCode: string
toLocationGroupCode: string
toAreaCode: string
singlePrice: number
amount: number
number: string
itemCode: string
remark: string
createTime: Date
creator: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
code: string
interfaceType: string
jobDetailId: string
}
// 查询发货记录子列表
export const getDeliverRecordDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/deliver-record-detail/senior', data })
} else {
return await request.get({ url: `/wms/deliver-record-detail/page`, params })
}
}
// 查询发货记录子详情
export const getDeliverRecordDetail = async (id: number) => {
return await request.get({ url: `/wms/deliver-record-detail/get?id=` + id })
}
// 新增发货记录子
export const createDeliverRecordDetail = async (data: DeliverRecordDetailVO) => {
return await request.post({ url: `/wms/deliver-record-detail/create`, data })
}
// 修改发货记录子
export const updateDeliverRecordDetail = async (data: DeliverRecordDetailVO) => {
return await request.put({ url: `/wms/deliver-record-detail/update`, data })
}
// 删除发货记录子
export const deleteDeliverRecordDetail = async (id: number) => {
return await request.delete({ url: `/wms/deliver-record-detail/delete?id=` + id })
}
// 导出发货记录子 Excel
export const exportDeliverRecordDetail = async (params) => {
return await request.download({ url: `/wms/deliver-record-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/deliver-record-detail/get-import-template' })
}

76
src/api/wms/deliverRecordMain/index.ts

@ -1,76 +0,0 @@
import request from '@/config/axios'
export interface DeliverRecordMainVO {
requestNumber: string
jobNumber: string
deliverPlanNumber: string
customerDeliverNumber: string
customerCode: string
customerDockCode: string
carrierCode: string
transferMode: string
vehiclePlateNumber: string
fromWarehouseCode: string
toWarehouseCode: string
outTransactionType: string
inTransactionType: string
executeTime: Date
activeDate: Date
requestTime: Date
dueTime: Date
departmentCode: string
interfaceType: string
number: string
businessType: string
remark: string
createTime: Date
creator: string
code: string
fromLocationTypes: string
fromAreaCodes: string
toLocationTypes: string
toAreaCodes: string
fromDockCode: string
available: string
}
// 查询发货记录主列表
export const getDeliverRecordMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/deliver-record-main/senior', data })
} else {
return await request.get({ url: `/wms/deliver-record-main/page`, params })
}
}
// 查询发货记录主详情
export const getDeliverRecordMain = async (id: number) => {
return await request.get({ url: `/wms/deliver-record-main/get?id=` + id })
}
// 新增发货记录主
export const createDeliverRecordMain = async (data: DeliverRecordMainVO) => {
return await request.post({ url: `/wms/deliver-record-main/create`, data })
}
// 修改发货记录主
export const updateDeliverRecordMain = async (data: DeliverRecordMainVO) => {
return await request.put({ url: `/wms/deliver-record-main/update`, data })
}
// 删除发货记录主
export const deleteDeliverRecordMain = async (id: number) => {
return await request.delete({ url: `/wms/deliver-record-main/delete?id=` + id })
}
// 导出发货记录主 Excel
export const exportDeliverRecordMain = async (params) => {
return await request.download({ url: `/wms/deliver-record-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/deliver-record-main/get-import-template' })
}

67
src/api/wms/deliverRequestDetail/index.ts

@ -1,67 +0,0 @@
import request from '@/config/axios'
export interface DeliverRequestDetailVO {
soNumber: string
soLine: string
packingNumber: string
containerNumber: string
batch: string
inventoryStatus: string
toOwnerCode: string
toLocationCode: string
number: string
remark: string
createTime: Date
creator: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
updateTime: Date
updater: string
itemCode: string
fromOwnerCode: string
}
// 查询发货申请子列表
export const getDeliverRequestDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/deliver-request-detail/senior', data })
} else {
return await request.get({ url: `/wms/deliver-request-detail/page`, params })
}
}
// 查询发货申请子详情
export const getDeliverRequestDetail = async (id: number) => {
return await request.get({ url: `/wms/deliver-request-detail/get?id=` + id })
}
// 新增发货申请子
export const createDeliverRequestDetail = async (data: DeliverRequestDetailVO) => {
return await request.post({ url: `/wms/deliver-request-detail/create`, data })
}
// 修改发货申请子
export const updateDeliverRequestDetail = async (data: DeliverRequestDetailVO) => {
return await request.put({ url: `/wms/deliver-request-detail/update`, data })
}
// 删除发货申请子
export const deleteDeliverRequestDetail = async (id: number) => {
return await request.delete({ url: `/wms/deliver-request-detail/delete?id=` + id })
}
// 导出发货申请子 Excel
export const exportDeliverRequestDetail = async (params) => {
return await request.download({ url: `/wms/deliver-request-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/deliver-request-detail/get-import-template' })
}

103
src/api/wms/deliverRequestMain/index.ts

@ -1,103 +0,0 @@
import request from '@/config/axios'
export interface DeliverRequestMainVO {
deliverPlanNumber: string
customerDeliverNumber: string
customerCode: string
customerDockCode: string
carrierCode: string
transferMode: string
vehiclePlateNumber: string
fromWarehouseCode: string
toWarehouseCode: string
fromLocationTypes: string
fromAreaCodes: string
number: string
businessType: string
remark: string
createTime: Date
creator: string
requestTime: Date
dueTime: Date
departmentCode: string
status: string
updateTime: Date
updater: string
toLocationTypes: string
toAreaCodes: string
fromDockCode: string
autoCommit: string
autoAgree: string
autoExecute: string
directCreateRecord: string
}
// 查询发货申请主列表
export const getDeliverRequestMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/deliver-request-main/senior', data })
} else {
return await request.get({ url: `/wms/deliver-request-main/page`, params })
}
}
// 查询发货申请主详情
export const getDeliverRequestMain = async (id: number) => {
return await request.get({ url: `/wms/deliver-request-main/get?id=` + id })
}
// 新增发货申请主
export const createDeliverRequestMain = async (data: DeliverRequestMainVO) => {
return await request.post({ url: `/wms/deliver-request-main/create`, data })
}
// 修改发货申请主
export const updateDeliverRequestMain = async (data: DeliverRequestMainVO) => {
return await request.put({ url: `/wms/deliver-request-main/update`, data })
}
// 删除发货申请主
export const deleteDeliverRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/deliver-request-main/delete?id=` + id })
}
// 导出发货申请主 Excel
export const exportDeliverRequestMain = async (params) => {
return await request.download({ url: `/wms/deliver-request-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/deliver-request-main/get-import-template' })
}
// 关闭
export const close = (id) => {
return request.put({ url: '/wms/deliver-request-main/close?id=' + id })
}
// 重新添加
export const reAdd = (id) => {
return request.put({ url: '/wms/deliver-request-main/reAdd?id=' + id })
}
// 提交审批
export const submit = (id) => {
return request.put({ url: '/wms/deliver-request-main/submit?id=' + id })
}
// 驳回
export const refused = (id) => {
return request.put({ url: '/wms/deliver-request-main/refused?id=' + id })
}
// 审批通过
export const agree = (id) => {
return request.put({ url: '/wms/deliver-request-main/agree?id=' + id })
}
// 处理
export const handle = (id) => {
return request.put({ url: '/wms/deliver-request-main/handle?id=' + id })
}

46
src/api/wms/demandforecastingDetail/index.ts

@ -1,46 +0,0 @@
import request from '@/config/axios'
export interface DemandforecastingDetailVO {
predictTimeType: string
predictTime: Date
number: string
itemCode: string
remark: string
createTime: Date
creator: string
planQty: number
uom: string
updateTime: Date
updater: string
available: string
}
// 查询要货预测子列表
export const getDemandforecastingDetailPage = async (params) => {
return await request.get({ url: `/wms/demandforecasting-detail/page`, params })
}
// 查询要货预测子详情
export const getDemandforecastingDetail = async (id: number) => {
return await request.get({ url: `/wms/demandforecasting-detail/get?id=` + id })
}
// 新增要货预测子
export const createDemandforecastingDetail = async (data: DemandforecastingDetailVO) => {
return await request.post({ url: `/wms/demandforecasting-detail/create`, data })
}
// 修改要货预测子
export const updateDemandforecastingDetail = async (data: DemandforecastingDetailVO) => {
return await request.put({ url: `/wms/demandforecasting-detail/update`, data })
}
// 删除要货预测子
export const deleteDemandforecastingDetail = async (id: number) => {
return await request.delete({ url: `/wms/demandforecasting-detail/delete?id=` + id })
}
// 导出要货预测子 Excel
export const exportDemandforecastingDetail = async (params) => {
return await request.download({ url: `/wms/demandforecasting-detail/export-excel`, params })
}

59
src/api/wms/demandforecastingMain/index.ts

@ -1,59 +0,0 @@
import request from '@/config/axios'
export interface DemandforecastingMainVO {
supplierCode: string
version: string
publishTime: Date
number: string
businessType: string
remark: string
createTime: Date
creator: string
beginTime: Date
endTime: Date
status: string
updateTime: Date
updater: string
available: string
}
// 查询要货预测主列表
export const getDemandforecastingMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/demandforecasting-main/senior', data })
} else {
return await request.get({ url: `/wms/demandforecasting-main/page`, params })
}
}
// 查询要货预测主详情
export const getDemandforecastingMain = async (id: number) => {
return await request.get({ url: `/wms/demandforecasting-main/get?id=` + id })
}
// 新增要货预测主
export const createDemandforecastingMain = async (data: DemandforecastingMainVO) => {
return await request.post({ url: `/wms/demandforecasting-main/create`, data })
}
// 修改要货预测主
export const updateDemandforecastingMain = async (data: DemandforecastingMainVO) => {
return await request.put({ url: `/wms/demandforecasting-main/update`, data })
}
// 删除要货预测主
export const deleteDemandforecastingMain = async (id: number) => {
return await request.delete({ url: `/wms/demandforecasting-main/delete?id=` + id })
}
// 导出要货预测主 Excel
export const exportDemandforecastingMain = async (params) => {
return await request.download({ url: `/wms/demandforecasting-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/demandforecasting-main/get-import-template' })
}

35
src/api/wms/detail/index.ts

@ -1,35 +0,0 @@
import request from '@/config/axios'
// 查询备注列表
export const getRemarkPage = async (params) => {
return await request.get({ url: `/infra/remark/list`, params })
}
// // 查询库区详情
// export const getArea = async (id: number) => {
// return await request.get({ url: `/wms/areabasic/get?id=` + id })
// }
// 新增备注
export const createRemark= async (data) => {
return await request.post({ url: `/infra/remark/create`, data })
}
// 查询变更记录列表
export const getChangeRecordPage = async (params) => {
return await request.get({ url: `/infra/trends/list`, params })
}
// // 修改库区
// export const updateArea = async (data: AreaVO) => {
// return await request.put({ url: `/wms/areabasic/update`, data })
// }
// // 删除库区
// export const deleteArea = async (id: number) => {
// return await request.delete({ url: `/wms/areabasic/delete?id=` + id })
// }
// // 导出库区 Excel
// export const exportArea = async (params) => {
// return await request.download({ url: `/wms/areabasic/export-excel`, params })
// }

66
src/api/wms/dismantleRecordDetailb/index.ts

@ -1,66 +0,0 @@
import request from '@/config/axios'
export interface DismantleRecordDetailbVO {
processCode: string
bomVersion: string
batch: string
toLocationCode: string
toLocationGroupCode: string
toAreaCode: string
inventoryStatus: string
packingNumber: string
number: string
itemCode: string
remark: string
createTime: Date
creator: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
uom: string
code: string
interfaceType: string
jobDetailId: string
}
// 查询制品拆解记录子列表
export const getDismantleRecordDetailbPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/dismantle-record-detailb/senior', data })
} else {
return await request.get({ url: `/wms/dismantle-record-detailb/page`, params })
}
}
// 查询制品拆解记录子详情
export const getDismantleRecordDetailb = async (id: number) => {
return await request.get({ url: `/wms/dismantle-record-detailb/get?id=` + id })
}
// 新增制品拆解记录子
export const createDismantleRecordDetailb = async (data: DismantleRecordDetailbVO) => {
return await request.post({ url: `/wms/dismantle-record-detailb/create`, data })
}
// 修改制品拆解记录子
export const updateDismantleRecordDetailb = async (data: DismantleRecordDetailbVO) => {
return await request.put({ url: `/wms/dismantle-record-detailb/update`, data })
}
// 删除制品拆解记录子
export const deleteDismantleRecordDetailb = async (id: number) => {
return await request.delete({ url: `/wms/dismantle-record-detailb/delete?id=` + id })
}
// 导出制品拆解记录子 Excel
export const exportDismantleRecordDetailb = async (params) => {
return await request.download({ url: `/wms/dismantle-record-detailb/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/dismantle-record-detailb/get-import-template' })
}

61
src/api/wms/dismantleRequestDetailb/index.ts

@ -1,61 +0,0 @@
import request from '@/config/axios'
export interface DismantleRequestDetailbVO {
processCode: string
bomVersion: string
itemCode: string
number: string
remark: string
createTime: Date
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
updateTime: Date
updater: string
creator: string
siteId: string
}
// 查询制品拆解申请子列表
export const getDismantleRequestDetailbPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/dismantle-request-detailb/senior', data })
} else {
return await request.get({ url: `/wms/dismantle-request-detailb/page`, params })
}
}
// 查询制品拆解申请子详情
export const getDismantleRequestDetailb = async (id: number) => {
return await request.get({ url: `/wms/dismantle-request-detailb/get?id=` + id })
}
// 新增制品拆解申请子
export const createDismantleRequestDetailb = async (data: DismantleRequestDetailbVO) => {
return await request.post({ url: `/wms/dismantle-request-detailb/create`, data })
}
// 修改制品拆解申请子
export const updateDismantleRequestDetailb = async (id, data) => {
return await request.post({ url: `/wms/dismantle-request-detailb/update?id=`+id, data })
}
// 删除制品拆解申请子
export const deleteDismantleRequestDetailb = async (id: number) => {
return await request.delete({ url: `/wms/dismantle-request-detailb/delete?id=` + id })
}
// 导出制品拆解申请子 Excel
export const exportDismantleRequestDetailb = async (params) => {
return await request.download({ url: `/wms/dismantle-request-detailb/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/dismantle-request-detailb/get-import-template' })
}

67
src/api/wms/dock/index.ts

@ -1,67 +0,0 @@
import request from '@/config/axios'
export interface DockVO {
code: string
name: string
description: string
city: string
address: string
type: string
warehouseCode: string
defaultLocationCode: string
contactPerson: string
contactPhone: string
available: number
activeTime: Date
expireTime: Date
remark: string
}
// 查询月台列表
export const getDockPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/dock/senior', data })
} else {
return await request.get({ url: `/wms/dock/page`, params })
}
}
// 查询月台列表
export const getDockList = async (params) => {
return await request.get({ url: `/wms/dock/list`, params })
}
// 查询月台详情
export const getDock = async (id: number) => {
return await request.get({ url: `/wms/dock/get?id=` + id })
}
// 新增月台
export const createDock = async (data: DockVO) => {
return await request.post({ url: `/wms/dock/create`, data })
}
// 修改月台
export const updateDock = async (data: DockVO) => {
return await request.put({ url: `/wms/dock/update`, data })
}
// 删除月台
export const deleteDock = async (id: number) => {
return await request.delete({ url: `/wms/dock/delete?id=` + id })
}
// 导出月台 Excel
export const exportDock = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/dock/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/dock/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/dock/get-import-template' })
}

60
src/api/wms/documentsetting/index.ts

@ -1,60 +0,0 @@
import request from '@/config/axios'
export interface DocumentsettingVO {
code: string
name: string
description: string
type: string
businessType: string
numberPrefix: string
dateFormat: string
serialLength: number
separatorStr: string
resetPeriod: string
activeTime: Date
expireTime: Date
remark: string
available: string
isSoftDeleted: string
}
// 查询单据设置列表
export const getDocumentsettingPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/documentsetting/senior', data })
} else {
return await request.get({ url: `/wms/documentsetting/page`, params })
}
}
// 查询单据设置详情
export const getDocumentsetting = async (id: number) => {
return await request.get({ url: `/wms/documentsetting/get?id=` + id })
}
// 新增单据设置
export const createDocumentsetting = async (data: DocumentsettingVO) => {
return await request.post({ url: `/wms/documentsetting/create`, data })
}
// 修改单据设置
export const updateDocumentsetting = async (data: DocumentsettingVO) => {
return await request.put({ url: `/wms/documentsetting/update`, data })
}
// 删除单据设置
export const deleteDocumentsetting = async (id: number) => {
return await request.delete({ url: `/wms/documentsetting/delete?id=` + id })
}
// 导出单据设置 Excel
export const exportDocumentsetting = async (params) => {
return await request.download({ url: `/wms/documentsetting/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/documentsetting/get-import-template' })
}

64
src/api/wms/enterprise/index.ts

@ -1,64 +0,0 @@
import request from '@/config/axios'
export interface EnterpriseVO {
id: number
code: string
name: string
shortName: string
address: string
available: string
activeTime: Date
expireTime: Date
remark: string
deletionTime: Date
deleterId: string
extraProperties: string
concurrencyStamp: string
siteId: string
}
// 查询企业列表
export const getEnterprisePage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/enterprise/senior', data })
} else {
return await request.get({ url: `/wms/enterprise/page`, params })
}
}
// 查询企业详情
export const getEnterprise = async (id: number) => {
return await request.get({ url: `/wms/enterprise/get?id=` + id })
}
// 新增企业
export const createEnterprise = async (data: EnterpriseVO) => {
return await request.post({ url: `/wms/enterprise/create`, data })
}
// 修改企业
export const updateEnterprise = async (data: EnterpriseVO) => {
return await request.put({ url: `/wms/enterprise/update`, data })
}
// 删除企业
export const deleteEnterprise = async (id: number) => {
return await request.delete({ url: `/wms/enterprise/delete?id=` + id })
}
// 导出企业 Excel
export const exportEnterprise = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/enterprise/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/enterprise/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/enterprise/get-import-template' })
}

55
src/api/wms/expectin/index.ts

@ -1,55 +0,0 @@
import request from '@/config/axios'
export interface ExpectinVO {
jobNumber: string
businessType: string
itemCode: string
batch: string
inventoryStatus: string
uom: string
qty: number
locationCode: string
warehouseCode: string
ownerCode: string
}
// 查询预计入库存列表
export const getExpectinPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/expectin/senior', data })
} else {
return await request.get({ url: `/wms/expectin/page`, params })
}
}
// 查询预计入库存详情
export const getExpectin = async (id: number) => {
return await request.get({ url: `/wms/expectin/get?id=` + id })
}
// 新增预计入库存
export const createExpectin = async (data: ExpectinVO) => {
return await request.post({ url: `/wms/expectin/create`, data })
}
// 修改预计入库存
export const updateExpectin = async (data: ExpectinVO) => {
return await request.put({ url: `/wms/expectin/update`, data })
}
// 删除预计入库存
export const deleteExpectin = async (id: number) => {
return await request.delete({ url: `/wms/expectin/delete?id=` + id })
}
// 导出预计入库存 Excel
export const exportExpectin = async (params) => {
return await request.download({ url: `/wms/expectin/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/expectin/get-import-template' })
}

56
src/api/wms/expectout/index.ts

@ -1,56 +0,0 @@
import request from '@/config/axios'
export interface ExpectoutVO {
jobNumber: string
businessType: string
packingNumber: string
itemCode: string
batch: string
inventoryStatus: string
uom: string
qty: number
locationCode: string
warehouseCode: string
ownerCode: string
}
// 查询预计出库存列表
export const getExpectoutPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/expectout/senior', data })
} else {
return await request.get({ url: `/wms/expectout/page`, params })
}
}
// 查询预计出库存详情
export const getExpectout = async (id: number) => {
return await request.get({ url: `/wms/expectout/get?id=` + id })
}
// 新增预计出库存
export const createExpectout = async (data: ExpectoutVO) => {
return await request.post({ url: `/wms/expectout/create`, data })
}
// 修改预计出库存
export const updateExpectout = async (data: ExpectoutVO) => {
return await request.put({ url: `/wms/expectout/update`, data })
}
// 删除预计出库存
export const deleteExpectout = async (id: number) => {
return await request.delete({ url: `/wms/expectout/delete?id=` + id })
}
// 导出预计出库存 Excel
export const exportExpectout = async (params) => {
return await request.download({ url: `/wms/expectout/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/expectout/get-import-template' })
}

12
src/api/wms/file/index.ts

@ -1,12 +0,0 @@
import request from '@/config/axios'
// 查询变更记录列表
export const getFileList = async (params) => {
return await request.get({ url: `/infra/file/list`, params })
}
// 删除库区
export const deleteFile = async (id: number) => {
return await request.delete({ url: `/infra/file/delete?id=` + id })
}

0
src/api/wms/index.ts

60
src/api/wms/inspectJobDetail/index.ts

@ -1,60 +0,0 @@
import request from '@/config/axios'
export interface InspectJobDetailVO {
packingNumber: string
containerNumber: string
inventoryStatus: string
fromLocationCode: string
number: string
remark: string
createTime: Date
creator: string
itemCode: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
}
// 查询检验任务子列表
export const getInspectJobDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/inspect-job-detail/senior', data })
} else {
return await request.get({ url: `/wms/inspect-job-detail/page`, params })
}
}
// 查询检验任务子详情
export const getInspectJobDetail = async (id: number) => {
return await request.get({ url: `/wms/inspect-job-detail/get?id=` + id })
}
// 新增检验任务子
export const createInspectJobDetail = async (data: InspectJobDetailVO) => {
return await request.post({ url: `/wms/inspect-job-detail/create`, data })
}
// 修改检验任务子
export const updateInspectJobDetail = async (data: InspectJobDetailVO) => {
return await request.put({ url: `/wms/inspect-job-detail/update`, data })
}
// 删除检验任务子
export const deleteInspectJobDetail = async (id: number) => {
return await request.delete({ url: `/wms/inspect-job-detail/delete?id=` + id })
}
// 导出检验任务子 Excel
export const exportInspectJobDetail = async (params) => {
return await request.download({ url: `/wms/inspect-job-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/inspect-job-detail/get-import-template' })
}

96
src/api/wms/inspectJobMain/index.ts

@ -1,96 +0,0 @@
import request from '@/config/axios'
export interface InspectJobMainVO {
requestNumber: string
purchaseReceiptRecordNumber: string
supplierCode: string
warehouseCode: string
requestTime: Date
requestDueTime: Date
status: string
expiredTime: Date
updateTime: Date
updater: string
jobStageStatus: string
priority: number
priorityIncrement: number
departmentCode: string
acceptUserId: string
acceptTime: Date
completeUserId: string
completeTime: Date
fromLocationTypes: string
toLocationTypes: string
number: string
businessType: string
remark: string
createTime: Date
creator: string
poUmber: string
poLine: string
batch: string
itemCode: string
inspectType: string
nextAction: string
sampleMethod: string
uom: string
receiveQty: number
sampleQty: number
owner: string
autoComplete: string
allowModifyLocation: string
allowModifyQty: string
allowBiggerQty: string
allowSmallerQty: string
allowModifyInventoryStatus: string
allowContinuousScanning: string
allowPartialComplete: string
allowModifyBatch: string
allowModifyPackingNumber: string
}
// 查询检验任务主列表
export const getInspectJobMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/inspect-job-main/senior', data })
} else {
return await request.get({ url: `/wms/inspect-job-main/page`, params })
}
}
// 查询检验任务主详情
export const getInspectJobMain = async (id: number) => {
return await request.get({ url: `/wms/inspect-job-main/get?id=` + id })
}
// 新增检验任务主
export const createInspectJobMain = async (data: InspectJobMainVO) => {
return await request.post({ url: `/wms/inspect-job-main/create`, data })
}
// 修改检验任务主
export const updateInspectJobMain = async (data: InspectJobMainVO) => {
return await request.put({ url: `/wms/inspect-job-main/update`, data })
}
// 删除检验任务主
export const deleteInspectJobMain = async (id: number) => {
return await request.delete({ url: `/wms/inspect-job-main/delete?id=` + id })
}
// 导出检验任务主 Excel
export const exportInspectJobMain = async (params) => {
return await request.download({ url: `/wms/inspect-job-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/inspect-job-main/get-import-template' })
}
// 关闭检验任务主
export const closeInspectJobMain = (id: number) => {
return request.put({ url: '/wms/inspect-job-main/close?id=' + id })
}

76
src/api/wms/inspectRecordDetail/index.ts

@ -1,76 +0,0 @@
import request from '@/config/axios'
export interface InspectRecordDetailVO {
packingNumber: string
containerNumber: string
fromLocationCode: string
fromLocationGroupCode: string
fromAreaCode: string
sampleQty: number
goodQty: number
failedQty: number
crackQty: number
notPassedQty: number
failedReason: string
photos: string
inspectUser: string
inspectResult: string
appearance: string
volume: string
weight: string
otherProperties: string
number: string
itemCode: string
remark: string
createTime: Date
creator: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
uom: string
code: string
interfaceType: string
jobDetailId: string
}
// 查询检验记录子列表
export const getInspectRecordDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/inspect-record-detail/senior', data })
} else {
return await request.get({ url: `/wms/inspect-record-detail/page`, params })
}
}
// 查询检验记录子详情
export const getInspectRecordDetail = async (id: number) => {
return await request.get({ url: `/wms/inspect-record-detail/get?id=` + id })
}
// 新增检验记录子
export const createInspectRecordDetail = async (data: InspectRecordDetailVO) => {
return await request.post({ url: `/wms/inspect-record-detail/create`, data })
}
// 修改检验记录子
export const updateInspectRecordDetail = async (data: InspectRecordDetailVO) => {
return await request.put({ url: `/wms/inspect-record-detail/update`, data })
}
// 删除检验记录子
export const deleteInspectRecordDetail = async (id: number) => {
return await request.delete({ url: `/wms/inspect-record-detail/delete?id=` + id })
}
// 导出检验记录子 Excel
export const exportInspectRecordDetail = async (params) => {
return await request.download({ url: `/wms/inspect-record-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/inspect-record-detail/get-import-template' })
}

82
src/api/wms/inspectRecordMain/index.ts

@ -1,82 +0,0 @@
import request from '@/config/axios'
export interface InspectRecordMainVO {
requestNumber: string
jobNumber: string
purchaseReceiptRecordNumber: string
supplierCode: string
outTransactionType: string
inTransactionType: string
executeTime: Date
activeDate: Date
requestTime: Date
dueTime: Date
departmentCode: string
interfaceType: string
number: string
businessType: string
remark: string
createTime: Date
creator: string
code: string
poNumber: string
poLine: string
batch: string
inspectType: string
nextAction: string
sampleMethod: string
uom: string
receiveQty: number
batchGoodQty: number
batchFaildQty: number
batchCrackQty: number
batchNotPassedQty: number
itemCode: string
fromWarehouseCode: string
fromAreaCodes: string
ownerCode: string
available: string
sampleQty: number
fromLocationTypes: string
}
// 查询检验记录主列表
export const getInspectRecordMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/inspect-record-main/senior', data })
} else {
return await request.get({ url: `/wms/inspect-record-main/page`, params })
}
}
// 查询检验记录主详情
export const getInspectRecordMain = async (id: number) => {
return await request.get({ url: `/wms/inspect-record-main/get?id=` + id })
}
// 新增检验记录主
export const createInspectRecordMain = async (data: InspectRecordMainVO) => {
return await request.post({ url: `/wms/inspect-record-main/create`, data })
}
// 修改检验记录主
export const updateInspectRecordMain = async (data: InspectRecordMainVO) => {
return await request.put({ url: `/wms/inspect-record-main/update`, data })
}
// 删除检验记录主
export const deleteInspectRecordMain = async (id: number) => {
return await request.delete({ url: `/wms/inspect-record-main/delete?id=` + id })
}
// 导出检验记录主 Excel
export const exportInspectRecordMain = async (params) => {
return await request.download({ url: `/wms/inspect-record-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/inspect-record-main/get-import-template' })
}

58
src/api/wms/inspectRequestDetail/index.ts

@ -1,58 +0,0 @@
import request from '@/config/axios'
export interface InspectRequestDetailVO {
packingNumber: string
containerNumber: string
inventoryStatus: string
fromLocationCode: string
updateTime: Date
updater: string
itemCode: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
}
// 查询检验申请子列表
export const getInspectRequestDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/inspect-request-detail/senior', data })
} else {
return await request.get({ url: `/wms/inspect-request-detail/page`, params })
}
}
// 查询检验申请子详情
export const getInspectRequestDetail = async (id: number) => {
return await request.get({ url: `/wms/inspect-request-detail/get?id=` + id })
}
// 新增检验申请子
export const createInspectRequestDetail = async (data: InspectRequestDetailVO) => {
return await request.post({ url: `/wms/inspect-request-detail/create`, data })
}
// 修改检验申请子
export const updateInspectRequestDetail = async (data: InspectRequestDetailVO) => {
return await request.put({ url: `/wms/inspect-request-detail/update`, data })
}
// 删除检验申请子
export const deleteInspectRequestDetail = async (id: number) => {
return await request.delete({ url: `/wms/inspect-request-detail/delete?id=` + id })
}
// 导出检验申请子 Excel
export const exportInspectRequestDetail = async (params) => {
return await request.download({ url: `/wms/inspect-request-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/inspect-request-detail/get-import-template' })
}

106
src/api/wms/inspectRequestMain/index.ts

@ -1,106 +0,0 @@
import request from '@/config/axios'
export interface InspectRequestMainVO {
purchaseReceiptRecordNumber: string
supplierCode: string
number: string
businessType: string
fromWarehouseCode: string
fromAreaCodes: string
fromLocationTypes: string
remark: string
createTime: Date
creator: string
requestTime: Date
dueTime: Date
departmentCode: string
status: string
updateTime: Date
updater: string
poNumber: string
poLine: string
batch: string
itemCode: string
inspectType: string
nextAction: string
sampleMethod: string
uom: string
receiveQty: number
sampleQty: number
ownerCode: string
autoCommit: string
autoAgree: string
autoExecute: string
directCreateRecord: string
}
// 查询检验申请主列表
export const getInspectRequestMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/inspect-request-main/senior', data })
} else {
return await request.get({ url: `/wms/inspect-request-main/page`, params })
}
}
// 查询检验申请主详情
export const getInspectRequestMain = async (id: number) => {
return await request.get({ url: `/wms/inspect-request-main/get?id=` + id })
}
// 新增检验申请主
export const createInspectRequestMain = async (data: InspectRequestMainVO) => {
return await request.post({ url: `/wms/inspect-request-main/create`, data })
}
// 修改检验申请主
export const updateInspectRequestMain = async (data: InspectRequestMainVO) => {
return await request.put({ url: `/wms/inspect-request-main/update`, data })
}
// 删除检验申请主
export const deleteInspectRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/inspect-request-main/delete?id=` + id })
}
// 导出检验申请主 Excel
export const exportInspectRequestMain = async (params) => {
return await request.download({ url: `/wms/inspect-request-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/inspect-request-main/get-import-template' })
}
// 关闭检验申请主 Excel
export const closeInspectRequestMain = async (id) => {
return await request.put({ url: `/wms/inspect-request-main/close?id=` + id })
}
// 重新添加检验申请主 Excel
export const reAddInspectRequestMain = async (id) => {
return await request.put({ url: `/wms/inspect-request-main/reAdd?id=` + id })
}
// 提交检验申请主 Excel
export const submitInspectRequestMain = async (id) => {
return await request.put({ url: `/wms/inspect-request-main/submit?id=` + id })
}
// 审批通过检验申请主 Excel
export const agreeInspectRequestMain = async (id) => {
return await request.put({ url: `/wms/inspect-request-main/agree?id=` + id })
}
// 审批驳回检验申请主 Excel
export const refusedInspectRequestMain = async (id) => {
return await request.put({ url: `/wms/inspect-request-main/refused?id=` + id })
}
// 处理检验申请主 Excel
export const handleInspectRequestMain = async (id) => {
return await request.put({ url: `/wms/inspect-request-main/handle?id=` + id })
}

82
src/api/wms/inventorychangeRecordDetail/index.ts

@ -1,82 +0,0 @@
import request from '@/config/axios'
export interface InventorychangeRecordDetailVO {
locationCode: string
locationGroupCode: string
areaCode: string
fromQty: number
fromOwnerCode: string
fromPackingNumber: string
fromContainerNumber: string
fromBatch: string
fromAltBatch: string
fromArriveDate: Date
fromProduceDate: Date
fromExpireDate: Date
fromInventoryStatus: string
toQty: number
toOwnerCode: string
toPackingNumber: string
toContainerNumber: string
toBatch: string
toAltBatch: string
toArriveDate: Date
toProduceDate: Date
toExpireDate: Date
toInventoryStatus: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
code: string
interfaceType: string
number: string
itemCode: string
remark: string
createTime: Date
creator: string
jobDetailId: string
}
// 查询库存修改记录子列表
export const getInventorychangeRecordDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/inventorychange-record-detail/senior', data })
} else {
return await request.get({ url: `/wms/inventorychange-record-detail/page`, params })
}
}
// 查询库存修改记录子详情
export const getInventorychangeRecordDetail = async (id: number) => {
return await request.get({ url: `/wms/inventorychange-record-detail/get?id=` + id })
}
// 新增库存修改记录子
export const createInventorychangeRecordDetail = async (data: InventorychangeRecordDetailVO) => {
return await request.post({ url: `/wms/inventorychange-record-detail/create`, data })
}
// 修改库存修改记录子
export const updateInventorychangeRecordDetail = async (data: InventorychangeRecordDetailVO) => {
return await request.put({ url: `/wms/inventorychange-record-detail/update`, data })
}
// 删除库存修改记录子
export const deleteInventorychangeRecordDetail = async (id: number) => {
return await request.delete({ url: `/wms/inventorychange-record-detail/delete?id=` + id })
}
// 导出库存修改记录子 Excel
export const exportInventorychangeRecordDetail = async (params) => {
return await request.download({ url: `/wms/inventorychange-record-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/inventorychange-record-detail/get-import-template' })
}

62
src/api/wms/inventorychangeRecordMain/index.ts

@ -1,62 +0,0 @@
import request from '@/config/axios'
export interface InventorychangeRecordMainVO {
requestNumber: string
warehouseCode: string
outTransactionType: string
inTransactionType: string
executeTime: Date
activeDate: Date
requestTime: Date
dueTime: Date
departmentCode: string
interfaceType: string
code: string
number: string
businessType: string
remark: string
createTime: Date
creator: string
available: string
}
// 查询库存修改记录主列表
export const getInventorychangeRecordMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/inventorychange-record-main/senior', data })
} else {
return await request.get({ url: `/wms/inventorychange-record-main/page`, params })
}
}
// 查询库存修改记录主详情
export const getInventorychangeRecordMain = async (id: number) => {
return await request.get({ url: `/wms/inventorychange-record-main/get?id=` + id })
}
// 新增库存修改记录主
export const createInventorychangeRecordMain = async (data: InventorychangeRecordMainVO) => {
return await request.post({ url: `/wms/inventorychange-record-main/create`, data })
}
// 修改库存修改记录主
export const updateInventorychangeRecordMain = async (data: InventorychangeRecordMainVO) => {
return await request.put({ url: `/wms/inventorychange-record-main/update`, data })
}
// 删除库存修改记录主
export const deleteInventorychangeRecordMain = async (id: number) => {
return await request.delete({ url: `/wms/inventorychange-record-main/delete?id=` + id })
}
// 导出库存修改记录主 Excel
export const exportInventorychangeRecordMain = async (params) => {
return await request.download({ url: `/wms/inventorychange-record-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/inventorychange-record-main/get-import-template' })
}

81
src/api/wms/inventorychangeRequestDetail/index.ts

@ -1,81 +0,0 @@
import request from '@/config/axios'
export interface InventorychangeRequestDetailVO {
locationGroupCode: string
locationCode: string
areaCode: string
fromQty: number
fromOwnerCode: string
fromPackingNumber: string
fromContainerNumber: string
fromBatch: string
fromAltbatch: string
fromArriveDate: Date
fromProduceDate: Date
fromExpireDate: Date
frominventoryStatus: string
toQty: number
toOwnerCode: string
toPackingNumber: string
toContainerNumber: string
toBatch: string
toAltBatch: string
toArrivdAte: Date
toProduceDate: Date
toExpireDate: Date
toInventoryStatus: string
number: string
remark: string
createTime: Date
creator: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
updateTime: Date
updater: string
itemCode: string
}
// 查询库存修改申请子列表
export const getInventorychangeRequestDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/inventorychange-request-detail/senior', data })
} else {
return await request.get({ url: `/wms/inventorychange-request-detail/page`, params })
}
}
// 查询库存修改申请子详情
export const getInventorychangeRequestDetail = async (id: number) => {
return await request.get({ url: `/wms/inventorychange-request-detail/get?id=` + id })
}
// 新增库存修改申请子
export const createInventorychangeRequestDetail = async (data: InventorychangeRequestDetailVO) => {
return await request.post({ url: `/wms/inventorychange-request-detail/create`, data })
}
// 修改库存修改申请子
export const updateInventorychangeRequestDetail = async (data: InventorychangeRequestDetailVO) => {
return await request.put({ url: `/wms/inventorychange-request-detail/update`, data })
}
// 删除库存修改申请子
export const deleteInventorychangeRequestDetail = async (id: number) => {
return await request.delete({ url: `/wms/inventorychange-request-detail/delete?id=` + id })
}
// 导出库存修改申请子 Excel
export const exportInventorychangeRequestDetail = async (params) => {
return await request.download({ url: `/wms/inventorychange-request-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/inventorychange-request-detail/get-import-template' })
}

91
src/api/wms/inventorychangeRequestMain/index.ts

@ -1,91 +0,0 @@
import request from '@/config/axios'
export interface InventorychangeRequestMainVO {
warehouseCode: 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 getInventorychangeRequestMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/inventorychange-request-main/senior', data })
} else {
return await request.get({ url: `/wms/inventorychange-request-main/page`, params })
}
}
// 查询库存修改申请主详情
export const getInventorychangeRequestMain = async (id: number) => {
return await request.get({ url: `/wms/inventorychange-request-main/get?id=` + id })
}
// 新增库存修改申请主
export const createInventorychangeRequestMain = async (data: InventorychangeRequestMainVO) => {
return await request.post({ url: `/wms/inventorychange-request-main/create`, data })
}
// 修改库存修改申请主
export const updateInventorychangeRequestMain = async (data: InventorychangeRequestMainVO) => {
return await request.put({ url: `/wms/inventorychange-request-main/update`, data })
}
// 删除库存修改申请主
export const deleteInventorychangeRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/inventorychange-request-main/delete?id=` + id })
}
// 导出库存修改申请主 Excel
export const exportInventorychangeRequestMain = async (params) => {
return await request.download({ url: `/wms/inventorychange-request-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/inventorychange-request-main/get-import-template' })
}
// 关闭
export const close = (id) => {
return request.put({ url: '/wms/inventorychange-request-main/close?id=' + id })
}
// 重新添加
export const reAdd = (id) => {
return request.put({ url: '/wms/inventorychange-request-main/reAdd?id=' + id })
}
// 提交审批
export const submit = (id) => {
return request.put({ url: '/wms/inventorychange-request-main/submit?id=' + id })
}
// 驳回
export const refused = (id) => {
return request.put({ url: '/wms/inventorychange-request-main/refused?id=' + id })
}
// 审批通过
export const agree = (id) => {
return request.put({ url: '/wms/inventorychange-request-main/agree?id=' + id })
}
// 处理
export const handle = (id) => {
return request.put({ url: '/wms/inventorychange-request-main/handle?id=' + id })
}

75
src/api/wms/inventoryinitRecordDetail/index.ts

@ -1,75 +0,0 @@
import request from '@/config/axios'
export interface InventoryinitRecordDetailVO {
ownerCode: string
packingNumber: string
containerNumber: string
batch: string
altBatch: string
arriveDate: Date
produceDate: Date
expireDate: Date
inventoryStatus: string
locationCode: string
locationGroupCode: string
areaCode: string
stdPackQty: number
stdPackUnit: string
qty: number
singlePrice: number
amount: number
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
uom: string
code: string
interfaceType: string
number: string
itemCode: string
remark: string
createTime: Date
creator: string
jobDetailId: string
}
// 查询库存初始化记录子列表
export const getInventoryinitRecordDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/inventoryinit-record-detail/senior', data })
} else {
return await request.get({ url: `/wms/inventoryinit-record-detail/page`, params })
}
}
// 查询库存初始化记录子详情
export const getInventoryinitRecordDetail = async (id: number) => {
return await request.get({ url: `/wms/inventoryinit-record-detail/get?id=` + id })
}
// 新增库存初始化记录子
export const createInventoryinitRecordDetail = async (data: InventoryinitRecordDetailVO) => {
return await request.post({ url: `/wms/inventoryinit-record-detail/create`, data })
}
// 修改库存初始化记录子
export const updateInventoryinitRecordDetail = async (data: InventoryinitRecordDetailVO) => {
return await request.put({ url: `/wms/inventoryinit-record-detail/update`, data })
}
// 删除库存初始化记录子
export const deleteInventoryinitRecordDetail = async (id: number) => {
return await request.delete({ url: `/wms/inventoryinit-record-detail/delete?id=` + id })
}
// 导出库存初始化记录子 Excel
export const exportInventoryinitRecordDetail = async (params) => {
return await request.download({ url: `/wms/inventoryinit-record-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/inventoryinit-record-detail/get-import-template' })
}

67
src/api/wms/inventoryinitRecordMain/index.ts

@ -1,67 +0,0 @@
import request from '@/config/axios'
export interface InventoryinitRecordMainVO {
requestNumber: string
warehouseCode: string
outTransactionType: string
inTransactionType: string
executeTime: Date
activeDate: Date
requestTime: Date
dueTime: Date
departmentCode: string
interfaceType: string
code: string
number: string
businessType: string
remark: string
createTime: Date
creator: string
available: string
}
// 查询库存初始化记录主列表
export const getInventoryinitRecordMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/inventoryinit-record-main/senior', data })
} else {
return await request.get({ url: `/wms/inventoryinit-record-main/page`, params })
}
}
// 查询库存初始化记录主详情
export const getInventoryinitRecordMain = async (id: number) => {
return await request.get({ url: `/wms/inventoryinit-record-main/get?id=` + id })
}
// 新增库存初始化记录主
export const createInventoryinitRecordMain = async (data: InventoryinitRecordMainVO) => {
return await request.post({ url: `/wms/inventoryinit-record-main/create`, data })
}
// 修改库存初始化记录主
export const updateInventoryinitRecordMain = async (data: InventoryinitRecordMainVO) => {
return await request.put({ url: `/wms/inventoryinit-record-main/update`, data })
}
// 删除库存初始化记录主
export const deleteInventoryinitRecordMain = async (id: number) => {
return await request.delete({ url: `/wms/inventoryinit-record-main/delete?id=` + id })
}
// 导出库存初始化记录主 Excel
export const exportInventoryinitRecordMain = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/inventoryinit-record-main/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/inventoryinit-record-main/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/inventoryinit-record-main/get-import-template' })
}

72
src/api/wms/inventoryinitRequestDetail/index.ts

@ -1,72 +0,0 @@
import request from '@/config/axios'
export interface InventoryinitRequestDetailVO {
ownerCode: string
packingNumber: string
containerNumber: string
batch: string
altBatch: string
arriveDate: Date
produceDate: Date
expireDate: Date
inventoryStatus: string
locationCode: string
locationGroupCode: string
areaCode: string
stdPackQty: number
stdPackUnit: string
qty: number
number: string
remark: string
createTime: Date
creator: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
uom: string
updateTime: Date
updater: string
itemCode: string
}
// 查询库存初始化申请子列表
export const getInventoryinitRequestDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/inventoryinit-request-detail/senior', data })
} else {
return await request.get({ url: `/wms/inventoryinit-request-detail/page`, params })
}
}
// 查询库存初始化申请子详情
export const getInventoryinitRequestDetail = async (id: number) => {
return await request.get({ url: `/wms/inventoryinit-request-detail/get?id=` + id })
}
// 新增库存初始化申请子
export const createInventoryinitRequestDetail = async (data: InventoryinitRequestDetailVO) => {
return await request.post({ url: `/wms/inventoryinit-request-detail/create`, data })
}
// 修改库存初始化申请子
export const updateInventoryinitRequestDetail = async (data: InventoryinitRequestDetailVO) => {
return await request.put({ url: `/wms/inventoryinit-request-detail/update`, data })
}
// 删除库存初始化申请子
export const deleteInventoryinitRequestDetail = async (id: number) => {
return await request.delete({ url: `/wms/inventoryinit-request-detail/delete?id=` + id })
}
// 导出库存初始化申请子 Excel
export const exportInventoryinitRequestDetail = async (params) => {
return await request.download({ url: `/wms/inventoryinit-request-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/inventoryinit-request-detail/get-import-template' })
}

94
src/api/wms/inventoryinitRequestMain/index.ts

@ -1,94 +0,0 @@
import request from '@/config/axios'
export interface InventoryinitRequestMainVO {
warehouseCode: 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 getInventoryinitRequestMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/inventoryinit-request-main/senior', data })
} else {
return await request.get({ url: `/wms/inventoryinit-request-main/page`, params })
}
}
// 查询库存初始化申请主详情
export const getInventoryinitRequestMain = async (id: number) => {
return await request.get({ url: `/wms/inventoryinit-request-main/get?id=` + id })
}
// 新增库存初始化申请主
export const createInventoryinitRequestMain = async (data: InventoryinitRequestMainVO) => {
return await request.post({ url: `/wms/inventoryinit-request-main/create`, data })
}
// 修改库存初始化申请主
export const updateInventoryinitRequestMain = async (data: InventoryinitRequestMainVO) => {
return await request.put({ url: `/wms/inventoryinit-request-main/update`, data })
}
// 关闭库存初始化申请主 Excel
export const closeInventoryinitRequestMain = async (id) => {
return await request.put({ url: `/wms/inventoryinit-request-main/close?id=` + id })
}
// 重新添加库存初始化申请主 Excel
export const reAddInventoryinitRequestMain = async (id) => {
return await request.put({ url: `/wms/inventoryinit-request-main/reAdd?id=` + id })
}
// 审批驳回库存初始化申请主 Excel
export const refusedInventoryinitRequestMain = async (id) => {
return await request.put({ url: `/wms/inventoryinit-request-main/refused?id=` + id })
}
// 审批通过库存初始化申请主 Excel
export const agreeInventoryinitRequestMain = async (id) => {
return await request.put({ url: `/wms/inventoryinit-request-main/agree?id=` + id })
}
// 提交库存初始化申请主 Excel
export const submitInventoryinitRequestMain = async (id) => {
return await request.put({ url: `/wms/inventoryinit-request-main/submit?id=` + id })
}
// 删除库存初始化申请主
export const deleteInventoryinitRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/inventoryinit-request-main/delete?id=` + id })
}
// 导出库存初始化申请主 Excel
export const exportInventoryinitRequestMain = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/inventoryinit-request-main/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/inventoryinit-request-main/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/inventoryinit-request-main/get-import-template' })
}
// 处理采购收货申请主 Excel
export const handleInventoryinitRequestMain = async (id) => {
return await request.put({ url: `/wms/inventoryinit-request-main/handle?id=` + id })
}

66
src/api/wms/inventorymoveJobDetail/index.ts

@ -1,66 +0,0 @@
import request from '@/config/axios'
export interface InventorymoveJobDetailVO {
itemCode: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
number: string
remark: string
createtime: Date
creator: string
packingNumber: string
containerNumber: string
batch: string
inventoryStatus: string
poNumber: string
poLine: string
fromLocationCode: string
toLocationCode: string
fromOwnerCode: string
toOwnerCode: string
}
// 查询库存转移任务子列表
export const getInventorymoveJobDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/inventorymove-job-detail/senior', data })
} else {
return await request.get({ url: `/wms/inventorymove-job-detail/page`, params })
}
}
// 查询库存转移任务子详情
export const getInventorymoveJobDetail = async (id: number) => {
return await request.get({ url: `/wms/inventorymove-job-detail/get?id=` + id })
}
// 新增库存转移任务子
export const createInventorymoveJobDetail = async (data: InventorymoveJobDetailVO) => {
return await request.post({ url: `/wms/inventorymove-job-detail/create`, data })
}
// 修改库存转移任务子
export const updateInventorymoveJobDetail = async (data: InventorymoveJobDetailVO) => {
return await request.put({ url: `/wms/inventorymove-job-detail/update`, data })
}
// 删除库存转移任务子
export const deleteInventorymoveJobDetail = async (id: number) => {
return await request.delete({ url: `/wms/inventorymove-job-detail/delete?id=` + id })
}
// 导出库存转移任务子 Excel
export const exportInventorymoveJobDetail = async (params) => {
return await request.download({ url: `/wms/inventorymove-job-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/inventorymove-job-detail/get-import-template' })
}

103
src/api/wms/inventorymoveJobMain/index.ts

@ -1,103 +0,0 @@
import request from '@/config/axios'
export interface InventorymoveJobMainVO {
requestNumber: string
useOnTheWayLocation: string
fromWarehouseCode: string
requestTime: Date
requestDueTime: Date
status: string
expiredTime: Date
updateTime: Date
updater: string
jobStageStatus: string
priority: number
priorityIncrement: number
departmentCode: string
acceptUserId: string
acceptTime: Date
completeUserId: string
completeTime: Date
fromLocationTypes: string
toLocationTypes: string
number: string
businessType: string
remark: string
createTime: Date
creator: string
creatorName: string
toWarehouseCode: string
fromAreaCodes: string
toAreaCodes: string
autoComplete: string
allowModifyLocation: string
allowModifyQty: string
allowBiggerQty: string
allowSmallerQty: string
allowModifyInventoryStatus: string
allowContinuousScanning: string
allowPartialComplete: string
allowModifyBatch: string
allowModifyPackingNumber: string
}
// 查询库存转移任务主列表
export const getInventorymoveJobMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/inventorymove-job-main/senior', data })
} else {
return await request.get({ url: `/wms/inventorymove-job-main/page`, params })
}
}
// 查询库存转移任务主详情
export const getInventorymoveJobMain = async (id: number) => {
return await request.get({ url: `/wms/inventorymove-job-main/get?id=` + id })
}
// 新增库存转移任务主
export const createInventorymoveJobMain = async (data: InventorymoveJobMainVO) => {
return await request.post({ url: `/wms/inventorymove-job-main/create`, data })
}
// 修改库存转移任务主
export const updateInventorymoveJobMain = async (data: InventorymoveJobMainVO) => {
return await request.put({ url: `/wms/inventorymove-job-main/update`, data })
}
// 删除库存转移任务主
export const deleteInventorymoveJobMain = async (id: number) => {
return await request.delete({ url: `/wms/inventorymove-job-main/delete?id=` + id })
}
// 导出库存转移任务主 Excel
export const exportInventorymoveJobMain = async (params) => {
return await request.download({ url: `/wms/inventorymove-job-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/inventorymove-job-main/get-import-template' })
}
// 承接库存转移任务
export const acceptInventorymoveMain = async (id) => {
return await request.put({ url: `/wms/inventorymove-job-main/accept?id=` + id })
}
// 放弃库存转移任务
export const abandonInventorymoveMain = async (id) => {
return await request.put({ url: `/wms/inventorymove-job-main/abandon?id=` + id })
}
// 关闭库存转移任务
export const closeInventorymoveMain = async (id) => {
return await request.put({ url: `/wms/inventorymove-job-main/close?id=` + id })
}
// 执行库存转移任务
export const executeInventorymoveMain = async (data) => {
return await request.put({ url: `/wms/inventorymove-job-main/execute`, data})
}

76
src/api/wms/inventorymoveRecordDetail/index.ts

@ -1,76 +0,0 @@
import request from '@/config/axios'
export interface InventorymoveRecordDetailVO {
onTheWayLocationCode: string
fromOwnerCode: string
fromPackingNumber: string
fromContainerNumber: string
fromBatch: string
fromLocationCode: string
fromLocationGroupCode: string
fromAreaCode: string
fromInventoryStatus: string
toOwnerCode: string
toPackingNumber: string
toContainerNumber: string
toBatch: string
toLocationCode: string
toLocationGroupCode: string
toAreaCode: string
toInventoryStatus: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
code: string
interfaceType: string
number: string
itemCode: string
remark: string
createTime: Date
creator: string
jobDetailId: string
}
// 查询库存转移记录子列表
export const getInventorymoveRecordDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/inventorymove-record-detail/senior', data })
} else {
return await request.get({ url: `/wms/inventorymove-record-detail/page`, params })
}
}
// 查询库存转移记录子详情
export const getInventorymoveRecordDetail = async (id: number) => {
return await request.get({ url: `/wms/inventorymove-record-detail/get?id=` + id })
}
// 新增库存转移记录子
export const createInventorymoveRecordDetail = async (data: InventorymoveRecordDetailVO) => {
return await request.post({ url: `/wms/inventorymove-record-detail/create`, data })
}
// 修改库存转移记录子
export const updateInventorymoveRecordDetail = async (data: InventorymoveRecordDetailVO) => {
return await request.put({ url: `/wms/inventorymove-record-detail/update`, data })
}
// 删除库存转移记录子
export const deleteInventorymoveRecordDetail = async (id: number) => {
return await request.delete({ url: `/wms/inventorymove-record-detail/delete?id=` + id })
}
// 导出库存转移记录子 Excel
export const exportInventorymoveRecordDetail = async (params) => {
return await request.download({ url: `/wms/inventorymove-record-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/inventorymove-record-detail/get-import-template' })
}

69
src/api/wms/inventorymoveRecordMain/index.ts

@ -1,69 +0,0 @@
import request from '@/config/axios'
export interface InventorymoveRecordMainVO {
requestNumber: string
jobNumber: string
useOnTheWayLocation: string
outTransactionType: string
inTransactionType: string
executeTime: Date
activeDate: Date
requestTime: Date
dueTime: Date
departmentCode: string
interfaceType: string
code: string
number: string
businessType: string
remark: string
createTime: Date
creator: string
fromWarehouseCode: string
fromLocationTypes: string
fromAreaCodes: string
toWarehouseCode: string
toLocationTypes: string
toAreaCodes: string
available: string
}
// 查询库存转移记录主列表
export const getInventorymoveRecordMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/inventorymove-record-main/senior', data })
} else {
return await request.get({ url: `/wms/inventorymove-record-main/page`, params })
}
}
// 查询库存转移记录主详情
export const getInventorymoveRecordMain = async (id: number) => {
return await request.get({ url: `/wms/inventorymove-record-main/get?id=` + id })
}
// 新增库存转移记录主
export const createInventorymoveRecordMain = async (data: InventorymoveRecordMainVO) => {
return await request.post({ url: `/wms/inventorymove-record-main/create`, data })
}
// 修改库存转移记录主
export const updateInventorymoveRecordMain = async (data: InventorymoveRecordMainVO) => {
return await request.put({ url: `/wms/inventorymove-record-main/update`, data })
}
// 删除库存转移记录主
export const deleteInventorymoveRecordMain = async (id: number) => {
return await request.delete({ url: `/wms/inventorymove-record-main/delete?id=` + id })
}
// 导出库存转移记录主 Excel
export const exportInventorymoveRecordMain = async (params) => {
return await request.download({ url: `/wms/inventorymove-record-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/inventorymove-record-main/get-import-template' })
}

70
src/api/wms/inventorymoveRequestDetail/index.ts

@ -1,70 +0,0 @@
import request from '@/config/axios'
export interface InventorymoveRequestDetailVO {
fromOwnerCode: string
fromPackingNumber: string
fromContainerNumber: string
fromBatch: string
fromLocationCode: string
fromInventoryStatus: string
toOwnerCode: string
toPackingNumber: string
toContainerNumber: string
toBatch: string
toLocationCode: string
toInventoryStatus: string
number: string
remark: string
createTime: Date
creator: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
updateTime: Date
updater: string
itemCode: string
}
// 查询库存转移申请子列表
export const getInventorymoveRequestDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/inventorymove-request-detail/senior', data })
} else {
return await request.get({ url: `/wms/inventorymove-request-detail/page`, params })
}
}
// 查询库存转移申请子详情
export const getInventorymoveRequestDetail = async (id: number) => {
return await request.get({ url: `/wms/inventorymove-request-detail/get?id=` + id })
}
// 新增库存转移申请子
export const createInventorymoveRequestDetail = async (data: InventorymoveRequestDetailVO) => {
return await request.post({ url: `/wms/inventorymove-request-detail/create`, data })
}
// 修改库存转移申请子
export const updateInventorymoveRequestDetail = async (data: InventorymoveRequestDetailVO) => {
return await request.put({ url: `/wms/inventorymove-request-detail/update`, data })
}
// 删除库存转移申请子
export const deleteInventorymoveRequestDetail = async (id: number) => {
return await request.delete({ url: `/wms/inventorymove-request-detail/delete?id=` + id })
}
// 导出库存转移申请子 Excel
export const exportInventorymoveRequestDetail = async (params) => {
return await request.download({ url: `/wms/inventorymove-request-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/inventorymove-request-detail/get-import-template' })
}

97
src/api/wms/inventorymoveRequestMain/index.ts

@ -1,97 +0,0 @@
import request from '@/config/axios'
export interface InventorymoveRequestMainVO {
number: string
businessType: string
remark: string
createTime: Date
creator: string
requestTime: Date
dueTime: Date
departmentCode: string
status: string
updateTime: Date
updater: string
fromWarehouseOde: string
fromLocationTypes: string
fromAreaCodes: string
toWarehouseCode: string
toLocationTypes: string
toAreaCodes: string
useOnTheWayLocation: string
autoCommit: string
autoAgree: string
autoExecute: string
directCreateRecord: string
}
// 查询库存转移申请主列表
export const getInventorymoveRequestMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/inventorymove-request-main/senior', data })
} else {
return await request.get({ url: `/wms/inventorymove-request-main/page`, params })
}
}
// 查询库存转移申请主详情
export const getInventorymoveRequestMain = async (id: number) => {
return await request.get({ url: `/wms/inventorymove-request-main/get?id=` + id })
}
// 新增库存转移申请主
export const createInventorymoveRequestMain = async (data: InventorymoveRequestMainVO) => {
return await request.post({ url: `/wms/inventorymove-request-main/create`, data })
}
// 修改库存转移申请主
export const updateInventorymoveRequestMain = async (data: InventorymoveRequestMainVO) => {
return await request.put({ url: `/wms/inventorymove-request-main/update`, data })
}
// 删除库存转移申请主
export const deleteInventorymoveRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/inventorymove-request-main/delete?id=` + id })
}
// 导出库存转移申请主 Excel
export const exportInventorymoveRequestMain = async (params) => {
return await request.download({ url: `/wms/inventorymove-request-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/inventorymove-request-main/get-import-template' })
}
// 关闭
export const close = (id) => {
return request.put({ url: '/wms/inventorymove-request-main/close?id=' + id })
}
// 重新添加
export const reAdd = (id) => {
return request.put({ url: '/wms/inventorymove-request-main/reAdd?id=' + id })
}
// 提交审批
export const submit = (id) => {
return request.put({ url: '/wms/inventorymove-request-main/submit?id=' + id })
}
// 驳回
export const refused = (id) => {
return request.put({ url: '/wms/inventorymove-request-main/refused?id=' + id })
}
// 审批通过
export const agree = (id) => {
return request.put({ url: '/wms/inventorymove-request-main/agree?id=' + id })
}
// 处理
export const handle = (id) => {
return request.put({ url: '/wms/inventorymove-request-main/handle?id=' + id })
}

71
src/api/wms/issueJobDetail/index.ts

@ -1,71 +0,0 @@
import request from '@/config/axios'
export interface IssueJobDetailVO {
productionLineCode: string
workStationCode: string
inventoryStatus: string
onTheWayLocationCode: string
packingNumber: string
containerNumber: string
batch: string
fromLocationCode: string
toLocationCode: string
itemCode: string
itemName: string
itemDesc1: string
itemDesc2: string
stdPackQty: number
stdPackUnit: string
supplierQty: number
supplierUom: string
projectCode: string
qty: number
uom: string
number: string
remark: string
createTime: Date
creator: string
fromOwnerCode: string
toOwnerCode: string
}
// 查询发料任务子列表
export const getIssueJobDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/issue-job-detail/senior', data })
} else {
return await request.get({ url: `/wms/issue-job-detail/page`, params })
}
}
// 查询发料任务子详情
export const getIssueJobDetail = async (id: number) => {
return await request.get({ url: `/wms/issue-job-detail/get?id=` + id })
}
// 新增发料任务子
export const createIssueJobDetail = async (data: IssueJobDetailVO) => {
return await request.post({ url: `/wms/issue-job-detail/create`, data })
}
// 修改发料任务子
export const updateIssueJobDetail = async (data: IssueJobDetailVO) => {
return await request.put({ url: `/wms/issue-job-detail/update`, data })
}
// 删除发料任务子
export const deleteIssueJobDetail = async (id: number) => {
return await request.delete({ url: `/wms/issue-job-detail/delete?id=` + id })
}
// 导出发料任务子 Excel
export const exportIssueJobDetail = async (params) => {
return await request.download({ url: `/wms/issue-job-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/issue-job-detail/get-import-template' })
}

110
src/api/wms/issueJobMain/index.ts

@ -1,110 +0,0 @@
import request from '@/config/axios'
export interface IssueJobMainVO {
requestNumber: string
workShopCode: string
fromWarehouseCode: string
toWarehouseCode: string
requestTime: Date
requestDueTime: Date
status: string
expiredTime: Date
updateTime: Date
updater: string
jobStageStatus: string
priority: number
priorityIncrement: number
departmentCode: string
acceptUserId: string
acceptTime: Date
completeUserName: string
completeTime: Date
fromLocationTypes: string
toLocationTypes: string
number: string
businessType: string
remark: string
createTime: Date
creator: string
fromAreaCodes: string
toAreaCodes: string
useOnTheWayLocation: string
autoComplete: string
allowModifyLocation: string
allowModifyQty: string
allowBiggerQty: string
allowSmallerQty: string
allowModifyInventoryStatus: string
allowContinuousScanning: string
allowPartialComplete: string
allowModifyPackingNumber: string
allowModifyBatch: string
}
// 查询发料任务主列表
export const getIssueJobMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/issue-job-main/senior', data })
} else {
return await request.get({ url: `/wms/issue-job-main/page`, params })
}
}
// 查询发料任务主详情
export const getIssueJobMain = async (id: number) => {
return await request.get({ url: `/wms/issue-job-main/get?id=` + id })
}
// 新增发料任务主
export const createIssueJobMain = async (data: IssueJobMainVO) => {
return await request.post({ url: `/wms/issue-job-main/create`, data })
}
// 修改发料任务主
export const updateIssueJobMain = async (data: IssueJobMainVO) => {
return await request.put({ url: `/wms/issue-job-main/update`, data })
}
// 删除发料任务主
export const deleteIssueJobMain = async (id: number) => {
return await request.delete({ url: `/wms/issue-job-main/delete?id=` + id })
}
// 导出发料任务主 Excel
export const exportIssueJobMain = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/issue-job-main/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/issue-job-main/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/issue-job-main/get-import-template' })
}
// 承接发料任务
export const acceptIssueMain = async (id) => {
return await request.get({ url: `/wms/issue-job-main/accept?id=` + id })
}
// 放弃发料任务
export const abandonIssueMain = async (id) => {
return await request.get({ url: `/wms/issue-job-main/abandon?id=` + id })
}
// 关闭发料任务
export const closeIssueMain = async (id) => {
return await request.get({ url: `/wms/issue-job-main/close?id=` + id })
}
// 执行发料任务
export const executeIssueMain = async (data) => {
return await request.put({ url: `/wms/issue-job-main/execute`, data})
}

77
src/api/wms/issueRecordDetail/index.ts

@ -1,77 +0,0 @@
import request from '@/config/axios'
export interface IssueRecordDetailVO {
productionLineCode: string
workStationCode: string
onTheWayLocationCode: string
inventoryStatus: string
fromOwnerCode: string
toOwnerCode: string
fromPackingNumber: string
toPackingNumber: string
fromContainerNumber: string
toContainerNumber: string
fromBatch: string
toBatch: string
fromLocationCode: string
toLocationCode: string
fromLocationGroupCode: string
toLocationGroupCode: string
fromAreaCode: string
toAreaCode: string
number: string
itemCode: string
remark: string
createTime: Date
creator: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
code: string
interfaceType: string
jobDetailId: string
}
// 查询发料记录子列表
export const getIssueRecordDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/issue-record-detail/senior', data })
} else {
return await request.get({ url: `/wms/issue-record-detail/page`, params })
}
}
// 查询发料记录子详情
export const getIssueRecordDetail = async (id: number) => {
return await request.get({ url: `/wms/issue-record-detail/get?id=` + id })
}
// 新增发料记录子
export const createIssueRecordDetail = async (data: IssueRecordDetailVO) => {
return await request.post({ url: `/wms/issue-record-detail/create`, data })
}
// 修改发料记录子
export const updateIssueRecordDetail = async (data: IssueRecordDetailVO) => {
return await request.put({ url: `/wms/issue-record-detail/update`, data })
}
// 删除发料记录子
export const deleteIssueRecordDetail = async (id: number) => {
return await request.delete({ url: `/wms/issue-record-detail/delete?id=` + id })
}
// 导出发料记录子 Excel
export const exportIssueRecordDetail = async (params) => {
return await request.download({ url: `/wms/issue-record-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/issue-record-detail/get-import-template' })
}

75
src/api/wms/issueRecordMain/index.ts

@ -1,75 +0,0 @@
import request from '@/config/axios'
export interface IssueRecordMainVO {
requestNumber: string
jobNumber: string
workshopCode: string
outTransactionType: string
inTransactionType: string
executeTime: Date
activeDate: Date
requestTime: Date
dueTime: Date
departmentCode: string
interfaceType: string
number: string
businessType: string
remark: string
createTime: Date
creator: string
code: string
fromWarehouseCode: string
fromLocationTypes: string
fromAreaCodes: string
toWarehouseCode: string
toLocationTypes: string
toAreaCodes: string
useOnTheWayLocation: string
available: string
}
// 查询发料记录主列表
export const getIssueRecordMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/issue-record-main/senior', data })
} else {
return await request.get({ url: `/wms/issue-record-main/page`, params })
}
}
// 查询发料记录主详情
export const getIssueRecordMain = async (id: number) => {
return await request.get({ url: `/wms/issue-record-main/get?id=` + id })
}
// 新增发料记录主
export const createIssueRecordMain = async (data: IssueRecordMainVO) => {
return await request.post({ url: `/wms/issue-record-main/create`, data })
}
// 修改发料记录主
export const updateIssueRecordMain = async (data: IssueRecordMainVO) => {
return await request.put({ url: `/wms/issue-record-main/update`, data })
}
// 删除发料记录主
export const deleteIssueRecordMain = async (id: number) => {
return await request.delete({ url: `/wms/issue-record-main/delete?id=` + id })
}
// 导出发料记录主 Excel
export const exportIssueRecordMain = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/issue-record-main/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/issue-record-main/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/issue-record-main/get-import-template' })
}

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save