Browse Source

删除api下的mes、wms、scp

master
daikun1@bosssoft.com.cn 1 year ago
parent
commit
eddcb3ee62
  1. 0
      src/api/mes/index.ts
  2. 0
      src/api/scp/index.ts
  3. 55
      src/api/wms/accountcalendar/index.ts
  4. 58
      src/api/wms/areabasic/index.ts
  5. 49
      src/api/wms/backflushRequestDetailb/index.ts
  6. 56
      src/api/wms/bom/index.ts
  7. 65
      src/api/wms/businesstype/index.ts
  8. 63
      src/api/wms/carrier/index.ts
  9. 51
      src/api/wms/condition/index.ts
  10. 51
      src/api/wms/configuration/index.ts
  11. 53
      src/api/wms/configurationsetting/index.ts
  12. 50
      src/api/wms/consumereRequestDetailb/index.ts
  13. 46
      src/api/wms/countPlanDetail/index.ts
  14. 58
      src/api/wms/countPlanMain/index.ts
  15. 56
      src/api/wms/countRequestDetail/index.ts
  16. 53
      src/api/wms/countRequestMain/index.ts
  17. 57
      src/api/wms/countadjustRequestDetail/index.ts
  18. 52
      src/api/wms/countadjustRequestMain/index.ts
  19. 52
      src/api/wms/currencyexchange/index.ts
  20. 66
      src/api/wms/customer/index.ts
  21. 59
      src/api/wms/customerdock/index.ts
  22. 59
      src/api/wms/customeritem/index.ts
  23. 57
      src/api/wms/customerreceiptRequestDetail/index.ts
  24. 62
      src/api/wms/customerreceiptRequestMain/index.ts
  25. 56
      src/api/wms/customerreturnRequestDetail/index.ts
  26. 64
      src/api/wms/customerreturnRequestMain/index.ts
  27. 54
      src/api/wms/customersettleRequestDetail/index.ts
  28. 55
      src/api/wms/customersettleRequestMain/index.ts
  29. 48
      src/api/wms/deliverPlanDetail/index.ts
  30. 47
      src/api/wms/deliverPlanMain/index.ts
  31. 56
      src/api/wms/deliverRequestDetail/index.ts
  32. 63
      src/api/wms/deliverRequestMain/index.ts
  33. 46
      src/api/wms/demandforecastingDetail/index.ts
  34. 48
      src/api/wms/demandforecastingMain/index.ts
  35. 35
      src/api/wms/detail/index.ts
  36. 50
      src/api/wms/dismantleRequestDetailb/index.ts
  37. 62
      src/api/wms/dock/index.ts
  38. 60
      src/api/wms/documentsetting/index.ts
  39. 12
      src/api/wms/file/index.ts
  40. 0
      src/api/wms/index.ts
  41. 47
      src/api/wms/inspectRequestDetail/index.ts
  42. 65
      src/api/wms/inspectRequestMain/index.ts
  43. 70
      src/api/wms/inventorychangeRequestDetail/index.ts
  44. 50
      src/api/wms/inventorychangeRequestMain/index.ts
  45. 61
      src/api/wms/inventoryinitRequestDetail/index.ts
  46. 50
      src/api/wms/inventoryinitRequestMain/index.ts
  47. 59
      src/api/wms/inventorymoveRequestDetail/index.ts
  48. 56
      src/api/wms/inventorymoveRequestMain/index.ts
  49. 56
      src/api/wms/issueRequestDetail/index.ts
  50. 57
      src/api/wms/issueRequestMain/index.ts
  51. 73
      src/api/wms/itembasic/index.ts
  52. 61
      src/api/wms/itempackaging/index.ts
  53. 62
      src/api/wms/jobsetting/index.ts
  54. 70
      src/api/wms/location/index.ts
  55. 58
      src/api/wms/locationgroup/index.ts
  56. 52
      src/api/wms/offlinesettlementRequestDetail/index.ts
  57. 51
      src/api/wms/offlinesettlementRequestMain/index.ts
  58. 52
      src/api/wms/onlinesettlementRequestDetail/index.ts
  59. 51
      src/api/wms/onlinesettlementRequestMain/index.ts
  60. 63
      src/api/wms/owner/index.ts
  61. 54
      src/api/wms/paramsetting/index.ts
  62. 51
      src/api/wms/pickRequestDetail/index.ts
  63. 55
      src/api/wms/pickRequestMain/index.ts
  64. 47
      src/api/wms/preparetoissueDetail/index.ts
  65. 51
      src/api/wms/preparetoissueMain/index.ts
  66. 55
      src/api/wms/process/index.ts
  67. 60
      src/api/wms/productdismantleRequestDetaila/index.ts
  68. 55
      src/api/wms/productdismantleRequestMain/index.ts
  69. 49
      src/api/wms/productionDetail/index.ts
  70. 51
      src/api/wms/productionMain/index.ts
  71. 56
      src/api/wms/productionline/index.ts
  72. 52
      src/api/wms/productionlineitem/index.ts
  73. 56
      src/api/wms/productionreturnRequestDetail/index.ts
  74. 56
      src/api/wms/productionreturnRequestMain/index.ts
  75. 56
      src/api/wms/productputawayRequestDetail/index.ts
  76. 57
      src/api/wms/productputawayRequestMain/index.ts
  77. 61
      src/api/wms/productreceiptRequestDetail/index.ts
  78. 56
      src/api/wms/productreceiptRequestMain/index.ts
  79. 56
      src/api/wms/productrepairRequestDetaila/index.ts
  80. 55
      src/api/wms/productrepairRequestMain/index.ts
  81. 54
      src/api/wms/productscrapRequestDetail/index.ts
  82. 52
      src/api/wms/productscrapRequestMain/index.ts
  83. 53
      src/api/wms/project/index.ts
  84. 61
      src/api/wms/purchaseDetail/index.ts
  85. 54
      src/api/wms/purchaseMain/index.ts
  86. 47
      src/api/wms/purchasePlanDetail/index.ts
  87. 49
      src/api/wms/purchasePlanMain/index.ts
  88. 53
      src/api/wms/purchaseclaimRequestDetail/index.ts
  89. 62
      src/api/wms/purchaseclaimRequestMain/index.ts
  90. 53
      src/api/wms/purchaseprice/index.ts
  91. 65
      src/api/wms/purchasereceiptRequestDetail/index.ts
  92. 62
      src/api/wms/purchasereceiptRequestMain/index.ts
  93. 58
      src/api/wms/purchasereturnRequestDetail/index.ts
  94. 63
      src/api/wms/purchasereturnRequestMain/index.ts
  95. 56
      src/api/wms/putawayRequestDetail/index.ts
  96. 64
      src/api/wms/putawayRequestMain/index.ts
  97. 52
      src/api/wms/recordsetting/index.ts
  98. 14
      src/api/wms/remark/index.ts
  99. 51
      src/api/wms/repleinshRequestDetail/index.ts
  100. 55
      src/api/wms/repleinshRequestMain/index.ts

0
src/api/mes/index.ts

0
src/api/scp/index.ts

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

@ -1,55 +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) => {
return await request.download({ url: `/wms/accountcalendar/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/accountcalendar/get-import-template' })
}

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

@ -1,58 +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) => {
return await request.download({ url: `/wms/areabasic/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/areabasic/get-import-template' })
}

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

@ -1,49 +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) => {
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 })
}

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

@ -1,56 +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) => {
return await request.download({ url: `/wms/bom/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/bom/get-import-template' })
}

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' })
}

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

@ -1,63 +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) => {
return await request.download({ url: `/wms/carrier/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/carrier/get-import-template' })
}

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

@ -1,51 +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) => {
return await request.download({ url: `/wms/condition/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/condition/get-import-template' })
}

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

@ -1,51 +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) => {
return await request.download({ url: `/wms/configuration/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/configuration/get-import-template' })
}

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

@ -1,53 +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) => {
return await request.download({ url: `/wms/configurationsetting/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/configurationsetting/get-import-template' })
}

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

@ -1,50 +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) => {
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 })
}

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

@ -1,46 +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) => {
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 })
}

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

@ -1,58 +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) => {
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 })
}

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

@ -1,56 +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) => {
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 })
}

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

@ -1,53 +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) => {
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 })
}

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

@ -1,57 +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) => {
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 })
}

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

@ -1,52 +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) => {
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 })
}

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

@ -1,52 +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) => {
return await request.download({ url: `/wms/currencyexchange/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/currencyexchange/get-import-template' })
}

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

@ -1,66 +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) => {
return await request.download({ url: `/wms/customer/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/customer/get-import-template' })
}

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

@ -1,59 +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) => {
return await request.download({ url: `/wms/customerdock/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/customerdock/get-import-template' })
}

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

@ -1,59 +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) => {
return await request.download({ url: `/wms/customeritem/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/customeritem/get-import-template' })
}

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

@ -1,57 +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) => {
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 })
}

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

@ -1,62 +0,0 @@
import request from '@/config/axios'
export interface CustomerreceiptRequestMainVO {
deliverRequestNumber: string
deliverPlanNumber: 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) => {
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 })
}

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

@ -1,56 +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) => {
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 })
}

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

@ -1,64 +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) => {
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) => {
return await request.download({ url: `/wms/customerreturn-request-main/export-excel`, params })
}

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

@ -1,54 +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) => {
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 })
}

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

@ -1,55 +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) => {
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 })
}

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

@ -1,48 +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 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 })
}

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

@ -1,47 +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) => {
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 })
}

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

@ -1,56 +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) => {
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 })
}

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

@ -1,63 +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) => {
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 })
}

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 })
}

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

@ -1,48 +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) => {
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 })
}

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 })
// }

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

@ -1,50 +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) => {
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 (data: DismantleRequestDetailbVO) => {
return await request.put({ url: `/wms/dismantle-request-detailb/update`, 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 })
}

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

@ -1,62 +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) => {
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' })
}

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

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

@ -1,47 +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) => {
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 })
}

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

@ -1,65 +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) => {
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 })
}

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

@ -1,70 +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) => {
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 })
}

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

@ -1,50 +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) => {
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 })
}

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

@ -1,61 +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) => {
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 })
}

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

@ -1,50 +0,0 @@
import request from '@/config/axios'
export interface InventoryinitRequestMainVO {
warehouseCode: string
number: string
businessType: string
remark: string
creationTime: 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) => {
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 })
}
// 删除库存初始化申请主
export const deleteInventoryinitRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/inventoryinit-request-main/delete?id=` + id })
}
// 导出库存初始化申请主 Excel
export const exportInventoryinitRequestMain = async (params) => {
return await request.download({ url: `/wms/inventoryinit-request-main/export-excel`, params })
}

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

@ -1,59 +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) => {
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 })
}

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

@ -1,56 +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) => {
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 })
}

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

