liuchen864 9 months ago
parent
commit
4e1c0ffa70
  1. 7
      src/api/wms/balance/index.ts
  2. 4
      src/api/wms/businesstype/index.ts
  3. 4
      src/api/wms/containerBindRecordMain/index.ts
  4. 4
      src/api/wms/containerInitRecordMain/index.ts
  5. 4
      src/api/wms/containerRepairRecordMain/index.ts
  6. 4
      src/api/wms/containerUnbindRecordMain/index.ts
  7. 12
      src/api/wms/countJobMain/index.ts
  8. 8
      src/api/wms/countPlanMain/index.ts
  9. 8
      src/api/wms/countRecordMain/index.ts
  10. 8
      src/api/wms/countRequestMain/index.ts
  11. 8
      src/api/wms/countadjustRecordMain/index.ts
  12. 8
      src/api/wms/countadjustRequestMain/index.ts
  13. 4
      src/api/wms/customerreceiptRecordMain/index.ts
  14. 4
      src/api/wms/customerreceiptRequestMain/index.ts
  15. 4
      src/api/wms/customerreturnJobMain/index.ts
  16. 4
      src/api/wms/customerreturnRecordMain/index.ts
  17. 4
      src/api/wms/customerreturnRequestMain/index.ts
  18. 2
      src/api/wms/customersettleRecordMain/index.ts
  19. 2
      src/api/wms/customersettleRequestMain/index.ts
  20. 4
      src/api/wms/deliverJobMain/index.ts
  21. 4
      src/api/wms/deliverRecordMain/index.ts
  22. 4
      src/api/wms/deliverRequestMain/index.ts
  23. 8
      src/api/wms/demandforecastingMain/index.ts
  24. 4
      src/api/wms/inspectJobMain/index.ts
  25. 9
      src/api/wms/inspectRecordMain/index.ts
  26. 2
      src/api/wms/inspectRequestMain/index.ts
  27. 4
      src/api/wms/inventoryinitRecordDetail/index.ts
  28. 4
      src/api/wms/inventoryinitRequestDetail/index.ts
  29. 4
      src/api/wms/inventorymoveJobMain/index.ts
  30. 4
      src/api/wms/inventorymoveRecordMain/index.ts
  31. 4
      src/api/wms/inventorymoveRequestMain/index.ts
  32. 4
      src/api/wms/issueJobDetail/index.ts
  33. 4
      src/api/wms/issueJobMain/index.ts
  34. 4
      src/api/wms/issueRecordMain/index.ts
  35. 4
      src/api/wms/issueRequestMain/index.ts
  36. 69
      src/api/wms/itemarea/index.ts
  37. 50
      src/api/wms/itemareaDetail/index.ts
  38. 34
      src/api/wms/itempackage/index.ts
  39. 59
      src/api/wms/itemwarehouse/index.ts
  40. 8
      src/api/wms/offlinesettlementRecordMain/index.ts
  41. 8
      src/api/wms/offlinesettlementRequestMain/index.ts
  42. 8
      src/api/wms/onlinesettlementRecordMain/index.ts
  43. 8
      src/api/wms/onlinesettlementRequestMain/index.ts
  44. 4
      src/api/wms/package/index.ts
  45. 71
      src/api/wms/packageunit/index.ts
  46. 12
      src/api/wms/pickJobDetail/index.ts
  47. 24
      src/api/wms/pickJobMain/index.ts
  48. 12
      src/api/wms/pickRecordDetail/index.ts
  49. 24
      src/api/wms/pickRecordMain/index.ts
  50. 12
      src/api/wms/pickRequestDetail/index.ts
  51. 24
      src/api/wms/pickRequestMain/index.ts
  52. 63
      src/api/wms/plansetting/index.ts
  53. 4
      src/api/wms/productdismantleJobDetail/index.ts
  54. 12
      src/api/wms/productdismantleJobMain/index.ts
  55. 10
      src/api/wms/productdismantleRecordMain/index.ts
  56. 4
      src/api/wms/productdismantleRequestDetaila/index.ts
  57. 2
      src/api/wms/productdismantleRequestMain/index.ts
  58. 5
      src/api/wms/productionMain/index.ts
  59. 4
      src/api/wms/productionreceiptJobMain/index.ts
  60. 4
      src/api/wms/productionreceiptRecordMain/index.ts
  61. 4
      src/api/wms/productionreturnJobMain/index.ts
  62. 4
      src/api/wms/productionreturnRecordMain/index.ts
  63. 4
      src/api/wms/productionreturnRequestMain/index.ts
  64. 6
      src/api/wms/productionreturnRequestMainNo/index.ts
  65. 4
      src/api/wms/productputawayJobMain/index.ts
  66. 12
      src/api/wms/productputawayRecordMain/index.ts
  67. 4
      src/api/wms/productputawayRequestMain/index.ts
  68. 4
      src/api/wms/productreceiptJobDetail/index.ts
  69. 4
      src/api/wms/productreceiptJobMain/index.ts
  70. 4
      src/api/wms/productreceiptRecordDetail/index.ts
  71. 10
      src/api/wms/productreceiptRecordMain/index.ts
  72. 4
      src/api/wms/productreceiptRequestDetail/index.ts
  73. 2
      src/api/wms/productreceiptRequestMain/index.ts
  74. 10
      src/api/wms/productrepairRecordMain/index.ts
  75. 2
      src/api/wms/productrepairRequestMain/index.ts
  76. 4
      src/api/wms/productscrapJobMain/index.ts
  77. 10
      src/api/wms/productscrapRecordMain/index.ts
  78. 10
      src/api/wms/productscrapRequestMain/index.ts
  79. 4
      src/api/wms/purchaseDetail/index.ts
  80. 5
      src/api/wms/purchasePlanMain/index.ts
  81. 4
      src/api/wms/purchasereceiptJobDetail/index.ts
  82. 16
      src/api/wms/purchasereceiptJobMain/index.ts
  83. 4
      src/api/wms/purchasereceiptRecordDetail/index.ts
  84. 29
      src/api/wms/purchasereceiptRecordMain/index.ts
  85. 4
      src/api/wms/purchasereceiptRequestDetail/index.ts
  86. 20
      src/api/wms/purchasereceiptRequestMain/index.ts
  87. 4
      src/api/wms/purchasereturnJobMain/index.ts
  88. 4
      src/api/wms/purchasereturnRecordMain/index.ts
  89. 4
      src/api/wms/purchasereturnRequestMain/index.ts
  90. 4
      src/api/wms/putawayJobMain/index.ts
  91. 4
      src/api/wms/putawayRecordMain/index.ts
  92. 4
      src/api/wms/putawayRequestMain/index.ts
  93. 4
      src/api/wms/repleinshJobMain/index.ts
  94. 4
      src/api/wms/repleinshRecordMain/index.ts
  95. 4
      src/api/wms/repleinshRequestMain/index.ts
  96. 4
      src/api/wms/saleDetail/index.ts
  97. 12
      src/api/wms/scrapJobMain/index.ts
  98. 10
      src/api/wms/scrapRecordMain/index.ts
  99. 2
      src/api/wms/scrapRequestMain/index.ts
  100. 16
      src/api/wms/strategy/index.ts

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

@ -104,7 +104,12 @@ export const deleteBalance = async (id: number) => {
// 导出库存余额 Excel
export const exportBalance = async (params) => {
return await request.download({ url: `/wms/balance/export-excel`, params })
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/balance/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/balance/export-excel`, params })
}
}
// 下载用户导入模板

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

@ -6,8 +6,8 @@ export interface BusinesstypeVO {
description: string
itemTypes: string
itemStatuses: string
outLocationTypes: string
inLocationTypes: string
outAreaTypes: string
inAreaTypes: string
outAreaCodes: string
inAreaCodes: string
outInventoryStatuses: string

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

@ -21,8 +21,8 @@ export interface ContainerBindRecordMainVO {
extraProperties: string
siteId: string
code: string
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
fromAreaCodes: string
toAreaCodes: string
}

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

@ -20,8 +20,8 @@ export interface ContainerInitRecordMainVO {
extraProperties: string
siteId: string
code: string
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
fromAreaCodes: string
toAreaCodes: string
}

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

@ -21,8 +21,8 @@ export interface ContainerRepairRecordMainVO {
extraProperties: string
siteId: string
code: string
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
fromAreaCodes: string
toAreaCodes: string
}

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

@ -21,8 +21,8 @@ export interface ContainerUnbindRecordMainVO {
extraProperties: string
siteId: string
code: string
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
fromAreaCodes: string
toAreaCodes: string
}

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

@ -20,8 +20,8 @@ export interface CountJobMainVO {
acceptTime: Date
completeUserId: string
completeTime: Date
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
number: string
businessType: string
remark: string
@ -73,7 +73,13 @@ export const deleteCountJobMain = async (id: number) => {
// 导出盘点任务主 Excel
export const exportCountJobMain = async (params) => {
return await request.download({ url: `/wms/count-job-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/count-job-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/count-job-main/export-excel`, params })
}
}
// 下载用户导入模板

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

@ -60,7 +60,13 @@ export const deleteCountPlanMain = async (id: number) => {
// 导出盘点计划主 Excel
export const exportCountPlanMain = async (params) => {
return await request.download({ url: `/wms/count-plan-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/count-plan-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/count-plan-main/export-excel`, params })
}
}
// 下载用户导入模板

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

@ -56,7 +56,13 @@ export const deleteCountRecordMain = async (id: number) => {
// 导出盘点记录主 Excel
export const exportCountRecordMain = async (params) => {
return await request.download({ url: `/wms/count-record-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/count-record-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/count-record-main/export-excel`, params })
}
}
// 下载用户导入模板

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

@ -55,7 +55,13 @@ export const deleteCountRequestMain = async (id: number) => {
// 导出盘点申请主 Excel
export const exportCountRequestMain = async (params) => {
return await request.download({ url: `/wms/count-request-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/count-request-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/count-request-main/export-excel`, params })
}
}
// 下载用户导入模板

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

@ -54,7 +54,13 @@ export const deleteCountadjustRecordMain = async (id: number) => {
// 导出盘点调整记录主 Excel
export const exportCountadjustRecordMain = async (params) => {
return await request.download({ url: `/wms/countadjust-record-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/countadjust-record-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/countadjust-record-main/export-excel`, params })
}
}
// 下载用户导入模板

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

@ -54,7 +54,13 @@ export const deleteCountadjustRequestMain = async (id: number) => {
// 导出盘点调整申请主 Excel
export const exportCountadjustRequestMain = async (params) => {
return await request.download({ url: `/wms/countadjust-request-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/countadjust-request-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/countadjust-request-main/export-excel`, params })
}
}
// 下载用户导入模板

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

@ -25,8 +25,8 @@ export interface CustomerreceiptRecordMainVO {
createTime: Date
creator: string
code: string
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
fromAreaCodes: string
toAreaCodes: string
available: string

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

@ -21,8 +21,8 @@ export interface CustomerreceiptRequestMainVO {
status: string
updateTime: Date
updater: string
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
fromAreaCodes: string
toAreaCodes: string
autoCommit: string

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

@ -26,8 +26,8 @@ export interface CustomerreturnJobMainVO {
acceptTime: Date
completeUserId: string
completeTime: Date
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
number: string
businessType: string
remark: string

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

@ -26,8 +26,8 @@ export interface CustomerreturnRecordMainVO {
createTime: Date
creatorId: string
code: string
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
toAreaCodes: string
toDockCode: string
available: string

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

@ -21,10 +21,10 @@ export interface CustomerreturnRequestMainVO {
updateTime: Date
updater: string
fromWarehouseCode: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
toWarehouseCode: string
toLocationTypes: string
toAreaTypes: string
toAreaCodes: string
toDockCode: string
autoCommit: string

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

@ -20,7 +20,7 @@ export interface CustomersettleRecordMainVO {
creator: string
remark: string
fromWarehouseCode: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
available: string
}

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

@ -5,7 +5,7 @@ export interface CustomersettleRequestMainVO {
deliverPlanNumber: string
customerCode: string
fromWarehouseCode: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
number: string
businessType: string

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

@ -26,8 +26,8 @@ export interface DeliverJobMainVO {
acceptTime: Date
completeUserId: string
completeTime: Date
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
number: string
businessType: string
remark: string

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

@ -26,9 +26,9 @@ export interface DeliverRecordMainVO {
createTime: Date
creator: string
code: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
toLocationTypes: string
toAreaTypes: string
toAreaCodes: string
fromDockCode: string
available: string

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

@ -10,7 +10,7 @@ export interface DeliverRequestMainVO {
vehiclePlateNumber: string
fromWarehouseCode: string
toWarehouseCode: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
number: string
businessType: string
@ -23,7 +23,7 @@ export interface DeliverRequestMainVO {
status: string
updateTime: Date
updater: string
toLocationTypes: string
toAreaTypes: string
toAreaCodes: string
fromDockCode: string
autoCommit: string

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

@ -50,7 +50,13 @@ export const deleteDemandforecastingMain = async (id: number) => {
// 导出要货预测主 Excel
export const exportDemandforecastingMain = async (params) => {
return await request.download({ url: `/wms/demandforecasting-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/demandforecasting-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/demandforecasting-main/export-excel`, params })
}
}
// 下载用户导入模板

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

@ -19,8 +19,8 @@ export interface InspectJobMainVO {
acceptTime: Date
completeUserId: string
completeTime: Date
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
number: string
businessType: string
remark: string

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

@ -37,7 +37,8 @@ export interface InspectRecordMainVO {
ownerCode: string
available: string
sampleQty: number
fromLocationTypes: string
fromAreaTypes: string
putawayRequestFlag: boolean
}
// 查询检验记录主列表
@ -85,3 +86,9 @@ export const exportInspectRecordMain = async (params) => {
export const importTemplate = () => {
return request.download({ url: '/wms/inspect-record-main/get-import-template' })
}
// 创建上架申请
export const createPutAwayRequest = async (number:string) => {
return await request.post({ url: `/wms/inspect-record-main/createPutAwayRequestPC?number=`+number })
}

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

@ -7,7 +7,7 @@ export interface InspectRequestMainVO {
businessType: string
fromWarehouseCode: string
fromAreaCodes: string
fromLocationTypes: string
fromAreaTypes: string
remark: string
createTime: Date
creator: string

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

@ -13,8 +13,8 @@ export interface InventoryinitRecordDetailVO {
locationCode: string
locationGroupCode: string
areaCode: string
stdPackQty: number
stdPackUnit: string
packQty: number
packUnit: string
qty: number
singlePrice: number
amount: number

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

@ -13,8 +13,8 @@ export interface InventoryinitRequestDetailVO {
locationCode: string
locationGroupCode: string
areaCode: string
stdPackQty: number
stdPackUnit: string
packQty: number
packUnit: string
qty: number
number: string
remark: string

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

@ -18,8 +18,8 @@ export interface InventorymoveJobMainVO {
acceptTime: Date
completeUserId: string
completeTime: Date
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
number: string
businessType: string
remark: string

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

@ -19,10 +19,10 @@ export interface InventorymoveRecordMainVO {
createTime: Date
creator: string
fromWarehouseCode: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
toWarehouseCode: string
toLocationTypes: string
toAreaTypes: string
toAreaCodes: string
available: string
}

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

@ -13,10 +13,10 @@ export interface InventorymoveRequestMainVO {
updateTime: Date
updater: string
fromWarehouseOde: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
toWarehouseCode: string
toLocationTypes: string
toAreaTypes: string
toAreaCodes: string
useOnTheWayLocation: string
autoCommit: string

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

@ -14,8 +14,8 @@ export interface IssueJobDetailVO {
itemName: string
itemDesc1: string
itemDesc2: string
stdPackQty: number
stdPackUnit: string
packQty: number
packUnit: string
supplierQty: number
supplierUom: string
projectCode: string

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

@ -19,8 +19,8 @@ export interface IssueJobMainVO {
acceptTime: Date
completeUserName: string
completeTime: Date
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
number: string
businessType: string
remark: string

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

@ -19,10 +19,10 @@ export interface IssueRecordMainVO {
creator: string
code: string
fromWarehouseCode: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
toWarehouseCode: string
toLocationTypes: string
toAreaTypes: string
toAreaCodes: string
useOnTheWayLocation: string
available: string

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

@ -4,8 +4,8 @@ export interface IssueRequestMainVO {
workshopCode: string
fromWarehouseCode: string
toWarehouseCode: string
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
fromAreaCodes: string
toAreaCodes: string
number: string

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

@ -0,0 +1,69 @@
import request from '@/config/axios'
export interface ItemareaVO {
id: number
itemCode: string
areaCode: string
inPackUnit: string
outPackUnit: string
maxQty: number
minQty: number
safeQty: number
autoRepleinsh: string
repleinshFromArea: string
repleinshQty: number
needReceive: string
available: string
activeTime: Date
expireTime: Date
remark: string
manageMode: string
newlyToOutpackunit: string
surplusToOutpackunit: string
}
// 查询物料库区配置列表
export const getItemareaPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/itemarea/senior', data })
} else {
return await request.get({ url: `/wms/itemarea/page`, params })
}
}
// 查询物料库区配置详情
export const getItemarea = async (id: number) => {
return await request.get({ url: `/wms/itemarea/get?id=` + id })
}
// 新增物料库区配置
export const createItemarea = async (data: ItemareaVO) => {
return await request.post({ url: `/wms/itemarea/create`, data })
}
// 修改物料库区配置
export const updateItemarea = async (data: ItemareaVO) => {
return await request.put({ url: `/wms/itemarea/update`, data })
}
// 删除物料库区配置
export const deleteItemarea = async (id: number) => {
return await request.delete({ url: `/wms/itemarea/delete?id=` + id })
}
// 导出物料库区配置 Excel
export const exportItemarea = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/itemarea/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/itemarea/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/itemarea/get-import-template' })
}

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

@ -0,0 +1,50 @@
import request from '@/config/axios'
export interface ItemareaDetailVO {
id: number
masterId: number
remark: string
locationGroup: string
locationCode: string
}
// 查询物料库区配置表子列表
export const getItemareaDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/itemarea-detail/senior', data })
} else {
return await request.get({ url: `/wms/itemarea-detail/page`, params })
}
}
// 查询物料库区配置表子详情
export const getItemareaDetail = async (id: number) => {
return await request.get({ url: `/wms/itemarea-detail/get?id=` + id })
}
// 新增物料库区配置表子
export const createItemareaDetail = async (data: ItemareaDetailVO) => {
return await request.post({ url: `/wms/itemarea-detail/create`, data })
}
// 修改物料库区配置表子
export const updateItemareaDetail = async (data: ItemareaDetailVO) => {
return await request.put({ url: `/wms/itemarea-detail/update`, data })
}
// 删除物料库区配置表子
export const deleteItemareaDetail = async (id: number) => {
return await request.delete({ url: `/wms/itemarea-detail/delete?id=` + id })
}
// 导出物料库区配置表子 Excel
export const exportItemareaDetail = async (params) => {
return await request.download({ url: `/wms/itemarea-detail/export-excel`, params })
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/itemarea-detail/get-import-template' })
}

34
src/api/wms/itempackaging/index.ts → src/api/wms/itempackage/index.ts

@ -3,8 +3,8 @@ import request from '@/config/axios'
export interface ItempackagingVO {
itemCode: string
uom: string
stdPackUnit: string
stdPackQty: number
packUnit: string
packQty: number
altPackUnit1: string
altPackQty1: number
altPackUnit2: string
@ -24,42 +24,54 @@ export const getItempackagingPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/itempackaging/senior', data })
return request.post({ url: '/wms/itempackage/senior', data })
} else {
return await request.get({ url: `/wms/itempackaging/page`, params })
return await request.get({ url: `/wms/itempackage/page`, params })
}
}
// 查询物料包装信息 列表--供应商发货申请
export const getItempackagingPageBySupplierdeliver = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/itempackage/seniorBySupplierdeliver', data })
} else {
return await request.get({ url: `/wms/itempackage/pageBySupplierdeliver`, params })
}
}
// 查询物料包装信息 详情
export const getItempackaging = async (id: number) => {
return await request.get({ url: `/wms/itempackaging/get?id=` + id })
return await request.get({ url: `/wms/itempackage/get?id=` + id })
}
// 新增物料包装信息
export const createItempackaging = async (data: ItempackagingVO) => {
return await request.post({ url: `/wms/itempackaging/create`, data })
return await request.post({ url: `/wms/itempackage/create`, data })
}
// 修改物料包装信息
export const updateItempackaging = async (data: ItempackagingVO) => {
return await request.put({ url: `/wms/itempackaging/update`, data })
return await request.put({ url: `/wms/itempackage/update`, data })
}
// 删除物料包装信息
export const deleteItempackaging = async (id: number) => {
return await request.delete({ url: `/wms/itempackaging/delete?id=` + id })
return await request.delete({ url: `/wms/itempackage/delete?id=` + id })
}
// 导出物料包装信息 Excel
export const exportItempackaging = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/itempackaging/export-excel-senior`, data })
return await request.downloadPost({ url: `/wms/itempackage/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/itempackaging/export-excel`, params })
return await request.download({ url: `/wms/itempackage/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/itempackaging/get-import-template' })
return request.download({ url: '/wms/itempackage/get-import-template' })
}

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

@ -0,0 +1,59 @@
import request from '@/config/axios'
export interface ItemwarehouseVO {
id: number
itemCode: string
warehouseCode: string
manageMode: string
packUnit: string
available: string
activeTime: Date
expireTime: Date
remark: string
}
// 查询物料仓库默认配置列表
export const getItemwarehousePage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/itemwarehouse/senior', data })
} else {
return await request.get({ url: `/wms/itemwarehouse/page`, params })
}
}
// 查询物料仓库默认配置详情
export const getItemwarehouse = async (id: number) => {
return await request.get({ url: `/wms/itemwarehouse/get?id=` + id })
}
// 新增物料仓库默认配置
export const createItemwarehouse = async (data: ItemwarehouseVO) => {
return await request.post({ url: `/wms/itemwarehouse/create`, data })
}
// 修改物料仓库默认配置
export const updateItemwarehouse = async (data: ItemwarehouseVO) => {
return await request.put({ url: `/wms/itemwarehouse/update`, data })
}
// 删除物料仓库默认配置
export const deleteItemwarehouse = async (id: number) => {
return await request.delete({ url: `/wms/itemwarehouse/delete?id=` + id })
}
// 导出物料仓库默认配置 Excel
export const exportItemwarehouse = async (params) => {
if (params.isSearch) {
const data = {...params}
return await request.downloadPost({ url: `/wms/itemwarehouse/export-excel-senior`, data })
} else {
return await request.download({ url: `/wms/itemwarehouse/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/itemwarehouse/get-import-template' })
}

8
src/api/wms/offlinesettlementRecordMain/index.ts

@ -53,7 +53,13 @@ export const deleteOfflinesettlementRecordMain = async (id: number) => {
// 导出下线结算记录主 Excel
export const exportOfflinesettlementRecordMain = async (params) => {
return await request.download({ url: `/wms/offlinesettlement-record-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/offlinesettlement-record-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/offlinesettlement-record-main/export-excel`, params })
}
}
// 下载用户导入模板

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

@ -53,7 +53,13 @@ export const deleteOfflinesettlementRequestMain = async (id: number) => {
// 导出下线结算申请主 Excel
export const exportOfflinesettlementRequestMain = async (params) => {
return await request.download({ url: `/wms/offlinesettlement-request-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/offlinesettlement-request-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/offlinesettlement-request-main/export-excel`, params })
}
}
// 下载用户导入模板

8
src/api/wms/onlinesettlementRecordMain/index.ts

@ -53,7 +53,13 @@ export const deleteOnlinesettlementRecordMain = async (id: number) => {
// 导出上线结算记录主 Excel
export const exportOnlinesettlementRecordMain = async (params) => {
return await request.download({ url: `/wms/onlinesettlement-record-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/onlinesettlement-record-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/onlinesettlement-record-main/export-excel`, params })
}
}
// 下载用户导入模板

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

@ -53,7 +53,13 @@ export const deleteOnlinesettlementRequestMain = async (id: number) => {
// 导出上线结算申请主 Excel
export const exportOnlinesettlementRequestMain = async (params) => {
return await request.download({ url: `/wms/onlinesettlement-request-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/onlinesettlement-request-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/onlinesettlement-request-main/export-excel`, params })
}
}
// 下载用户导入模板

4
src/api/wms/package/index.ts

@ -16,8 +16,8 @@ export interface PackageVO {
altUom: string
altQty: number
convertRate: number
stdPackQty: number
stdPackUnit: string
packQty: number
packUnit: string
toWarehouseCode: string
toDockCode: string
toLocationCode: string

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

@ -0,0 +1,71 @@
import request from '@/config/axios'
export interface PackageunitVO {
id: number
code: string
name: string
length: number
width: number
height: number
weight: number
unit: string
available: string
activeTime: Date
expireTime: Date
remark: string
deletionTime: Date
deleterId: string
extraProperties: string
concurrencyStamp: number
siteId: string
desc: string
reuse: string
manageBalance: string
}
// 查询物品包装规格信息 列表
export const getPackageunitPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/packageunit/senior', data })
} else {
return await request.get({ url: `/wms/packageunit/page`, params })
}
}
// 查询物品包装规格信息 详情
export const getPackageunit = async (id: number) => {
return await request.get({ url: `/wms/packageunit/get?id=` + id })
}
// 新增物品包装规格信息
export const createPackageunit = async (data: PackageunitVO) => {
return await request.post({ url: `/wms/packageunit/create`, data })
}
// 修改物品包装规格信息
export const updatePackageunit = async (data: PackageunitVO) => {
return await request.put({ url: `/wms/packageunit/update`, data })
}
// 删除物品包装规格信息
export const deletePackageunit = async (id: number) => {
return await request.delete({ url: `/wms/packageunit/delete?id=` + id })
}
// 导出物品包装规格信息 Excel
export const exportPackageunit = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/packageunit/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/packageunit/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/packageunit/get-import-template' })
}

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