@ -1,56 +0,0 @@
import request from '@/config/axios'
export interface IssueRequestDetailVO {
productionLineCode: string
workStationCode: string
inventoryStatus: string
packingNumber: string
containerNumber: string
batch: 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 getIssueRequestDetailPage = async (params) => {
return await request.get({ url: `/wms/issue-request-detail/page`, params })
}
// 查询发料申请子详情
export const getIssueRequestDetail = async (id: number) => {
return await request.get({ url: `/wms/issue-request-detail/get?id=` + id })
}
// 新增发料申请子
export const createIssueRequestDetail = async (data: IssueRequestDetailVO) => {
return await request.post({ url: `/wms/issue-request-detail/create`, data })
}
// 修改发料申请子
export const updateIssueRequestDetail = async (data: IssueRequestDetailVO) => {
return await request.put({ url: `/wms/issue-request-detail/update`, data })
}
// 删除发料申请子
export const deleteIssueRequestDetail = async (id: number) => {
return await request.delete({ url: `/wms/issue-request-detail/delete?id=` + id })
}
// 导出发料申请子 Excel
export const exportIssueRequestDetail = async (params) => {
return await request.download({ url: `/wms/issue-request-detail/export-excel`, params })
}

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

@ -1,57 +0,0 @@
import request from '@/config/axios'
export interface IssueRequestMainVO {
workshopCode: string
fromWarehouseCode: string
toWarehouseCode: string
fromLocationTypes: string
toLocationTypes: string
fromAreaCodes: string
toAreaCodes: string
number: string
businessType: string
remark: string
createTime: Date
creator: string
requestTime: Date
dueTime: Date
departmentCode: string
status: string
updateTime: Date
updater: string
useOnTheWayLocation: string
autoCommit: string
autoAgree: string
autoExecute: string
directCreateRecord: string
}
// 查询发料申请主列表
export const getIssueRequestMainPage = async (params) => {
return await request.get({ url: `/wms/issue-request-main/page`, params })
}
// 查询发料申请主详情
export const getIssueRequestMain = async (id: number) => {
return await request.get({ url: `/wms/issue-request-main/get?id=` + id })
}
// 新增发料申请主
export const createIssueRequestMain = async (data: IssueRequestMainVO) => {
return await request.post({ url: `/wms/issue-request-main/create`, data })
}
// 修改发料申请主
export const updateIssueRequestMain = async (data: IssueRequestMainVO) => {
return await request.put({ url: `/wms/issue-request-main/update`, data })
}
// 删除发料申请主
export const deleteIssueRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/issue-request-main/delete?id=` + id })
}
// 导出发料申请主 Excel
export const exportIssueRequestMain = async (params) => {
return await request.download({ url: `/wms/issue-request-main/export-excel`, params })
}

73
src/api/wms/itembasic/index.ts

@ -1,73 +0,0 @@
import request from '@/config/axios'
export interface ItembasicVO {
code: string
name: string
desc1: string
desc2: string
status: string
uom: string
altUom: string
isStdPack: number
enableBuy: number
enableMake: number
enableOutsourcing: number
isRecycled: number
isPhantom: number
abcClass: string
type: string
category: string
itemGroup: string
color: string
configuration: string
project: string
eqLevel: string
validityDays: number
available: number
activeTime: Date
expireTime: Date
remark: string
}
// 查询物品基本信息列表
export const getItembasicPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/itembasic/senior', data })
} else {
return await request.get({ url: `/wms/itembasic/page`, params })
}
}
// 查询物品基本信息详情
export const getItembasic = async (id: number) => {
return await request.get({ url: `/wms/itembasic/get?id=` + id })
}
// 新增物品基本信息
export const createItembasic = async (data: ItembasicVO) => {
return await request.post({ url: `/wms/itembasic/create`, data })
}
// 修改物品基本信息
export const updateItembasic = async (data: ItembasicVO) => {
return await request.put({ url: `/wms/itembasic/update`, data })
}
// 删除物品基本信息
export const deleteItembasic = async (id: number) => {
return await request.delete({ url: `/wms/itembasic/delete?id=` + id })
}
// 导出物品基本信息 Excel
export const exportItembasic = async (params) => {
return await request.download({ url: `/wms/itembasic/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/itembasic/get-import-template' })
}
// 导入地址
export const importUrl = '/wms/itembasic/import'

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