@ -22,7 +22,7 @@ export interface PickJobDetailVO {
toOwnerCode: string
}
// 查询拣料任务子列表
// 查询备货任务子列表
export const getPickJobDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
@ -33,27 +33,27 @@ export const getPickJobDetailPage = async (params) => {
}
}
// 查询拣料任务子详情
// 查询备货任务子详情
export const getPickJobDetail = async (id: number) => {
return await request.get({ url: `/wms/pick-job-detail/get?id=` + id })
}
// 新增拣料任务子
// 新增备货任务子
export const createPickJobDetail = async (data: PickJobDetailVO) => {
return await request.post({ url: `/wms/pick-job-detail/create`, data })
}
// 修改拣料任务子
// 修改备货任务子
export const updatePickJobDetail = async (data: PickJobDetailVO) => {
return await request.put({ url: `/wms/pick-job-detail/update`, data })
}
// 删除拣料任务子
// 删除备货任务子
export const deletePickJobDetail = async (id: number) => {
return await request.delete({ url: `/wms/pick-job-detail/delete?id=` + id })
}
// 导出拣料任务子 Excel
// 导出备货任务子 Excel
export const exportPickJobDetail = async (params) => {
return await request.download({ url: `/wms/pick-job-detail/export-excel`, params })
}

24
src/api/wms/pickJobMain/index.ts

@ -16,8 +16,8 @@ export interface PickJobMainVO {
acceptTime: Date
completeUserId: string
completeTime: Date
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
number: string
businessType: string
remark: string
@ -39,7 +39,7 @@ export interface PickJobMainVO {
allowModifyPackingNumber: string
}
// 查询拣料任务主列表
// 查询备货任务主列表
export const getPickJobMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
@ -50,29 +50,35 @@ export const getPickJobMainPage = async (params) => {
}
}
// 查询拣料任务主详情
// 查询备货任务主详情
export const getPickJobMain = async (id: number) => {
return await request.get({ url: `/wms/pick-job-main/get?id=` + id })
}
// 新增拣料任务主
// 新增备货任务主
export const createPickJobMain = async (data: PickJobMainVO) => {
return await request.post({ url: `/wms/pick-job-main/create`, data })
}
// 修改拣料任务主
// 修改备货任务主
export const updatePickJobMain = async (data: PickJobMainVO) => {
return await request.put({ url: `/wms/pick-job-main/update`, data })
}
// 删除拣料任务主
// 删除备货任务主
export const deletePickJobMain = async (id: number) => {
return await request.delete({ url: `/wms/pick-job-main/delete?id=` + id })
}
// 导出拣料任务主 Excel
// 导出备货任务主 Excel
export const exportPickJobMain = async (params) => {
return await request.download({ url: `/wms/pick-job-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/pick-job-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/pick-job-main/export-excel`, params })
}
}
// 下载用户导入模板

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