@ -1,61 +0,0 @@
import request from '@/config/axios'
export interface ItempackagingVO {
itemCode: string
uom: string
stdPackUnit: string
stdPackQty: number
altPackUnit1: string
altPackQty1: number
altPackUnit2: string
altPackQty2: number
altPackUnit3: string
altPackQty3: number
altPackUnit4: string
altPackQty4: number
available: number
activeTime: Date
expireTime: Date
remark: string
}
// 查询物品包装信息 列表
export const getItempackagingPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/itempackaging/senior', data })
} else {
return await request.get({ url: `/wms/itempackaging/page`, params })
}
}
// 查询物品包装信息 详情
export const getItempackaging = async (id: number) => {
return await request.get({ url: `/wms/itempackaging/get?id=` + id })
}
// 新增物品包装信息
export const createItempackaging = async (data: ItempackagingVO) => {
return await request.post({ url: `/wms/itempackaging/create`, data })
}
// 修改物品包装信息
export const updateItempackaging = async (data: ItempackagingVO) => {
return await request.put({ url: `/wms/itempackaging/update`, data })
}
// 删除物品包装信息
export const deleteItempackaging = async (id: number) => {
return await request.delete({ url: `/wms/itempackaging/delete?id=` + id })
}
// 导出物品包装信息 Excel
export const exportItempackaging = async (params) => {
return await request.download({ url: `/wms/itempackaging/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/itempackaging/get-import-template' })
}

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

@ -1,62 +0,0 @@
import request from '@/config/axios'
export interface JobsettingVO {
code: string
validMinutes: number
activeTime: Date
remark: string
autoComplete: string
allowModifyLocation: string
allowModifyQty: string
allowBiggerQty: string
allowSmallerQty: string
allowModifyInventoryStatus: string
allowContinuousScanning: string
allowPartialComplete: string
allowModifyBach: string
allowModifyPackingNumber: string
available: string
isSoftDeleted: string
expireTime: Date
}
// 查询任务设置列表
export const getJobsettingPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/jobsetting/senior', data })
} else {
return await request.get({ url: `/wms/jobsetting/page`, params })
}
}
// 查询任务设置详情
export const getJobsetting = async (id: number) => {
return await request.get({ url: `/wms/jobsetting/get?id=` + id })
}
// 新增任务设置
export const createJobsetting = async (data: JobsettingVO) => {
return await request.post({ url: `/wms/jobsetting/create`, data })
}
// 修改任务设置
export const updateJobsetting = async (data: JobsettingVO) => {
return await request.put({ url: `/wms/jobsetting/update`, data })
}
// 删除任务设置
export const deleteJobsetting = async (id: number) => {
return await request.delete({ url: `/wms/jobsetting/delete?id=` + id })
}
// 导出任务设置 Excel
export const exportJobsetting = async (params) => {
return await request.download({ url: `/wms/jobsetting/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/jobsetting/get-import-template' })
}

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

@ -1,70 +0,0 @@
import request from '@/config/axios'
export interface LocationVO {
code: string
name: string
description: string
warehouseCode: string
areaCode: string
locationGroupCode: string
erpLocationCode: string
type: string
aisle: string
shelf: string
locationRow: number
locationColum: number
pickPriority: number
maxWeight: number
maxArea: number
maxVolume: number
userGroupCode: string
available: number
activeTime: Date
expireTime: Date
remark: string
}
// 查询库位列表
export const getLocationPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/location/senior', data })
} else {
return await request.get({ url: `/wms/location/page`, params })
}
}
// 查询库位所有列表
export const getLocationList = async (params) => {
return await request.get({ url: `/wms/location/list`, params })
}
// 查询库位详情
export const getLocation = async (id: number) => {
return await request.get({ url: `/wms/location/get?id=` + id })
}
// 新增库位
export const createLocation = async (data: LocationVO) => {
return await request.post({ url: `/wms/location/create`, data })
}
// 修改库位
export const updateLocation = async (data: LocationVO) => {
return await request.put({ url: `/wms/location/update`, data })
}
// 删除库位
export const deleteLocation = async (id: number) => {
return await request.delete({ url: `/wms/location/delete?id=` + id })
}
// 导出库位 Excel
export const exportLocation = async (params) => {
return await request.download({ url: `/wms/location/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/location/get-import-template' })
}

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

@ -1,58 +0,0 @@
import request from '@/config/axios'
export interface LocationgroupVO {
code: string
name: string
description: string
warehouseCode: string
areaCode: string
available: number
activeTime: Date
expireTime: Date
remark: string
}
// 查询库位组列表
export const getLocationgroupPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/locationgroup/senior', data })
} else {
return await request.get({ url: `/wms/locationgroup/page`, params })
}
}
// 查询库位组列表
export const getLocationgroupList = async (params) => {
return await request.get({ url: `/wms/locationgroup/list`, params })
}
// 查询库位组详情
export const getLocationgroup = async (id: number) => {
return await request.get({ url: `/wms/locationgroup/get?id=` + id })
}
// 新增库位组
export const createLocationgroup = async (data: LocationgroupVO) => {
return await request.post({ url: `/wms/locationgroup/create`, data })
}
// 修改库位组
export const updateLocationgroup = async (data: LocationgroupVO) => {
return await request.put({ url: `/wms/locationgroup/update`, data })
}
// 删除库位组
export const deleteLocationgroup = async (id: number) => {
return await request.delete({ url: `/wms/locationgroup/delete?id=` + id })
}
// 导出库位组 Excel
export const exportLocationgroup = async (params) => {
return await request.download({ url: `/wms/locationgroup/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/locationgroup/get-import-template' })
}

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

@ -1,52 +0,0 @@
import request from '@/config/axios'
export interface OfflinesettlementRequestDetailVO {
packingNumber: string
containerNumber: string
batch: string
inventoryStatus: string
locationCode: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
updateTime: Date
updater: string
number: string
itemCode: string
remark: string
createTime: Date
creator: string
}
// 查询下线结算申请子列表
export const getOfflinesettlementRequestDetailPage = async (params) => {
return await request.get({ url: `/wms/offlinesettlement-request-detail/page`, params })
}
// 查询下线结算申请子详情
export const getOfflinesettlementRequestDetail = async (id: number) => {
return await request.get({ url: `/wms/offlinesettlement-request-detail/get?id=` + id })
}
// 新增下线结算申请子
export const createOfflinesettlementRequestDetail = async (data: OfflinesettlementRequestDetailVO) => {
return await request.post({ url: `/wms/offlinesettlement-request-detail/create`, data })
}
// 修改下线结算申请子
export const updateOfflinesettlementRequestDetail = async (data: OfflinesettlementRequestDetailVO) => {
return await request.put({ url: `/wms/offlinesettlement-request-detail/update`, data })
}
// 删除下线结算申请子
export const deleteOfflinesettlementRequestDetail = async (id: number) => {
return await request.delete({ url: `/wms/offlinesettlement-request-detail/delete?id=` + id })
}
// 导出下线结算申请子 Excel
export const exportOfflinesettlementRequestDetail = async (params) => {
return await request.download({ url: `/wms/offlinesettlement-request-detail/export-excel`, params })
}

51
src/api/wms/offlinesettlementRequestMain/index.ts

@ -1,51 +0,0 @@
import request from '@/config/axios'
export interface OfflinesettlementRequestMainVO {
productReceiptRecordNumber: string
warehouseCode: string
requestTime: Date
dueTime: Date
departmentCode: string
status: string
updateTime: Date
updater: string
number: string
businessType: string
remark: string
createTime: Date
creator: string
autoCommit: string
autoAgree: string
autoExecute: string
directCreateRecord: string
}
// 查询下线结算申请主列表
export const getOfflinesettlementRequestMainPage = async (params) => {
return await request.get({ url: `/wms/offlinesettlement-request-main/page`, params })
}
// 查询下线结算申请主详情
export const getOfflinesettlementRequestMain = async (id: number) => {
return await request.get({ url: `/wms/offlinesettlement-request-main/get?id=` + id })
}
// 新增下线结算申请主
export const createOfflinesettlementRequestMain = async (data: OfflinesettlementRequestMainVO) => {
return await request.post({ url: `/wms/offlinesettlement-request-main/create`, data })
}
// 修改下线结算申请主
export const updateOfflinesettlementRequestMain = async (data: OfflinesettlementRequestMainVO) => {
return await request.put({ url: `/wms/offlinesettlement-request-main/update`, data })
}
// 删除下线结算申请主
export const deleteOfflinesettlementRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/offlinesettlement-request-main/delete?id=` + id })
}
// 导出下线结算申请主 Excel
export const exportOfflinesettlementRequestMain = async (params) => {
return await request.download({ url: `/wms/offlinesettlement-request-main/export-excel`, params })
}

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

@ -1,52 +0,0 @@
import request from '@/config/axios'
export interface OnlinesettlementRequestDetailVO {
packingNumber: string
containerNumber: string
batch: string
inventoryStatus: string
locationCode: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
updateTime: Date
updater: string
number: string
itemCode: string
remark: string
createTime: Date
creator: string
}
// 查询上线结算申请子列表
export const getOnlinesettlementRequestDetailPage = async (params) => {
return await request.get({ url: `/wms/onlinesettlement-request-detail/page`, params })
}
// 查询上线结算申请子详情
export const getOnlinesettlementRequestDetail = async (id: number) => {
return await request.get({ url: `/wms/onlinesettlement-request-detail/get?id=` + id })
}
// 新增上线结算申请子
export const createOnlinesettlementRequestDetail = async (data: OnlinesettlementRequestDetailVO) => {
return await request.post({ url: `/wms/onlinesettlement-request-detail/create`, data })
}
// 修改上线结算申请子
export const updateOnlinesettlementRequestDetail = async (data: OnlinesettlementRequestDetailVO) => {
return await request.put({ url: `/wms/onlinesettlement-request-detail/update`, data })
}
// 删除上线结算申请子
export const deleteOnlinesettlementRequestDetail = async (id: number) => {
return await request.delete({ url: `/wms/onlinesettlement-request-detail/delete?id=` + id })
}
// 导出上线结算申请子 Excel
export const exportOnlinesettlementRequestDetail = async (params) => {
return await request.download({ url: `/wms/onlinesettlement-request-detail/export-excel`, params })
}

51
src/api/wms/onlinesettlementRequestMain/index.ts

@ -1,51 +0,0 @@
import request from '@/config/axios'
export interface OnlinesettlementRequestMainVO {
issueRecordNumber: string
warehouseCode: string
requestTime: Date
dueTime: Date
departmentCode: string
status: string
updateTime: Date
updater: string
number: string
businessType: string
remark: string
createTime: Date
creator: string
autoCommit: string
autoAgree: string
autoExecute: string
directCreateRecord: string
}
// 查询上线结算申请主列表
export const getOnlinesettlementRequestMainPage = async (params) => {
return await request.get({ url: `/wms/onlinesettlement-request-main/page`, params })
}
// 查询上线结算申请主详情
export const getOnlinesettlementRequestMain = async (id: number) => {
return await request.get({ url: `/wms/onlinesettlement-request-main/get?id=` + id })
}
// 新增上线结算申请主
export const createOnlinesettlementRequestMain = async (data: OnlinesettlementRequestMainVO) => {
return await request.post({ url: `/wms/onlinesettlement-request-main/create`, data })
}
// 修改上线结算申请主
export const updateOnlinesettlementRequestMain = async (data: OnlinesettlementRequestMainVO) => {
return await request.put({ url: `/wms/onlinesettlement-request-main/update`, data })
}
// 删除上线结算申请主
export const deleteOnlinesettlementRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/onlinesettlement-request-main/delete?id=` + id })
}
// 导出上线结算申请主 Excel
export const exportOnlinesettlementRequestMain = async (params) => {
return await request.download({ url: `/wms/onlinesettlement-request-main/export-excel`, params })
}

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