@ -32,7 +32,7 @@ export interface PickRecordDetailVO {
toBatch: string
}
// 查询拣料记录子列表
// 查询备货记录子列表
export const getPickRecordDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
@ -43,27 +43,27 @@ export const getPickRecordDetailPage = async (params) => {
}
}
// 查询拣料记录子详情
// 查询备货记录子详情
export const getPickRecordDetail = async (id: number) => {
return await request.get({ url: `/wms/pick-record-detail/get?id=` + id })
}
// 新增拣料记录子
// 新增备货记录子
export const createPickRecordDetail = async (data: PickRecordDetailVO) => {
return await request.post({ url: `/wms/pick-record-detail/create`, data })
}
// 修改拣料记录子
// 修改备货记录子
export const updatePickRecordDetail = async (data: PickRecordDetailVO) => {
return await request.put({ url: `/wms/pick-record-detail/update`, data })
}
// 删除拣料记录子
// 删除备货记录子
export const deletePickRecordDetail = async (id: number) => {
return await request.delete({ url: `/wms/pick-record-detail/delete?id=` + id })
}
// 导出拣料记录子 Excel
// 导出备货记录子 Excel
export const exportPickRecordDetail = async (params) => {
return await request.download({ url: `/wms/pick-record-detail/export-excel`, params })
}

24
src/api/wms/pickRecordMain/index.ts

@ -18,15 +18,15 @@ export interface PickRecordMainVO {
creator: string
code: string
fromWarehouseCode: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
toWarehouseCode: string
toLocationTypes: string
toAreaTypes: string
toAreaCodes: string
available: string
}
// 查询拣料记录主列表
// 查询备货记录主列表
export const getPickRecordMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
@ -37,29 +37,35 @@ export const getPickRecordMainPage = async (params) => {
}
}
// 查询拣料记录主详情
// 查询备货记录主详情
export const getPickRecordMain = async (id: number) => {
return await request.get({ url: `/wms/pick-record-main/get?id=` + id })
}
// 新增拣料记录主
// 新增备货记录主
export const createPickRecordMain = async (data: PickRecordMainVO) => {
return await request.post({ url: `/wms/pick-record-main/create`, data })
}
// 修改拣料记录主
// 修改备货记录主
export const updatePickRecordMain = async (data: PickRecordMainVO) => {
return await request.put({ url: `/wms/pick-record-main/update`, data })
}
// 删除拣料记录主
// 删除备货记录主
export const deletePickRecordMain = async (id: number) => {
return await request.delete({ url: `/wms/pick-record-main/delete?id=` + id })
}
// 导出拣料记录主 Excel
// 导出备货记录主 Excel
export const exportPickRecordMain = async (params) => {
return await request.download({ url: `/wms/pick-record-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/pick-record-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/pick-record-main/export-excel`, params })
}
}
// 下载用户导入模板

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