@ -1,63 +0,0 @@
import request from '@/config/axios'
export interface OwnerVO {
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 getOwnerPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/owner/senior', data })
} else {
return await request.get({ url: `/wms/owner/page`, params })
}
}
// 查询货主详情
export const getOwner = async (id: number) => {
return await request.get({ url: `/wms/owner/get?id=` + id })
}
// 新增货主
export const createOwner = async (data: OwnerVO) => {
return await request.post({ url: `/wms/owner/create`, data })
}
// 修改货主
export const updateOwner = async (data: OwnerVO) => {
return await request.put({ url: `/wms/owner/update`, data })
}
// 删除货主
export const deleteOwner = async (id: number) => {
return await request.delete({ url: `/wms/owner/delete?id=` + id })
}
// 导出货主 Excel
export const exportOwner = async (params) => {
return await request.download({ url: `/wms/owner/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/owner/get-import-template' })
}

54
src/api/wms/paramsetting/index.ts

@ -1,54 +0,0 @@
import request from '@/config/axios'
export interface ParamsettingVO {
strategyType: string
paramCode: string
paramName: string
usableOpeartors: string
dataType: string
valueScope: string
relatedTo: string
description: string
isRequired: string
}
// 查询参数设置列表
export const getParamsettingPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/paramsetting/senior', data })
} else {
return await request.get({ url: `/wms/paramsetting/page`, params })
}
}
// 查询参数设置详情
export const getParamsetting = async (id: number) => {
return await request.get({ url: `/wms/paramsetting/get?id=` + id })
}
// 新增参数设置
export const createParamsetting = async (data: ParamsettingVO) => {
return await request.post({ url: `/wms/paramsetting/create`, data })
}
// 修改参数设置
export const updateParamsetting = async (data: ParamsettingVO) => {
return await request.put({ url: `/wms/paramsetting/update`, data })
}
// 删除参数设置
export const deleteParamsetting = async (id: number) => {
return await request.delete({ url: `/wms/paramsetting/delete?id=` + id })
}
// 导出参数设置 Excel
export const exportParamsetting = async (params) => {
return await request.download({ url: `/wms/paramsetting/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/paramsetting/get-import-template' })
}

51
src/api/wms/pickRequestDetail/index.ts

@ -1,51 +0,0 @@
import request from '@/config/axios'
export interface PickRequestDetailVO {
inventoryStatus: 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 getPickRequestDetailPage = async (params) => {
return await request.get({ url: `/wms/pick-request-detail/page`, params })
}
// 查询拣料申请子详情
export const getPickRequestDetail = async (id: number) => {
return await request.get({ url: `/wms/pick-request-detail/get?id=` + id })
}
// 新增拣料申请子
export const createPickRequestDetail = async (data: PickRequestDetailVO) => {
return await request.post({ url: `/wms/pick-request-detail/create`, data })
}
// 修改拣料申请子
export const updatePickRequestDetail = async (data: PickRequestDetailVO) => {
return await request.put({ url: `/wms/pick-request-detail/update`, data })
}
// 删除拣料申请子
export const deletePickRequestDetail = async (id: number) => {
return await request.delete({ url: `/wms/pick-request-detail/delete?id=` + id })
}
// 导出拣料申请子 Excel
export const exportPickRequestDetail = async (params) => {
return await request.download({ url: `/wms/pick-request-detail/export-excel`, params })
}

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

@ -1,55 +0,0 @@
import request from '@/config/axios'
export interface PickRequestMainVO {
fromWarehouseCode: string
fromLocationTypes: string
fromAreas: string
number: string
businessType: string
remark: string
createTime: Date
creator: string
requestTime: Date
dueTime: Date
departmentCode: string
status: string
updateTime: Date
updater: string
toWarehouseCode: string
toLocationTypes: string
toAreaCodes: string
autoCommit: string
autoAgree: string
autoExecute: string
directCreateRecord: string
}
// 查询拣料申请主列表
export const getPickRequestMainPage = async (params) => {
return await request.get({ url: `/wms/pick-request-main/page`, params })
}
// 查询拣料申请主详情
export const getPickRequestMain = async (id: number) => {
return await request.get({ url: `/wms/pick-request-main/get?id=` + id })
}
// 新增拣料申请主
export const createPickRequestMain = async (data: PickRequestMainVO) => {
return await request.post({ url: `/wms/pick-request-main/create`, data })
}
// 修改拣料申请主
export const updatePickRequestMain = async (data: PickRequestMainVO) => {
return await request.put({ url: `/wms/pick-request-main/update`, data })
}
// 删除拣料申请主
export const deletePickRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/pick-request-main/delete?id=` + id })
}
// 导出拣料申请主 Excel
export const exportPickRequestMain = async (params) => {
return await request.download({ url: `/wms/pick-request-main/export-excel`, params })
}

47
src/api/wms/preparetoissueDetail/index.ts

@ -1,47 +0,0 @@
import request from '@/config/axios'
export interface PreparetoissueDetailVO {
toLocationCode: string
workStation: string
dueTime: Date
number: string
itemCode: string
remark: string
createTime: Date
creator: string
planQty: number
uom: string
updateTime: Date
updater: string
available: string
}
// 查询备料计划子列表
export const getPreparetoissueDetailPage = async (params) => {
return await request.get({ url: `/wms/preparetoissue-detail/page`, params })
}
// 查询备料计划子详情
export const getPreparetoissueDetail = async (id: number) => {
return await request.get({ url: `/wms/preparetoissue-detail/get?id=` + id })
}
// 新增备料计划子
export const createPreparetoissueDetail = async (data: PreparetoissueDetailVO) => {
return await request.post({ url: `/wms/preparetoissue-detail/create`, data })
}
// 修改备料计划子
export const updatePreparetoissueDetail = async (data: PreparetoissueDetailVO) => {
return await request.put({ url: `/wms/preparetoissue-detail/update`, data })
}
// 删除备料计划子
export const deletePreparetoissueDetail = async (id: number) => {
return await request.delete({ url: `/wms/preparetoissue-detail/delete?id=` + id })
}
// 导出备料计划子 Excel
export const exportPreparetoissueDetail = async (params) => {
return await request.download({ url: `/wms/preparetoissue-detail/export-excel`, params })
}

51
src/api/wms/preparetoissueMain/index.ts

@ -1,51 +0,0 @@
import request from '@/config/axios'
export interface PreparetoissueMainVO {
productionPlanNumber: string
workshop: string
prodLine: string
shift: string
team: 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 getPreparetoissueMainPage = async (params) => {
return await request.get({ url: `/wms/preparetoissue-main/page`, params })
}
// 查询备料计划主详情
export const getPreparetoissueMain = async (id: number) => {
return await request.get({ url: `/wms/preparetoissue-main/get?id=` + id })
}
// 新增备料计划主
export const createPreparetoissueMain = async (data: PreparetoissueMainVO) => {
return await request.post({ url: `/wms/preparetoissue-main/create`, data })
}
// 修改备料计划主
export const updatePreparetoissueMain = async (data: PreparetoissueMainVO) => {
return await request.put({ url: `/wms/preparetoissue-main/update`, data })
}
// 删除备料计划主
export const deletePreparetoissueMain = async (id: number) => {
return await request.delete({ url: `/wms/preparetoissue-main/delete?id=` + id })
}
// 导出备料计划主 Excel
export const exportPreparetoissueMain = async (params) => {
return await request.download({ url: `/wms/preparetoissue-main/export-excel`, params })
}

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

@ -1,55 +0,0 @@
import request from '@/config/axios'
export interface ProcessVO {
code: string
name: string
description: string
type: string
workshopCode: string
productionLineCode: string
available: number
activeTime: Date
expireTime: Date
remark: string
}
// 查询工序列表
export const getProcessPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/process/senior', data })
} else {
return await request.get({ url: `/wms/process/page`, params })
}
}
// 查询工序详情
export const getProcess = async (id: number) => {
return await request.get({ url: `/wms/process/get?id=` + id })
}
// 新增工序
export const createProcess = async (data: ProcessVO) => {
return await request.post({ url: `/wms/process/create`, data })
}
// 修改工序
export const updateProcess = async (data: ProcessVO) => {
return await request.put({ url: `/wms/process/update`, data })
}
// 删除工序
export const deleteProcess = async (id: number) => {
return await request.delete({ url: `/wms/process/delete?id=` + id })
}
// 导出工序 Excel
export const exportProcess = async (params) => {
return await request.download({ url: `/wms/process/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/process/get-import-template' })
}

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

@ -1,60 +0,0 @@
import request from '@/config/axios'
export interface ProductdismantleRequestDetailaVO {
productionLineCode: string
workStationCode: string
processCode: string
packingNumber: string
containerNumber: string
batch: string
produceDate: Date
expireDate: Date
inventoryStatus: string
stdPackQty: number
stdPackUnit: string
number: string
itemCode: string
remark: string
createTime: Date
creator: string
itemName: string
itemDesc1: string
itemDesc2: string
projectOde: string
qty: number
uom: string
updateTime: Date
updater: string
fromLocationCode: string
fromOwnerCode: string
}
// 查询制品拆解申请子列表
export const getProductdismantleRequestDetailaPage = async (params) => {
return await request.get({ url: `/wms/productdismantle-request-detaila/page`, params })
}
// 查询制品拆解申请子详情
export const getProductdismantleRequestDetaila = async (id: number) => {
return await request.get({ url: `/wms/productdismantle-request-detaila/get?id=` + id })
}
// 新增制品拆解申请子
export const createProductdismantleRequestDetaila = async (data: ProductdismantleRequestDetailaVO) => {
return await request.post({ url: `/wms/productdismantle-request-detaila/create`, data })
}
// 修改制品拆解申请子
export const updateProductdismantleRequestDetaila = async (data: ProductdismantleRequestDetailaVO) => {
return await request.put({ url: `/wms/productdismantle-request-detaila/update`, data })
}
// 删除制品拆解申请子
export const deleteProductdismantleRequestDetaila = async (id: number) => {
return await request.delete({ url: `/wms/productdismantle-request-detaila/delete?id=` + id })
}
// 导出制品拆解申请子 Excel
export const exportProductdismantleRequestDetaila = async (params) => {
return await request.download({ url: `/wms/productdismantle-request-detaila/export-excel`, params })
}

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

@ -1,55 +0,0 @@
import request from '@/config/axios'
export interface ProductdismantleRequestMainVO {
workshopCode: string
team: string
shift: 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 getProductdismantleRequestMainPage = async (params) => {
return await request.get({ url: `/wms/productdismantle-request-main/page`, params })
}
// 查询制品拆解申请主详情
export const getProductdismantleRequestMain = async (id: number) => {
return await request.get({ url: `/wms/productdismantle-request-main/get?id=` + id })
}
// 新增制品拆解申请主
export const createProductdismantleRequestMain = async (data: ProductdismantleRequestMainVO) => {
return await request.post({ url: `/wms/productdismantle-request-main/create`, data })
}
// 修改制品拆解申请主
export const updateProductdismantleRequestMain = async (data: ProductdismantleRequestMainVO) => {
return await request.put({ url: `/wms/productdismantle-request-main/update`, data })
}
// 删除制品拆解申请主
export const deleteProductdismantleRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/productdismantle-request-main/delete?id=` + id })
}
// 导出制品拆解申请主 Excel
export const exportProductdismantleRequestMain = async (params) => {
return await request.download({ url: `/wms/productdismantle-request-main/export-excel`, params })
}

49
src/api/wms/productionDetail/index.ts

@ -1,49 +0,0 @@
import request from '@/config/axios'
export interface ProductionDetailVO {
woNumber: string
woLine: string
bomVersion: string
goodQty: number
notGoodQty: number
number: string
itemCode: string
remark: string
createTime: Date
creator: string
planQty: number
uom: string
updateTime: Date
updater: string
available: string
}
// 查询生产计划子列表
export const getProductionDetailPage = async (params) => {
return await request.get({ url: `/wms/production-detail/page`, params })
}
// 查询生产计划子详情
export const getProductionDetail = async (id: number) => {
return await request.get({ url: `/wms/production-detail/get?id=` + id })
}
// 新增生产计划子
export const createProductionDetail = async (data: ProductionDetailVO) => {
return await request.post({ url: `/wms/production-detail/create`, data })
}
// 修改生产计划子
export const updateProductionDetail = async (data: ProductionDetailVO) => {
return await request.put({ url: `/wms/production-detail/update`, data })
}
// 删除生产计划子
export const deleteProductionDetail = async (id: number) => {
return await request.delete({ url: `/wms/production-detail/delete?id=` + id })
}
// 导出生产计划子 Excel
export const exportProductionDetail = async (params) => {
return await request.download({ url: `/wms/production-detail/export-excel`, params })
}

51
src/api/wms/productionMain/index.ts

@ -1,51 +0,0 @@
import request from '@/config/axios'
export interface ProductionMainVO {
displayOrder: number
workshop: string
productionLine: string
shift: string
team: 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 getProductionMainPage = async (params) => {
return await request.get({ url: `/wms/production-main/page`, params })
}
// 查询生产计划主详情
export const getProductionMain = async (id: number) => {
return await request.get({ url: `/wms/production-main/get?id=` + id })
}
// 新增生产计划主
export const createProductionMain = async (data: ProductionMainVO) => {
return await request.post({ url: `/wms/production-main/create`, data })
}
// 修改生产计划主
export const updateProductionMain = async (data: ProductionMainVO) => {
return await request.put({ url: `/wms/production-main/update`, data })
}
// 删除生产计划主
export const deleteProductionMain = async (id: number) => {
return await request.delete({ url: `/wms/production-main/delete?id=` + id })
}
// 导出生产计划主 Excel
export const exportProductionMain = async (params) => {
return await request.download({ url: `/wms/production-main/export-excel`, params })
}

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

@ -1,56 +0,0 @@
import request from '@/config/axios'
export interface ProductionlineVO {
code: string
name: string
description: string
type: string
workshopCode: string
rawLocationCode: string
fgLocationCode: string
available: number
activeTime: Date
expireTime: Date
remark: string
}
// 查询生产线列表
export const getProductionlinePage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/productionline/senior', data })
} else {
return await request.get({ url: `/wms/productionline/page`, params })
}
}
// 查询生产线详情
export const getProductionline = async (id: number) => {
return await request.get({ url: `/wms/productionline/get?id=` + id })
}
// 新增生产线
export const createProductionline = async (data: ProductionlineVO) => {
return await request.post({ url: `/wms/productionline/create`, data })
}
// 修改生产线
export const updateProductionline = async (data: ProductionlineVO) => {
return await request.put({ url: `/wms/productionline/update`, data })
}
// 删除生产线
export const deleteProductionline = async (id: number) => {
return await request.delete({ url: `/wms/productionline/delete?id=` + id })
}
// 导出生产线 Excel
export const exportProductionline = async (params) => {
return await request.download({ url: `/wms/productionline/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/productionline/get-import-template' })
}

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

@ -1,52 +0,0 @@
import request from '@/config/axios'
export interface ProductionlineitemVO {
fgLocationCode: string
productionLineCode: string
itemCode: string
available: number
activeTime: Date
expireTime: Date
remark: string
}
// 查询生产线物料关系列表
export const getProductionlineitemPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/productionlineitem/senior', data })
} else {
return await request.get({ url: `/wms/productionlineitem/page`, params })
}
}
// 查询生产线物料关系详情
export const getProductionlineitem = async (id: number) => {
return await request.get({ url: `/wms/productionlineitem/get?id=` + id })
}
// 新增生产线物料关系
export const createProductionlineitem = async (data: ProductionlineitemVO) => {
return await request.post({ url: `/wms/productionlineitem/create`, data })
}
// 修改生产线物料关系
export const updateProductionlineitem = async (data: ProductionlineitemVO) => {
return await request.put({ url: `/wms/productionlineitem/update`, data })
}
// 删除生产线物料关系
export const deleteProductionlineitem = async (id: number) => {
return await request.delete({ url: `/wms/productionlineitem/delete?id=` + id })
}
// 导出生产线物料关系 Excel
export const exportProductionlineitem = async (params) => {
return await request.download({ url: `/wms/productionlineitem/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/productionlineitem/get-import-template' })
}

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

@ -1,56 +0,0 @@
import request from '@/config/axios'
export interface ProductionreturnRequestDetailVO {
productionLineCode: string
workStationCode: string
inventoryStatus: string
fromOwnerCode: string
packingNumber: string
containerNumber: string
batch: 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 getProductionreturnRequestDetailPage = async (params) => {
return await request.get({ url: `/wms/productionreturn-request-detail/page`, params })
}
// 查询生产退料申请子详情
export const getProductionreturnRequestDetail = async (id: number) => {
return await request.get({ url: `/wms/productionreturn-request-detail/get?id=` + id })
}
// 新增生产退料申请子
export const createProductionreturnRequestDetail = async (data: ProductionreturnRequestDetailVO) => {
return await request.post({ url: `/wms/productionreturn-request-detail/create`, data })
}
// 修改生产退料申请子
export const updateProductionreturnRequestDetail = async (data: ProductionreturnRequestDetailVO) => {
return await request.put({ url: `/wms/productionreturn-request-detail/update`, data })
}
// 删除生产退料申请子
export const deleteProductionreturnRequestDetail = async (id: number) => {
return await request.delete({ url: `/wms/productionreturn-request-detail/delete?id=` + id })
}
// 导出生产退料申请子 Excel
export const exportProductionreturnRequestDetail = async (params) => {
return await request.download({ url: `/wms/productionreturn-request-detail/export-excel`, params })
}

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

@ -1,56 +0,0 @@
import request from '@/config/axios'
export interface ProductionreturnRequestMainVO {
workshopCode: 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
toWarehouseCode: string
toLocationTypes: string
toAreaCodes: string
autoCommit: string
autoAgree: string
autoExecute: string
directCreateRecord: string
}
// 查询生产退料申请主列表
export const getProductionreturnRequestMainPage = async (params) => {
return await request.get({ url: `/wms/productionreturn-request-main/page`, params })
}
// 查询生产退料申请主详情
export const getProductionreturnRequestMain = async (id: number) => {
return await request.get({ url: `/wms/productionreturn-request-main/get?id=` + id })
}
// 新增生产退料申请主
export const createProductionreturnRequestMain = async (data: ProductionreturnRequestMainVO) => {
return await request.post({ url: `/wms/productionreturn-request-main/create`, data })
}
// 修改生产退料申请主
export const updateProductionreturnRequestMain = async (data: ProductionreturnRequestMainVO) => {
return await request.put({ url: `/wms/productionreturn-request-main/update`, data })
}
// 删除生产退料申请主
export const deleteProductionreturnRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/productionreturn-request-main/delete?id=` + id })
}
// 导出生产退料申请主 Excel
export const exportProductionreturnRequestMain = async (params) => {
return await request.download({ url: `/wms/productionreturn-request-main/export-excel`, params })
}

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

@ -1,56 +0,0 @@
import request from '@/config/axios'
export interface ProductputawayRequestDetailVO {
packingNumber: string
containerNumber: string
batch: string
inventoryStatus: string
poNumber: string
poLine: 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
fromOwnerCode: string
toOwnerCode: string
}
// 查询制品上架申请子列表
export const getProductputawayRequestDetailPage = async (params) => {
return await request.get({ url: `/wms/productputaway-request-detail/page`, params })
}
// 查询制品上架申请子详情
export const getProductputawayRequestDetail = async (id: number) => {
return await request.get({ url: `/wms/productputaway-request-detail/get?id=` + id })
}
// 新增制品上架申请子
export const createProductputawayRequestDetail = async (data: ProductputawayRequestDetailVO) => {
return await request.post({ url: `/wms/productputaway-request-detail/create`, data })
}
// 修改制品上架申请子
export const updateProductputawayRequestDetail = async (data: ProductputawayRequestDetailVO) => {
return await request.put({ url: `/wms/productputaway-request-detail/update`, data })
}
// 删除制品上架申请子
export const deleteProductputawayRequestDetail = async (id: number) => {
return await request.delete({ url: `/wms/productputaway-request-detail/delete?id=` + id })
}
// 导出制品上架申请子 Excel
export const exportProductputawayRequestDetail = async (params) => {
return await request.download({ url: `/wms/productputaway-request-detail/export-excel`, params })
}

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

@ -1,57 +0,0 @@
import request from '@/config/axios'
export interface ProductputawayRequestMainVO {
id: number
supplierCode: string
fromWarehouseCode: string
toWarehouseCode: string
fromLocationTypes: string
toLocationTypes: string
fromAreaCodes: string
toAreaCodes: 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 getProductputawayRequestMainPage = async (params) => {
return await request.get({ url: `/wms/productputaway-request-main/page`, params })
}
// 查询制品上架申请主详情
export const getProductputawayRequestMain = async (id: number) => {
return await request.get({ url: `/wms/productputaway-request-main/get?id=` + id })
}
// 新增制品上架申请主
export const createProductputawayRequestMain = async (data: ProductputawayRequestMainVO) => {
return await request.post({ url: `/wms/productputaway-request-main/create`, data })
}
// 修改制品上架申请主
export const updateProductputawayRequestMain = async (data: ProductputawayRequestMainVO) => {
return await request.put({ url: `/wms/productputaway-request-main/update`, data })
}
// 删除制品上架申请主
export const deleteProductputawayRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/productputaway-request-main/delete?id=` + id })
}
// 导出制品上架申请主 Excel
export const exportProductputawayRequestMain = async (params) => {
return await request.download({ url: `/wms/productputaway-request-main/export-excel`, params })
}

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

@ -1,61 +0,0 @@
import request from '@/config/axios'
export interface ProductreceiptRequestDetailVO {
productionLineCode: string
workStationCode: string
processCode: string
packingNumber: string
containerNumber: string
batch: string
produceDate: Date
expireDate: Date
inventoryStatus: string
woNumber: string
woLine: string
stdPackQty: number
stdPackUnit: 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 getProductreceiptRequestDetailPage = async (params) => {
return await request.get({ url: `/wms/productreceipt-request-detail/page`, params })
}
// 查询制品收货申请子详情
export const getProductreceiptRequestDetail = async (id: number) => {
return await request.get({ url: `/wms/productreceipt-request-detail/get?id=` + id })
}
// 新增制品收货申请子
export const createProductreceiptRequestDetail = async (data: ProductreceiptRequestDetailVO) => {
return await request.post({ url: `/wms/productreceipt-request-detail/create`, data })
}
// 修改制品收货申请子
export const updateProductreceiptRequestDetail = async (data: ProductreceiptRequestDetailVO) => {
return await request.put({ url: `/wms/productreceipt-request-detail/update`, data })
}
// 删除制品收货申请子
export const deleteProductreceiptRequestDetail = async (id: number) => {
return await request.delete({ url: `/wms/productreceipt-request-detail/delete?id=` + id })
}
// 导出制品收货申请子 Excel
export const exportProductreceiptRequestDetail = async (params) => {
return await request.download({ url: `/wms/productreceipt-request-detail/export-excel`, params })
}

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

@ -1,56 +0,0 @@
import request from '@/config/axios'
export interface ProductreceiptRequestMainVO {
productionPlanNumber: string
workshopCode: string
team: string
shift: string
toWarehouseCode: string
toLocationTypes: string
toAreaCodes: 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 getProductreceiptRequestMainPage = async (params) => {
return await request.get({ url: `/wms/productreceipt-request-main/page`, params })
}
// 查询制品收货申请主详情
export const getProductreceiptRequestMain = async (id: number) => {
return await request.get({ url: `/wms/productreceipt-request-main/get?id=` + id })
}
// 新增制品收货申请主
export const createProductreceiptRequestMain = async (data: ProductreceiptRequestMainVO) => {
return await request.post({ url: `/wms/productreceipt-request-main/create`, data })
}
// 修改制品收货申请主
export const updateProductreceiptRequestMain = async (data: ProductreceiptRequestMainVO) => {
return await request.put({ url: `/wms/productreceipt-request-main/update`, data })
}
// 删除制品收货申请主
export const deleteProductreceiptRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/productreceipt-request-main/delete?id=` + id })
}
// 导出制品收货申请主 Excel
export const exportProductreceiptRequestMain = async (params) => {
return await request.download({ url: `/wms/productreceipt-request-main/export-excel`, params })
}

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