@ -20,7 +20,7 @@ export interface PickRequestDetailVO {
toOwnerCode: string
}
// 查询拣料申请子列表
// 查询备货申请子列表
export const getPickRequestDetailPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
@ -31,27 +31,27 @@ export const getPickRequestDetailPage = async (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
// 导出备货申请子 Excel
export const exportPickRequestDetail = async (params) => {
return await request.download({ url: `/wms/pick-request-detail/export-excel`, params })
}

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

@ -2,7 +2,7 @@ import request from '@/config/axios'
export interface PickRequestMainVO {
fromWarehouseCode: string
fromLocationTypes: string
fromAreaTypes: string
fromAreas: string
number: string
businessType: string
@ -16,7 +16,7 @@ export interface PickRequestMainVO {
updateTime: Date
updater: string
toWarehouseCode: string
toLocationTypes: string
toAreaTypes: string
toAreaCodes: string
autoCommit: string
autoAgree: string
@ -24,7 +24,7 @@ export interface PickRequestMainVO {
directCreateRecord: string
}
// 查询拣料申请主列表
// 查询备货申请主列表
export const getPickRequestMainPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
@ -35,29 +35,35 @@ export const getPickRequestMainPage = async (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
// 导出备货申请主 Excel
export const exportPickRequestMain = async (params) => {
return await request.download({ url: `/wms/pick-request-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/pick-request-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/pick-request-main/export-excel`, params })
}
}
// 下载用户导入模板

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

@ -0,0 +1,63 @@
import request from '@/config/axios'
export interface PlansettingVO {
id: number
code: string
requestMode: string
autoCommit: string
autoAgree: string
autoExecute: string
directCreateRecord: string
available: string
activeTime: Date
expireTime: Date
remark: string
concurrencyStamp: number
}
// 查询计划设置列表
export const getPlansettingPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/plansetting/senior', data })
} else {
return await request.get({ url: `/wms/plansetting/page`, params })
}
}
// 查询计划设置详情
export const getPlansetting = async (id: number) => {
return await request.get({ url: `/wms/plansetting/get?id=` + id })
}
// 新增计划设置
export const createPlansetting = async (data: PlansettingVO) => {
return await request.post({ url: `/wms/plansetting/create`, data })
}
// 修改计划设置
export const updatePlansetting = async (data: PlansettingVO) => {
return await request.put({ url: `/wms/plansetting/update`, data })
}
// 删除计划设置
export const deletePlansetting = async (id: number) => {
return await request.delete({ url: `/wms/plansetting/delete?id=` + id })
}
// 导出计划设置 Excel
export const exportPlansetting = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/plansetting/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/plansetting/export-excel`, params })
}
}
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/plansetting/get-import-template' })
}

4
src/api/wms/productdismantleJobDetail/index.ts

@ -10,8 +10,8 @@ export interface ProductdismantleJobDetailVO {
produceDate: Date
expireDate: Date
inventoryStatus: string
stdPackQty: number
stdPackUnit: string
packQty: number
packUnit: string
itemCode: string
itemName: string
itemDesc1: string

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

@ -20,8 +20,8 @@ export interface ProductdismantleJobMainVO {
acceptTime: Date
completeUserId: string
completeTime: Date
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
number: string
businessType: string
remark: string
@ -73,7 +73,13 @@ export const deleteProductdismantleJobMain = async (id: number) => {
// 导出制品拆解任务主 Excel
export const exportProductdismantleJobMain = async (params) => {
return await request.download({ url: `/wms/productdismantle-job-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/productdismantle-job-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/productdismantle-job-main/export-excel`, params })
}
}
// 下载用户导入模板

10
src/api/wms/productdismantleRecordMain/index.ts

@ -20,7 +20,7 @@ export interface ProductdismantleRecordMainVO {
creator: string
code: string
fromWarehouseCode: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
available: string
}
@ -58,7 +58,13 @@ export const deleteProductdismantleRecordMain = async (id: number) => {
// 导出制品拆解记录主 Excel
export const exportProductdismantleRecordMain = async (params) => {
return await request.download({ url: `/wms/productdismantle-record-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/productdismantle-record-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/productdismantle-record-main/export-excel`, params })
}
}
// 下载用户导入模板

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

@ -10,8 +10,8 @@ export interface ProductdismantleRequestDetailaVO {
produceDate: Date
expireDate: Date
inventoryStatus: string
stdPackQty: number
stdPackUnit: string
packQty: number
packUnit: string
number: string
itemCode: string
remark: string

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

@ -5,7 +5,7 @@ export interface ProductdismantleRequestMainVO {
team: string
shift: string
fromWarehouseCode: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
number: string
businessType: string

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

@ -108,6 +108,11 @@ export const resetting = (id) => {
return request.put({ url: '/wms/production-main/resetting?id=' + id })
}
// 创建备料计划/制品收货申请
export const generateRequest = (number) => {
return request.post({ url: '/wms/production-main/generateRequest?number=' + number })
}

4
src/api/wms/productionreceiptJobMain/index.ts

@ -19,8 +19,8 @@ export interface ProductionreceiptJobMainVO {
acceptTime: Date
completeUserId: string
completeTime: Date
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
number: string
businessType: string
remark: string

4
src/api/wms/productionreceiptRecordMain/index.ts

@ -19,10 +19,10 @@ export interface ProductionreceiptRecordMainVO {
creator: string
code: string
fromWarehouseCode: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
toWarehouseCode: string
toLocationTypes: string
toAreaTypes: string
toAreaCodes: string
useOnTheWayLocation: string
available: string

4
src/api/wms/productionreturnJobMain/index.ts

@ -19,8 +19,8 @@ export interface ProductionreturnJobMainVO {
acceptTime: Date
completeUserId: string
completeTime: Date
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
number: string
businessType: string
remark: string

4
src/api/wms/productionreturnRecordMain/index.ts

@ -19,10 +19,10 @@ export interface ProductionreturnRecordMainVO {
creator: string
code: string
fromWarehouseCode: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
toWarehouseCode: string
toLocationTypes: string
toAreaTypes: string
toAreaCodes: string
available: string
}

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

@ -3,7 +3,7 @@ import request from '@/config/axios'
export interface ProductionreturnRequestMainVO {
workshopCode: string
fromWarehouseCode: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
number: string
businessType: string
@ -17,7 +17,7 @@ export interface ProductionreturnRequestMainVO {
updateTime: Date
updater: string
toWarehouseCode: string
toLocationTypes: string
toAreaTypes: string
toAreaCodes: string
autoCommit: string
autoAgree: string

6
src/api/wms/productionreturnRequestMainNo/index.ts

@ -3,7 +3,7 @@ import request from '@/config/axios'
export interface ProductionreturnRequestMainVO {
workshopCode: string
fromWarehouseCode: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
number: string
businessType: string
@ -17,7 +17,7 @@ export interface ProductionreturnRequestMainVO {
updateTime: Date
updater: string
toWarehouseCode: string
toLocationTypes: string
toAreaTypes: string
toAreaCodes: string
autoCommit: string
autoAgree: string
@ -70,7 +70,7 @@ export const exportProductionreturnRequestMain = async (params) => {
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/productionreturn-request-main/get-import-template' })
return request.download({ url: '/wms/productionreturn-request-main/get-import-template-hold' })
}
// 关闭

4
src/api/wms/productputawayJobMain/index.ts

@ -7,8 +7,8 @@ export interface ProductputawayJobMainVO {
toWarehouseCode: string
fromAreaCodes: string
toAreaCodes: string
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
completetime: Date
requestTime: Date
requestDueTime: Date

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

@ -19,10 +19,10 @@ export interface ProductputawayRecordMainVO {
creator: string
code: string
fromWarehouseCode: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
toWarehouseCode: string
toLocationTypes: string
toAreaTypes: string
toAreaCodes: string
ruleUserId: number
available: string
@ -61,7 +61,13 @@ export const deleteProductputawayRecordMain = async (id: number) => {
// 导出制品上架记录主 Excel
export const exportProductputawayRecordMain = async (params) => {
return await request.download({ url: `/wms/productputaway-record-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/productputaway-record-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/productputaway-record-main/export-excel`, params })
}
}
// 下载用户导入模板

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

@ -5,8 +5,8 @@ export interface ProductputawayRequestMainVO {
supplierCode: string
fromWarehouseCode: string
toWarehouseCode: string
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
fromAreaCodes: string
toAreaCodes: string
number: string

4
src/api/wms/productreceiptJobDetail/index.ts

@ -13,8 +13,8 @@ export interface ProductreceiptJobDetailVO {
toLocationCode: string
woNumber: string
woLine: string
stdPackQty: number
stdPackUnit: string
packQty: number
packUnit: string
itemCode: string
itemName: string
itemDesc1: string

4
src/api/wms/productreceiptJobMain/index.ts

@ -23,8 +23,8 @@ export interface ProductreceiptJobMainVO {
completeTime: Date
toWarehouseCode: string
toAreaCodes: string
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
number: string
businessType: string
remark: string

4
src/api/wms/productreceiptRecordDetail/index.ts

@ -16,8 +16,8 @@ export interface ProductreceiptRecordDetailVO {
toOwnerCode: string
woNumber: string
woLine: string
stdPackQty: number
stdPackUnit: string
packQty: number
packUnit: string
number: string
itemCode: string
remark: string

10
src/api/wms/productreceiptRecordMain/index.ts

@ -22,7 +22,7 @@ export interface ProductreceiptRecordMainVO {
creator: string
code: string
toWarehouseCode: string
toLocationTypes: string
toAreaTypes: string
toAreaCodes: string
available: string
}
@ -60,7 +60,13 @@ export const deleteProductreceiptRecordMain = async (id: number) => {
// 导出制品收货记录主 Excel
export const exportProductreceiptRecordMain = async (params) => {
return await request.download({ url: `/wms/productreceipt-record-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/productreceipt-record-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/productreceipt-record-main/export-excel`, params })
}
}
// 下载用户导入模板

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

@ -12,8 +12,8 @@ export interface ProductreceiptRequestDetailVO {
inventoryStatus: string
woNumber: string
woLine: string
stdPackQty: number
stdPackUnit: string
packQty: number
packUnit: string
number: string
itemCode: string
remark: string

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

@ -6,7 +6,7 @@ export interface ProductreceiptRequestMainVO {
team: string
shift: string
toWarehouseCode: string
toLocationTypes: string
toAreaTypes: string
toAreaCodes: string
number: string
businessType: string

10
src/api/wms/productrepairRecordMain/index.ts

@ -20,7 +20,7 @@ export interface ProductrepairRecordMainVO {
creator: string
code: string
fromWarehouseCode: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
available: string
}
@ -58,7 +58,13 @@ export const deleteProductrepairRecordMain = async (id: number) => {
// 导出制品返修记录主 Excel
export const exportProductrepairRecordMain = async (params) => {
return await request.download({ url: `/wms/productrepair-record-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/productrepair-record-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/productrepair-record-main/export-excel`, params })
}
}
// 下载用户导入模板

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

@ -16,7 +16,7 @@ export interface ProductrepairRequestMainVO {
status: string
updateTime: Date
updater: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
autoCommit: string
autoAgree: string

4
src/api/wms/productscrapJobMain/index.ts

@ -17,8 +17,8 @@ export interface ProductscrapJobMainVO {
acceptTime: Date
completeUserId: string
completeTime: Date
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
number: string
businessType: string
remark: string

10
src/api/wms/productscrapRecordMain/index.ts

@ -18,7 +18,7 @@ export interface ProductscrapRecordMainVO {
createTime: Date
creator: string
fromWarehouseCode: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
ruleUserId: number
available: string
@ -57,7 +57,13 @@ export const deleteProductscrapRecordMain = async (id: number) => {
// 导出制品报废记录主 Excel
export const exportProductscrapRecordMain = async (params) => {
return await request.download({ url: `/wms/productscrap-record-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/productscrap-record-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/productscrap-record-main/export-excel`, params })
}
}
// 下载用户导入模板

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

@ -13,7 +13,7 @@ export interface ProductscrapRequestMainVO {
status: string
updateTime: Date
updater: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
autoCommit: string
autoAgree: string
@ -54,7 +54,13 @@ export const deleteProductscrapRequestMain = async (id: number) => {
// 导出制品报废申请主 Excel
export const exportProductscrapRequestMain = async (params) => {
return await request.download({ url: `/wms/productscrap-request-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/productscrap-request-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/productscrap-request-main/export-excel`, params })
}
}
// 下载用户导入模板

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

@ -4,8 +4,8 @@ export interface PurchaseDetailVO {
lineNumber: string
erpLocationCode: string
projectCode: string
stdPackQty: number
stdPackUnit: string
packQty: number
packUnit: string
supplierQty: number
supplierUom: string
convertRate: number

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

@ -90,3 +90,8 @@ export const exportPurchasePlanMain = async (params) => {
export const importTemplate = () => {
return request.download({ url: '/wms/purchase-plan-main/get-import-template' })
}
// 查询要货计划策略根据供应商
export const queryPurchasePlan = async (supplierCode: string) => {
return await request.get({ url: `/wms/purchase-plan-main/queryPurchasePlan?supplierCode=` + supplierCode })
}

4
src/api/wms/purchasereceiptJobDetail/index.ts

@ -13,8 +13,8 @@ export interface PurchasereceiptJobDetailVO {
toLocationCode: string
poNumber: string
poLine: string
stdPackQty: number
stdPackUnit: string
packQty: number
packUnit: string
supplierQty: number
supplierUom: string
convertRate: number

16
src/api/wms/purchasereceiptJobMain/index.ts

@ -26,8 +26,8 @@ export interface PurchasereceiptJobMainVO {
acceptTime: Date
completeUserId: string
completeTime: Date
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
number: string
businessType: string
remark: string
@ -58,6 +58,18 @@ export const getPurchasereceiptJobMainPage = async (params) => {
}
}
// 查询备件收货任务主列表
export const getPurchasereceiptJobMainPageSpare = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/purchasereceipt-job-main/seniorSpare', data })
} else {
return await request.get({ url: `/wms/purchasereceipt-job-main/pageSpare`, params })
}
}
// 查询采购收货任务主详情
export const getPurchasereceiptJobMain = async (id: number) => {
return await request.get({ url: `/wms/purchasereceipt-job-main/get?id=` + id })

4
src/api/wms/purchasereceiptRecordDetail/index.ts

@ -19,8 +19,8 @@ export interface PurchasereceiptRecordDetailVO {
toAreaCodes: string
poNumber: string
poLine: string
stdPackQty: number
stdPackUnit: string
packQty: number
packUnit: string
qty: number
uom: string
supplierQty: number

29
src/api/wms/purchasereceiptRecordMain/index.ts

@ -26,11 +26,15 @@ export interface PurchasereceiptRecordMainVO {
createTime: Date
creator: string
code: string
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
fromAreaCodes: string
toAreaCodes: string
available: string
putawayRequestFlag: boolean
putawayRequestNumber: string
inspectRequestFlag: boolean
inspectRequestNumber: string
}
// 查询采购收货记录主列表
@ -44,6 +48,17 @@ export const getPurchasereceiptRecordMainPage = async (params) => {
}
}
// 查询备件收货记录主列表
export const getPurchasereceiptRecordMainPageSpare = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/purchasereceipt-record-main/seniorSpare', data })
} else {
return await request.get({ url: `/wms/purchasereceipt-record-main/pageSpare`, params })
}
}
// 查询采购收货记录主详情
export const getPurchasereceiptRecordMain = async (id: number) => {
return await request.get({ url: `/wms/purchasereceipt-record-main/get?id=` + id })
@ -77,4 +92,14 @@ export const exportPurchasereceiptRecordMain = async (params) => {
// 下载用户导入模板
export const importTemplate = () => {
return request.download({ url: '/wms/purchasereceipt-record-main/get-import-template' })
}
// 创建上架申请
export const createPutawayRequest = async (number:string) => {
return await request.post({ url: `/wms/purchasereceipt-record-main/createPutawayRequest?number=`+number })
}
// 创建检验申请
export const createInspectRequest = async (number:string) => {
return await request.post({ url: `/wms/purchasereceipt-record-main/createInspectRequest?number=`+number })
}

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

@ -12,8 +12,8 @@ export interface PurchasereceiptRequestDetailVO {
fromLocationCode: string
poNumber: string
poLine: string
stdPackQty: number
stdPackUnit: string
packQty: number
packUnit: string
supplierPackQty: number
supplierPackUnit: string
convertRate: number

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

@ -8,8 +8,8 @@ export interface PurchasereceiptRequestMainVO {
transferMode: string
fromWarehouseCode: string
toWarehouseCode: string
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
fromAreaCodes: string
toAreaCodes: string
toDockCode: string
@ -42,6 +42,17 @@ export const getPurchasereceiptRequestMainPage = async (params) => {
}
}
// 查询备件收货申请主列表
export const getPurchasereceiptRequestMainPageSpare = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/purchasereceipt-request-main/seniorSpare', data })
} else {
return await request.get({ url: `/wms/purchasereceipt-request-main/pageSpare`, params })
}
}
// 查询采购收货申请主详情
export const getPurchasereceiptRequestMain = async (id: number) => {
return await request.get({ url: `/wms/purchasereceipt-request-main/get?id=` + id })
@ -106,3 +117,8 @@ export const refusedPurchasereceiptRequestMain = async (id) => {
export const handlePurchasereceiptRequestMain = async (id) => {
return await request.put({ url: `/wms/purchasereceipt-request-main/handle?id=` + id })
}
// 生成标签
export const genLabel = async (id) => {
return await request.post({ url: `/wms/purchasereceipt-request-main/genLabel?id=` + id })
}

4
src/api/wms/purchasereturnJobMain/index.ts

@ -26,8 +26,8 @@ export interface PurchasereturnJobMainVO {
acceptTime: Date
completeUserId: string
completeTime: Date
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
number: string
businessType: string
remark: string

4
src/api/wms/purchasereturnRecordMain/index.ts

@ -27,8 +27,8 @@ export interface PurchasereturnRecordMainVO {
createTime: Date
creator: string
code: string
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
fromAreaCodes: string
toAreaCodes: string
available: string

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

@ -21,10 +21,10 @@ export interface PurchasereturnRequestMainVO {
status: string
updateTime: Date
updater: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
fromDockCode: string
toLocationTypes: string
toAreaTypes: string
toAreaCodes: string
autoCommit: string
autoAgree: string

4
src/api/wms/putawayJobMain/index.ts

@ -19,8 +19,8 @@ export interface PutawayJobMainVO {
acceptTime: Date
completeUserId: string
completeTime: Date
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
number: string
businessType: string
remark: string

4
src/api/wms/putawayRecordMain/index.ts

@ -19,10 +19,10 @@ export interface PutawayRecordMainVO {
creator: string
code: string
fromWarehouseCode: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
toWarehouseCode: string
toLocationTypes: string
toAreaTypes: string
toAreaCodes: string
available: string
}

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

@ -3,7 +3,7 @@ import request from '@/config/axios'
export interface PutawayRequestMainVO {
supplierCode: string
fromWarehouseCode: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
number: string
businessType: string
@ -17,7 +17,7 @@ export interface PutawayRequestMainVO {
updateTime: Date
updater: string
toWarehouseCode: string
toLocationTypes: string
toAreaTypes: string
toAreaCodes: string
autoCommit: string
autoAgree: string

4
src/api/wms/repleinshJobMain/index.ts

@ -16,8 +16,8 @@ export interface RepleinshJobMainVO {
acceptTime: Date
completeUserId: string
completeTime: Date
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
number: string
businessType: string
remark: string

4
src/api/wms/repleinshRecordMain/index.ts

@ -18,10 +18,10 @@ export interface RepleinshRecordMainVO {
creator: string
code: string
fromWarehouseCode: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
toWarehouseCode: string
toLocationTypes: string
toAreaTypes: string
toAreaCodes: string
available: string
}

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

@ -2,7 +2,7 @@ import request from '@/config/axios'
export interface RepleinshRequestMainVO {
fomWarehouseCode: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
number: string
businessType: string
@ -16,7 +16,7 @@ export interface RepleinshRequestMainVO {
updateTime: Date
updater: string
toWarehouseCode: string
toLocationTypes: string
toAreaTypes: string
toAreaCodes: string
autoCommit: string
autoAgree: string

4
src/api/wms/saleDetail/index.ts

@ -3,8 +3,8 @@ import request from '@/config/axios'
export interface SaleDetailVO {
lineNumber: string
projectCode: string
stdPackQty: number
stdPackUnit: string
packQty: number
packUnit: string
customerPackQty: number
customerPackUnit: string
convertRate: number

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

@ -17,8 +17,8 @@ export interface ScrapJobMainVO {
acceptTime: Date
completeUserId: string
completeTime: Date
fromLocationTypes: string
toLocationTypes: string
fromAreaTypes: string
toAreaTypes: string
number: string
businessType: string
remark: string
@ -70,7 +70,13 @@ export const deleteScrapJobMain = async (id: number) => {
// 导出报废出库任务主 Excel
export const exportScrapJobMain = async (params) => {
return await request.download({ url: `/wms/scrap-job-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/scrap-job-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/scrap-job-main/export-excel`, params })
}
}
// 下载用户导入模板

10
src/api/wms/scrapRecordMain/index.ts

@ -18,7 +18,7 @@ export interface ScrapRecordMainVO {
createTime: Date
creator: string
fromWarehouseCode: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
available: string
}
@ -56,7 +56,13 @@ export const deleteScrapRecordMain = async (id: number) => {
// 导出报废出库记录主 Excel
export const exportScrapRecordMain = async (params) => {
return await request.download({ url: `/wms/scrap-record-main/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/scrap-record-main/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/scrap-record-main/export-excel`, params })
}
}
// 下载用户导入模板

2
src/api/wms/scrapRequestMain/index.ts

@ -13,7 +13,7 @@ export interface ScrapRequestMainVO {
status: string
updateTime: Date
updater: string
fromLocationTypes: string
fromAreaTypes: string
fromAreaCodes: string
autoCommit: string
autoAgree: string

16
src/api/wms/strategy/index.ts

@ -12,7 +12,13 @@ export interface StrategyVO {
// 查询策略列表
export const getStrategyPage = async (params) => {
return await request.get({ url: `/wms/strategy/page`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/strategy/senior', data })
} else {
return await request.get({ url: `/wms/strategy/page`, params })
}
}
// 查询策略详情
@ -37,5 +43,11 @@ export const deleteStrategy = async (id: number) => {
// 导出策略 Excel
export const exportStrategy = async (params) => {
return await request.download({ url: `/wms/strategy/export-excel`, params })
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/strategy/export-excel-senior', data })
} else {
return await request.download({ url: `/wms/strategy/export-excel`, params })
}
}

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

Loading…
Cancel
Save