@ -1,56 +0,0 @@
import request from '@/config/axios'
export interface ProductrepairRequestDetailaVO {
fromOwnerCode: string
productionlineCode: string
workStationCode: string
processCode: string
packingNumber: string
containerNumber: string
batch: string
fromLocationCode: string
inventoryStatus: 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 getProductrepairRequestDetailaPage = async (params) => {
return await request.get({ url: `/wms/productrepair-request-detaila/page`, params })
}
// 查询制品返修申请子详情
export const getProductrepairRequestDetaila = async (id: number) => {
return await request.get({ url: `/wms/productrepair-request-detaila/get?id=` + id })
}
// 新增制品返修申请子
export const createProductrepairRequestDetaila = async (data: ProductrepairRequestDetailaVO) => {
return await request.post({ url: `/wms/productrepair-request-detaila/create`, data })
}
// 修改制品返修申请子
export const updateProductrepairRequestDetaila = async (data: ProductrepairRequestDetailaVO) => {
return await request.put({ url: `/wms/productrepair-request-detaila/update`, data })
}
// 删除制品返修申请子
export const deleteProductrepairRequestDetaila = async (id: number) => {
return await request.delete({ url: `/wms/productrepair-request-detaila/delete?id=` + id })
}
// 导出制品返修申请子 Excel
export const exportProductrepairRequestDetaila = async (params) => {
return await request.download({ url: `/wms/productrepair-request-detaila/export-excel`, params })
}

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

@ -1,55 +0,0 @@
import request from '@/config/axios'
export interface ProductrepairRequestMainVO {
workshopCode: string
team: string
shift: string
fromWarehouseCode: 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
fromAreaCodes: string
autoCommit: string
autoAgree: string
autoExecute: string
directCreateRecord: string
}
// 查询制品返修申请主列表
export const getProductrepairRequestMainPage = async (params) => {
return await request.get({ url: `/wms/productrepair-request-main/page`, params })
}
// 查询制品返修申请主详情
export const getProductrepairRequestMain = async (id: number) => {
return await request.get({ url: `/wms/productrepair-request-main/get?id=` + id })
}
// 新增制品返修申请主
export const createProductrepairRequestMain = async (data: ProductrepairRequestMainVO) => {
return await request.post({ url: `/wms/productrepair-request-main/create`, data })
}
// 修改制品返修申请主
export const updateProductrepairRequestMain = async (data: ProductrepairRequestMainVO) => {
return await request.put({ url: `/wms/productrepair-request-main/update`, data })
}
// 删除制品返修申请主
export const deleteProductrepairRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/productrepair-request-main/delete?id=` + id })
}
// 导出制品返修申请主 Excel
export const exportProductrepairRequestMain = async (params) => {
return await request.download({ url: `/wms/productrepair-request-main/export-excel`, params })
}

54
src/api/wms/productscrapRequestDetail/index.ts

@ -1,54 +0,0 @@
import request from '@/config/axios'
export interface ProductscrapRequestDetailVO {
fromOwnerCode: string
packingNumber: string
containerNumber: string
batch: string
fromLocationCode: string
inventoryStatus: string
reason: 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 getProductscrapRequestDetailPage = async (params) => {
return await request.get({ url: `/wms/productscrap-request-detail/page`, params })
}
// 查询制品报废申请子详情
export const getProductscrapRequestDetail = async (id: number) => {
return await request.get({ url: `/wms/productscrap-request-detail/get?id=` + id })
}
// 新增制品报废申请子
export const createProductscrapRequestDetail = async (data: ProductscrapRequestDetailVO) => {
return await request.post({ url: `/wms/productscrap-request-detail/create`, data })
}
// 修改制品报废申请子
export const updateProductscrapRequestDetail = async (data: ProductscrapRequestDetailVO) => {
return await request.put({ url: `/wms/productscrap-request-detail/update`, data })
}
// 删除制品报废申请子
export const deleteProductscrapRequestDetail = async (id: number) => {
return await request.delete({ url: `/wms/productscrap-request-detail/delete?id=` + id })
}
// 导出制品报废申请子 Excel
export const exportProductscrapRequestDetail = async (params) => {
return await request.download({ url: `/wms/productscrap-request-detail/export-excel`, params })
}

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

@ -1,52 +0,0 @@
import request from '@/config/axios'
export interface ProductscrapRequestMainVO {
fromWarehouseCode: 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
fromAreaCodes: string
autoCommit: string
autoAgree: string
autoExecute: string
directCreateRecord: string
}
// 查询制品报废申请主列表
export const getProductscrapRequestMainPage = async (params) => {
return await request.get({ url: `/wms/productscrap-request-main/page`, params })
}
// 查询制品报废申请主详情
export const getProductscrapRequestMain = async (id: number) => {
return await request.get({ url: `/wms/productscrap-request-main/get?id=` + id })
}
// 新增制品报废申请主
export const createProductscrapRequestMain = async (data: ProductscrapRequestMainVO) => {
return await request.post({ url: `/wms/productscrap-request-main/create`, data })
}
// 修改制品报废申请主
export const updateProductscrapRequestMain = async (data: ProductscrapRequestMainVO) => {
return await request.put({ url: `/wms/productscrap-request-main/update`, data })
}
// 删除制品报废申请主
export const deleteProductscrapRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/productscrap-request-main/delete?id=` + id })
}
// 导出制品报废申请主 Excel
export const exportProductscrapRequestMain = async (params) => {
return await request.download({ url: `/wms/productscrap-request-main/export-excel`, params })
}

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

@ -1,53 +0,0 @@
import request from '@/config/axios'
export interface ProjectVO {
code: string
name: string
description: string
customerCode: string
available: number
activeTime: Date
expireTime: Date
remark: string
}
// 查询项目列表
export const getProjectPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/project/senior', data })
} else {
return await request.get({ url: `/wms/project/page`, params })
}
}
// 查询项目详情
export const getProject = async (id: number) => {
return await request.get({ url: `/wms/project/get?id=` + id })
}
// 新增项目
export const createProject = async (data: ProjectVO) => {
return await request.post({ url: `/wms/project/create`, data })
}
// 修改项目
export const updateProject = async (data: ProjectVO) => {
return await request.put({ url: `/wms/project/update`, data })
}
// 删除项目
export const deleteProject = async (id: number) => {
return await request.delete({ url: `/wms/project/delete?id=` + id })
}
// 导出项目 Excel
export const exportProject = async (params) => {
return await request.download({ url: `/wms/project/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/project/get-import-template' })
}

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

@ -1,61 +0,0 @@
import request from '@/config/axios'
export interface PurchaseDetailVO {
lineNumber: string
erpLocationCode: string
projectCode: string
stdPackQty: number
stdPackUnit: string
supplierQty: number
supplierUom: string
convertRate: number
shippedQty: number
receivedQty: number
returnedQty: number
putawayQty: number
overReceivingPercent: number
singlePrice: number
amount: number
number: string
itemCode: string
remark: string
createTime: Date
creator: string
orderQty: number
uom: string
updateTime: Date
updater: string
concurrencyStamp: string
status: string
available: string
}
// 查询采购订单子列表
export const getPurchaseDetailPage = async (params) => {
return await request.get({ url: `/wms/purchase-detail/page`, params })
}
// 查询采购订单子详情
export const getPurchaseDetail = async (id: number) => {
return await request.get({ url: `/wms/purchase-detail/get?id=` + id })
}
// 新增采购订单子
export const createPurchaseDetail = async (data: PurchaseDetailVO) => {
return await request.post({ url: `/wms/purchase-detail/create`, data })
}
// 修改采购订单子
export const updatePurchaseDetail = async (data: PurchaseDetailVO) => {
return await request.put({ url: `/wms/purchase-detail/update`, data })
}
// 删除采购订单子
export const deletePurchaseDetail = async (id: number) => {
return await request.delete({ url: `/wms/purchase-detail/delete?id=` + id })
}
// 导出采购订单子 Excel
export const exportPurchaseDetail = async (params) => {
return await request.download({ url: `/wms/purchase-detail/export-excel`, params })
}

54
src/api/wms/purchaseMain/index.ts

@ -1,54 +0,0 @@
import request from '@/config/axios'
export interface PurchaseMainVO {
supplierCode: string
number: string
type: string
status: string
orderDate: Date
dueDate: Date
version: string
taxRate: number
contactName: string
contactPhone: string
contactEmail: string
isConsignment: string
businessType: string
remark: string
createTime: Date
creator: string
updateTime: Date
updater: string
currentStage: number
available: string
}
// 查询采购订单主列表
export const getPurchaseMainPage = async (params) => {
return await request.get({ url: `/wms/purchase-main/page`, params })
}
// 查询采购订单主详情
export const getPurchaseMain = async (id: number) => {
return await request.get({ url: `/wms/purchase-main/get?id=` + id })
}
// 新增采购订单主
export const createPurchaseMain = async (data: PurchaseMainVO) => {
return await request.post({ url: `/wms/purchase-main/create`, data })
}
// 修改采购订单主
export const updatePurchaseMain = async (data: PurchaseMainVO) => {
return await request.put({ url: `/wms/purchase-main/update`, data })
}
// 删除采购订单主
export const deletePurchaseMain = async (id: number) => {
return await request.delete({ url: `/wms/purchase-main/delete?id=` + id })
}
// 导出采购订单主 Excel
export const exportPurchaseMain = async (params) => {
return await request.download({ url: `/wms/purchase-main/export-excel`, params })
}

47
src/api/wms/purchasePlanDetail/index.ts

@ -1,47 +0,0 @@
import request from '@/config/axios'
export interface PurchasePlanDetailVO {
poNumber: string
poLine: string
number: string
itemCode: string
remark: string
createTime: Date
creator: string
shippedQty: number
planQty: number
uom: string
updateTime: Date
updater: string
available: string
}
// 查询要货计划子列表
export const getPurchasePlanDetailPage = async (params) => {
return await request.get({ url: `/wms/purchase-plan-detail/page`, params })
}
// 查询要货计划子详情
export const getPurchasePlanDetail = async (id: number) => {
return await request.get({ url: `/wms/purchase-plan-detail/get?id=` + id })
}
// 新增要货计划子
export const createPurchasePlanDetail = async (data: PurchasePlanDetailVO) => {
return await request.post({ url: `/wms/purchase-plan-detail/create`, data })
}
// 修改要货计划子
export const updatePurchasePlanDetail = async (data: PurchasePlanDetailVO) => {
return await request.put({ url: `/wms/purchase-plan-detail/update`, data })
}
// 删除要货计划子
export const deletePurchasePlanDetail = async (id: number) => {
return await request.delete({ url: `/wms/purchase-plan-detail/delete?id=` + id })
}
// 导出要货计划子 Excel
export const exportPurchasePlanDetail = async (params) => {
return await request.download({ url: `/wms/purchase-plan-detail/export-excel`, params })
}

49
src/api/wms/purchasePlanMain/index.ts

@ -1,49 +0,0 @@
import request from '@/config/axios'
export interface PurchasePlanMainVO {
supplierCode: string
timeWindow: string
warehouseCode: string
dockCode: string
number: string
businessType: string
remark: string
createTime: Date
creator: string
beginTime: Date
endTime: Date
status: string
updateTime: Date
updater: string
available: string
}
// 查询要货计划主列表
export const getPurchasePlanMainPage = async (params) => {
return await request.get({ url: `/wms/purchase-plan-main/page`, params })
}
// 查询要货计划主详情
export const getPurchasePlanMain = async (id: number) => {
return await request.get({ url: `/wms/purchase-plan-main/get?id=` + id })
}
// 新增要货计划主
export const createPurchasePlanMain = async (data: PurchasePlanMainVO) => {
return await request.post({ url: `/wms/purchase-plan-main/create`, data })
}
// 修改要货计划主
export const updatePurchasePlanMain = async (data: PurchasePlanMainVO) => {
return await request.put({ url: `/wms/purchase-plan-main/update`, data })
}
// 删除要货计划主
export const deletePurchasePlanMain = async (id: number) => {
return await request.delete({ url: `/wms/purchase-plan-main/delete?id=` + id })
}
// 导出要货计划主 Excel
export const exportPurchasePlanMain = async (params) => {
return await request.download({ url: `/wms/purchase-plan-main/export-excel`, params })
}

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

@ -1,53 +0,0 @@
import request from '@/config/axios'
export interface PurchaseclaimRequestDetailVO {
altBatch: string
amount: Number
batch: Number
id: string
itemCode: string
itemDesc1: string
itemDesc2: string
itemName: string
number: string
poLine: string
poNumber: string
projectCode: string
qty: Number
reason: string
remark: string
singlePrice: Number
uom: string
}
// 查询采购索赔申请子列表
export const getPurchaseclaimRequestDetailPage = async (params) => {
// return await request.get({ url: `/wms/purchaseclaim-request-detail/page`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/purchaseclaim-request-detail/senior', data })
} else {
return await request.get({ url: `/wms/purchaseclaim-request-detail/page`, params })
}
}
// 查询采购索赔申请子详情
export const getPurchaseclaimRequesDetail = async (id: number) => {
return await request.get({ url: `/wms/purchaseclaim-request-detail/get?id=` + id })
}
// 新增采购索赔申请子
export const createPurchaseclaimRequestDetail = async (data: PurchaseclaimRequestDetailVO) => {
return await request.post({ url: `/wms/purchaseclaim-request-detail/create`, data })
}
// 修改采购索赔申请子
export const updatePurchaseclaimRequestDetail = async (data: PurchaseclaimRequestDetailVO) => {
return await request.put({ url: `/wms/purchaseclaim-request-detail/update`, data })
}
// 删除采购索赔申请子
export const deletePurchaseclaimRequestDetail = async (id: number) => {
return await request.delete({ url: `/wms/purchaseclaim-request-detail/delete?id=` + id })
}

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

@ -1,62 +0,0 @@
import request from '@/config/axios'
export interface PurchaseclaimRequestMainVO {
asnNumber: string
ppNumber: string
supplierCode: 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 getPurchaseclaimRequestMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/purchaseclaim-request-main/senior', data })
} else {
return await request.get({ url: `/wms/purchaseclaim-request-main/page`, params })
}
}
// 查询采购索赔申请主详情
export const getPurchaseclaimRequestMain = async (id: number) => {
return await request.get({ url: `/wms/purchaseclaim-request-main/get?id=` + id })
}
// 新增采购索赔申请主
export const createPurchaseclaimRequestMain = async (data: PurchaseclaimRequestMainVO) => {
return await request.post({ url: `/wms/purchaseclaim-request-main/create`, data })
}
// 修改采购索赔申请主
export const updatePurchaseclaimRequestMain = async (data: PurchaseclaimRequestMainVO) => {
return await request.put({ url: `/wms/purchaseclaim-request-main/update`, data })
}
// 删除采购索赔申请主
export const deletePurchaseclaimRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/purchaseclaim-request-main/delete?id=` + id })
}
// 导出采购索赔申请主 Excel
export const exportPurchaseclaimRequestMain = async (params) => {
return await request.download({ url: `/wms/purchaseclaim-request-main/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/purchaseclaim-request-main/get-import-template' })
}

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

@ -1,53 +0,0 @@
import request from '@/config/axios'
export interface PurchasepriceVO {
supplierCode: string
itemCode: string
currency: string
price: number
available: number
activeTime: Date
expireTime: Date
remark: string
}
// 查询采购价格单列表
export const getPurchasepricePage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/purchaseprice/senior', data })
} else {
return await request.get({ url: `/wms/purchaseprice/page`, params })
}
}
// 查询采购价格单详情
export const getPurchaseprice = async (id: number) => {
return await request.get({ url: `/wms/purchaseprice/get?id=` + id })
}
// 新增采购价格单
export const createPurchaseprice = async (data: PurchasepriceVO) => {
return await request.post({ url: `/wms/purchaseprice/create`, data })
}
// 修改采购价格单
export const updatePurchaseprice = async (data: PurchasepriceVO) => {
return await request.put({ url: `/wms/purchaseprice/update`, data })
}
// 删除采购价格单
export const deletePurchaseprice = async (id: number) => {
return await request.delete({ url: `/wms/purchaseprice/delete?id=` + id })
}
// 导出采购价格单 Excel
export const exportPurchaseprice = async (params) => {
return await request.download({ url: `/wms/purchaseprice/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/purchaseprice/get-import-template' })
}

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

@ -1,65 +0,0 @@
import request from '@/config/axios'
export interface PurchasereceiptRequestDetailVO {
packingNumber: string
containerNumber: string
batch: string
altBatch: string
arriveDate: Date
produceDate: Date
expireDate: Date
inventoryStatus: string
fromLocationCode: string
poNumber: string
poLine: string
stdPackQty: number
stdPackUnit: string
supplierPackQty: number
supplierPackUnit: string
convertRate: number
number: string
itemCode: string
remark: string
itemName: string
itemDesc1: string
itemDesc2: string
projectCode: string
qty: number
uom: string
updateTime: Date
updater: string
fromOwnerCode: string
toOwnerCode: string
createTime: Date
creator: string
}
// 查询采购收货申请子列表
export const getPurchasereceiptRequestDetailPage = async (params) => {
return await request.get({ url: `/wms/purchasereceipt-request-detail/page`, params })
}
// 查询采购收货申请子详情
export const getPurchasereceiptRequestDetail = async (id: number) => {
return await request.get({ url: `/wms/purchasereceipt-request-detail/get?id=` + id })
}
// 新增采购收货申请子
export const createPurchasereceiptRequestDetail = async (data: PurchasereceiptRequestDetailVO) => {
return await request.post({ url: `/wms/purchasereceipt-request-detail/create`, data })
}
// 修改采购收货申请子
export const updatePurchasereceiptRequestDetail = async (data: PurchasereceiptRequestDetailVO) => {
return await request.put({ url: `/wms/purchasereceipt-request-detail/update`, data })
}
// 删除采购收货申请子
export const deletePurchasereceiptRequestDetail = async (id: number) => {
return await request.delete({ url: `/wms/purchasereceipt-request-detail/delete?id=` + id })
}
// 导出采购收货申请子 Excel
export const exportPurchasereceiptRequestDetail = async (params) => {
return await request.download({ url: `/wms/purchasereceipt-request-detail/export-excel`, params })
}

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

@ -1,62 +0,0 @@
import request from '@/config/axios'
export interface PurchasereceiptRequestMainVO {
asnNumber: string
ppNumber: string
supplierCode: string
carrierCode: string
transferMode: string
fromWarehouseCode: string
toWarehouseCode: string
fromLocationTypes: string
toLocationTypes: string
fromAreaCodes: string
toAreaCodes: string
toDockCode: string
number: string
businessType: string
remark: string
createTime: Date
creator: string
requestTime: Date
dueTime: Date
departmentCode: string
updateTime: Date
updater: string
status: string
autoCommit: string
autoAgree: string
autoExecute: string
directCreateRecord: string
vehiclePlateNumber: string
}
// 查询采购收货申请主列表
export const getPurchasereceiptRequestMainPage = async (params) => {
return await request.get({ url: `/wms/purchasereceipt-request-main/page`, params })
}
// 查询采购收货申请主详情
export const getPurchasereceiptRequestMain = async (id: number) => {
return await request.get({ url: `/wms/purchasereceipt-request-main/get?id=` + id })
}
// 新增采购收货申请主
export const createPurchasereceiptRequestMain = async (data: PurchasereceiptRequestMainVO) => {
return await request.post({ url: `/wms/purchasereceipt-request-main/create`, data })
}
// 修改采购收货申请主
export const updatePurchasereceiptRequestMain = async (data: PurchasereceiptRequestMainVO) => {
return await request.put({ url: `/wms/purchasereceipt-request-main/update`, data })
}
// 删除采购收货申请主
export const deletePurchasereceiptRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/purchasereceipt-request-main/delete?id=` + id })
}
// 导出采购收货申请主 Excel
export const exportPurchasereceiptRequestMain = async (params) => {
return await request.download({ url: `/wms/purchasereceipt-request-main/export-excel`, params })
}

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

@ -1,58 +0,0 @@
import request from '@/config/axios'
export interface PurchasereturnRequestDetailVO {
packingNumber: string
containerNumber: string
batch: string
altBatch: string
toLocationCode: string
inventoryStatus: string
poNumber: string
poLine: string
reason: 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 getPurchasereturnRequestDetailPage = async (params) => {
return await request.get({ url: `/wms/purchasereturn-request-detail/page`, params })
}
// 查询采购退货申请子详情
export const getPurchasereturnRequestDetail = async (id: number) => {
return await request.get({ url: `/wms/purchasereturn-request-detail/get?id=` + id })
}
// 新增采购退货申请子
export const createPurchasereturnRequestDetail = async (data: PurchasereturnRequestDetailVO) => {
return await request.post({ url: `/wms/purchasereturn-request-detail/create`, data })
}
// 修改采购退货申请子
export const updatePurchasereturnRequestDetail = async (data: PurchasereturnRequestDetailVO) => {
return await request.put({ url: `/wms/purchasereturn-request-detail/update`, data })
}
// 删除采购退货申请子
export const deletePurchasereturnRequestDetail = async (id: number) => {
return await request.delete({ url: `/wms/purchasereturn-request-detail/delete?id=` + id })
}
// 导出采购退货申请子 Excel
export const exportPurchasereturnRequestDetail = async (params) => {
return await request.download({ url: `/wms/purchasereturn-request-detail/export-excel`, params })
}

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

@ -1,63 +0,0 @@
import request from '@/config/axios'
export interface PurchasereturnRequestMainVO {
purchaseReceiptRecordNumber: string
asnNumber: string
ppNumber: string
supplierCode: 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
fromAreaCodes: string
fromDockCode: string
toLocationTypes: string
toAreaCodes: string
autoCommit: string
autoAgree: string
autoExecute: string
directCreateRecord: string
}
// 查询采购退货申请主列表
export const getPurchasereturnRequestMainPage = async (params) => {
return await request.get({ url: `/wms/purchasereturn-request-main/page`, params })
}
// 查询采购退货申请主详情
export const getPurchasereturnRequestMain = async (id: number) => {
return await request.get({ url: `/wms/purchasereturn-request-main/get?id=` + id })
}
// 新增采购退货申请主
export const createPurchasereturnRequestMain = async (data: PurchasereturnRequestMainVO) => {
return await request.post({ url: `/wms/purchasereturn-request-main/create`, data })
}
// 修改采购退货申请主
export const updatePurchasereturnRequestMain = async (data: PurchasereturnRequestMainVO) => {
return await request.put({ url: `/wms/purchasereturn-request-main/update`, data })
}
// 删除采购退货申请主
export const deletePurchasereturnRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/purchasereturn-request-main/delete?id=` + id })
}
// 导出采购退货申请主 Excel
export const exportPurchasereturnRequestMain = async (params) => {
return await request.download({ url: `/wms/purchasereturn-request-main/export-excel`, params })
}

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

@ -1,56 +0,0 @@
import request from '@/config/axios'
export interface PutawayRequestDetailVO {
packingNumber: string
containerNumber: string
batch: string
inventoryStatus: string
poNumber: string
poLine: 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
fromOwnerCode: string
toOwnerCode: string
}
// 查询上架申请子列表
export const getPutawayRequestDetailPage = async (params) => {
return await request.get({ url: `/wms/putaway-request-detail/page`, params })
}
// 查询上架申请子详情
export const getPutawayRequestDetail = async (id: number) => {
return await request.get({ url: `/wms/putaway-request-detail/get?id=` + id })
}
// 新增上架申请子
export const createPutawayRequestDetail = async (data: PutawayRequestDetailVO) => {
return await request.post({ url: `/wms/putaway-request-detail/create`, data })
}
// 修改上架申请子
export const updatePutawayRequestDetail = async (data: PutawayRequestDetailVO) => {
return await request.put({ url: `/wms/putaway-request-detail/update`, data })
}
// 删除上架申请子
export const deletePutawayRequestDetail = async (id: number) => {
return await request.delete({ url: `/wms/putaway-request-detail/delete?id=` + id })
}
// 导出上架申请子 Excel
export const exportPutawayRequestDetail = async (params) => {
return await request.download({ url: `/wms/putaway-request-detail/export-excel`, params })
}

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

@ -1,64 +0,0 @@
import request from '@/config/axios'
export interface PutawayRequestMainVO {
supplierCode: 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
toWarehouseCode: string
toLocationTypes: string
toAreaCodes: string
autoCommit: string
autoAgree: string
autoExecute: string
directCreateRecord: string
autoCommit: string
autoCommit: string
autoAgree: string
autoAgree: string
autoExecute: string
autoExecute: string
directCreateRecord: string
directCreateRecord: string
}
// 查询上架申请主列表
export const getPutawayRequestMainPage = async (params) => {
return await request.get({ url: `/wms/putaway-request-main/page`, params })
}
// 查询上架申请主详情
export const getPutawayRequestMain = async (id: number) => {
return await request.get({ url: `/wms/putaway-request-main/get?id=` + id })
}
// 新增上架申请主
export const createPutawayRequestMain = async (data: PutawayRequestMainVO) => {
return await request.post({ url: `/wms/putaway-request-main/create`, data })
}
// 修改上架申请主
export const updatePutawayRequestMain = async (data: PutawayRequestMainVO) => {
return await request.put({ url: `/wms/putaway-request-main/update`, data })
}
// 删除上架申请主
export const deletePutawayRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/putaway-request-main/delete?id=` + id })
}
// 导出上架申请主 Excel
export const exportPutawayRequestMain = async (params) => {
return await request.download({ url: `/wms/putaway-request-main/export-excel`, params })
}

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

@ -1,52 +0,0 @@
import request from '@/config/axios'
export interface RecordsettingVO {
code: string
interfaceType: string
activeTime: Date
expireTime: Date
remark: string
available: string
isSoftDeleted: string
}
// 查询记录设置列表
export const getRecordsettingPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/recordsetting/senior', data })
} else {
return await request.get({ url: `/wms/recordsetting/page`, params })
}
}
// 查询记录设置详情
export const getRecordsetting = async (id: number) => {
return await request.get({ url: `/wms/recordsetting/get?id=` + id })
}
// 新增记录设置
export const createRecordsetting = async (data: RecordsettingVO) => {
return await request.post({ url: `/wms/recordsetting/create`, data })
}
// 修改记录设置
export const updateRecordsetting = async (data: RecordsettingVO) => {
return await request.put({ url: `/wms/recordsetting/update`, data })
}
// 删除记录设置
export const deleteRecordsetting = async (id: number) => {
return await request.delete({ url: `/wms/recordsetting/delete?id=` + id })
}
// 导出记录设置 Excel
export const exportRecordsetting = async (params) => {
return await request.download({ url: `/wms/recordsetting/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/recordsetting/get-import-template' })
}

14
src/api/wms/remark/index.ts

@ -1,14 +0,0 @@
import request from '@/config/axios'
// 查询备注列表
export const getRemarkPage = async (params) => {
return await request.get({ url: `/infra/remark/list`, params })
}
// 新增备注
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 })
}

51
src/api/wms/repleinshRequestDetail/index.ts

@ -1,51 +0,0 @@
import request from '@/config/axios'
export interface RepleinshRequestDetailVO {
inventoryStatus: 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 getRepleinshRequestDetailPage = async (params) => {
return await request.get({ url: `/wms/repleinsh-request-detail/page`, params })
}
// 查询补料申请子详情
export const getRepleinshRequestDetail = async (id: number) => {
return await request.get({ url: `/wms/repleinsh-request-detail/get?id=` + id })
}
// 新增补料申请子
export const createRepleinshRequestDetail = async (data: RepleinshRequestDetailVO) => {
return await request.post({ url: `/wms/repleinsh-request-detail/create`, data })
}
// 修改补料申请子
export const updateRepleinshRequestDetail = async (data: RepleinshRequestDetailVO) => {
return await request.put({ url: `/wms/repleinsh-request-detail/update`, data })
}
// 删除补料申请子
export const deleteRepleinshRequestDetail = async (id: number) => {
return await request.delete({ url: `/wms/repleinsh-request-detail/delete?id=` + id })
}
// 导出补料申请子 Excel
export const exportRepleinshRequestDetail = async (params) => {
return await request.download({ url: `/wms/repleinsh-request-detail/export-excel`, params })
}

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

@ -1,55 +0,0 @@
import request from '@/config/axios'
export interface RepleinshRequestMainVO {
fomWarehouseCode: 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
toWarehouseCode: string
toLocationTypes: string
toAreaCodes: string
autoCommit: string
autoAgree: string
autoExecute: string
directCreateRecord: string
}
// 查询补料申请主列表
export const getRepleinshRequestMainPage = async (params) => {
return await request.get({ url: `/wms/repleinsh-request-main/page`, params })
}
// 查询补料申请主详情
export const getRepleinshRequestMain = async (id: number) => {
return await request.get({ url: `/wms/repleinsh-request-main/get?id=` + id })
}
// 新增补料申请主
export const createRepleinshRequestMain = async (data: RepleinshRequestMainVO) => {
return await request.post({ url: `/wms/repleinsh-request-main/create`, data })
}
// 修改补料申请主
export const updateRepleinshRequestMain = async (data: RepleinshRequestMainVO) => {
return await request.put({ url: `/wms/repleinsh-request-main/update`, data })
}
// 删除补料申请主
export const deleteRepleinshRequestMain = async (id: number) => {
return await request.delete({ url: `/wms/repleinsh-request-main/delete?id=` + id })
}
// 导出补料申请主 Excel
export const exportRepleinshRequestMain = async (params) => {
return await request.download({ url: `/wms/repleinsh-request-main/export-excel`, params })
}

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

Loading…
Cancel
Save