From 7b0c1dd9c784f2b310a2ef1d2ace481e14543f05 Mon Sep 17 00:00:00 2001 From: chenfang Date: Thu, 25 Apr 2024 18:14:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=B6=E5=93=81=E6=94=B6=E8=B4=A7/=E5=88=B6?= =?UTF-8?q?=E5=93=81=E4=B8=8A=E6=9E=B6=E7=B1=BB=E5=9E=8B=E5=8C=BA=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/productputawayJobDetail/index.ts | 13 +++++++++++++ src/api/wms/productputawayRecordDetail/index.ts | 12 ++++++++++++ src/api/wms/productputawayRequestDetail/index.ts | 13 +++++++++++++ src/api/wms/productreceiptJobDetail/index.ts | 13 +++++++++++++ src/api/wms/productreceiptRecordDetail/index.ts | 13 +++++++++++++ src/api/wms/productreceiptRequestDetail/index.ts | 13 +++++++++++++ .../productputawayAssembleJobMain/index.vue | 2 +- .../productputawayAssembleRecordMain/index.vue | 2 +- .../productputawayAssembleRequestMain/index.vue | 2 +- .../productreceiptAssembleJobMain/index.vue | 2 +- .../productreceiptAssembleRecordMain/index.vue | 2 +- .../productreceiptAssembleRequestMain/index.vue | 2 +- 12 files changed, 83 insertions(+), 6 deletions(-) diff --git a/src/api/wms/productputawayJobDetail/index.ts b/src/api/wms/productputawayJobDetail/index.ts index 0265d3f03..b6008e1c0 100644 --- a/src/api/wms/productputawayJobDetail/index.ts +++ b/src/api/wms/productputawayJobDetail/index.ts @@ -26,6 +26,19 @@ export interface ProductputawayJobDetailVO { // 查询制品上架任务子列表 export const getProductputawayJobDetailPage = async (params) => { + params.type = 'predict' + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/wms/productputaway-job-detail/senior', data }) + } else { + return await request.get({ url: `/wms/productputaway-job-detail/page`, params }) + } +} + +// 查询制品上架任务子列表 +export const getProductputawayJobDetailPageAssemble = async (params) => { +   params.type = 'assemble' if (params.isSearch) { delete params.isSearch const data = {...params} diff --git a/src/api/wms/productputawayRecordDetail/index.ts b/src/api/wms/productputawayRecordDetail/index.ts index 2ab8e2d61..008a7aa60 100644 --- a/src/api/wms/productputawayRecordDetail/index.ts +++ b/src/api/wms/productputawayRecordDetail/index.ts @@ -36,6 +36,7 @@ export interface ProductputawayRecordDetailVO { // 查询制品上架记录子列表 export const getProductputawayRecordDetailPage = async (params) => { + params.type = 'predict' if (params.isSearch) { delete params.isSearch const data = {...params} @@ -45,6 +46,17 @@ export const getProductputawayRecordDetailPage = async (params) => { } } +// 查询制品上架记录子列表 +export const getProductputawayRecordDetailPageAssemble = async (params) => { +   params.type = 'assemble' + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/wms/productputaway-record-detail/senior', data }) + } else { + return await request.get({ url: `/wms/productputaway-record-detail/page`, params }) + } +} // 查询制品上架记录子详情 export const getProductputawayRecordDetail = async (id: number) => { return await request.get({ url: `/wms/productputaway-record-detail/get?id=` + id }) diff --git a/src/api/wms/productputawayRequestDetail/index.ts b/src/api/wms/productputawayRequestDetail/index.ts index 0f3a061bf..d1cc153e2 100644 --- a/src/api/wms/productputawayRequestDetail/index.ts +++ b/src/api/wms/productputawayRequestDetail/index.ts @@ -27,6 +27,19 @@ export interface ProductputawayRequestDetailVO { // 查询制品上架申请子列表 export const getProductputawayRequestDetailPage = async (params) => { + params.type = 'predict' + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/wms/productputaway-request-detail/senior', data }) + } else { + return await request.get({ url: `/wms/productputaway-request-detail/page`, params }) + } +} + +// 查询制品上架申请子列表 +export const getProductputawayRequestDetailPageAssemble = async (params) => { +   params.type = 'assemble' if (params.isSearch) { delete params.isSearch const data = {...params} diff --git a/src/api/wms/productreceiptJobDetail/index.ts b/src/api/wms/productreceiptJobDetail/index.ts index df00da6fa..e53490096 100644 --- a/src/api/wms/productreceiptJobDetail/index.ts +++ b/src/api/wms/productreceiptJobDetail/index.ts @@ -31,6 +31,19 @@ export interface ProductreceiptJobDetailVO { // 查询制品收货任务子列表 export const getProductreceiptJobDetailPage = async (params) => { + params.type = 'predict' + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/wms/productreceipt-job-detail/senior', data }) + } else { + return await request.get({ url: `/wms/productreceipt-job-detail/page`, params }) + } +} + +// 查询制品收货任务子列表 +export const getProductreceiptJobDetailPageAssemble = async (params) => { + params.type = 'assemble' if (params.isSearch) { delete params.isSearch const data = {...params} diff --git a/src/api/wms/productreceiptRecordDetail/index.ts b/src/api/wms/productreceiptRecordDetail/index.ts index 8dafd938a..db76ba703 100644 --- a/src/api/wms/productreceiptRecordDetail/index.ts +++ b/src/api/wms/productreceiptRecordDetail/index.ts @@ -36,6 +36,19 @@ export interface ProductreceiptRecordDetailVO { // 查询制品收货记录子列表 export const getProductreceiptRecordDetailPage = async (params) => { + params.type = 'predict' + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/wms/productreceipt-record-detail/senior', data }) + } else { + return await request.get({ url: `/wms/productreceipt-record-detail/page`, params }) + } +} + +// 查询制品收货记录子列表 +export const getProductreceiptRecordDetailPageAssemble = async (params) => { + params.type = 'assemble' if (params.isSearch) { delete params.isSearch const data = {...params} diff --git a/src/api/wms/productreceiptRequestDetail/index.ts b/src/api/wms/productreceiptRequestDetail/index.ts index f832fb50d..292cf3600 100644 --- a/src/api/wms/productreceiptRequestDetail/index.ts +++ b/src/api/wms/productreceiptRequestDetail/index.ts @@ -32,6 +32,19 @@ export interface ProductreceiptRequestDetailVO { // 查询制品收货申请子列表 export const getProductreceiptRequestDetailPage = async (params) => { + params.type = 'predict' + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/wms/productreceipt-request-detail/senior', data }) + } else { + return await request.get({ url: `/wms/productreceipt-request-detail/page`, params }) + } +} + +// 查询制品收货申请子列表 +export const getProductreceiptRequestDetailPageAssemble = async (params) => { + params.type = 'assemble' if (params.isSearch) { delete params.isSearch const data = {...params} diff --git a/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleJobMain/index.vue b/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleJobMain/index.vue index 5e4894b97..8b9f68017 100644 --- a/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleJobMain/index.vue +++ b/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleJobMain/index.vue @@ -108,7 +108,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => } const { tableObject, tableMethods } = useTable({ - getListApi: ProductputawayJobDetailApi.getProductputawayJobDetailPage // 分页接口 + getListApi: ProductputawayJobDetailApi.getProductputawayJobDetailPageAssemble // 分页接口 }) // 获得表格的各种操作 diff --git a/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRecordMain/index.vue b/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRecordMain/index.vue index 3687b1d87..6d4c8b645 100644 --- a/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRecordMain/index.vue +++ b/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRecordMain/index.vue @@ -85,7 +85,7 @@ const updataTableColumns = (val) => { } const { tableObject, tableMethods } = useTable({ - getListApi: ProductputawayRecordDetailApi.getProductputawayRecordDetailPage // 分页接口 + getListApi: ProductputawayRecordDetailApi.getProductputawayRecordDetailPageAssemble // 分页接口 }) // 获得表格的各种操作 diff --git a/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRequestMain/index.vue b/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRequestMain/index.vue index 32bce280f..8393c6b5c 100644 --- a/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRequestMain/index.vue +++ b/src/views/wms/productionManage/productputawayAssemble/productputawayAssembleRequestMain/index.vue @@ -141,7 +141,7 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef ) => { const Echo = [] const { tableObject, tableMethods } = useTable({ - getListApi: ProductputawayRequestDetailApi.getProductputawayRequestDetailPage // 分页接口 + getListApi: ProductputawayRequestDetailApi.getProductputawayRequestDetailPageAssemble // 分页接口 }) // 获得表格的各种操作 diff --git a/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleJobMain/index.vue b/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleJobMain/index.vue index 35b4a7eb6..fb47c0d93 100644 --- a/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleJobMain/index.vue +++ b/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleJobMain/index.vue @@ -109,7 +109,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => } const { tableObject, tableMethods } = useTable({ - getListApi: ProductreceiptJobDetailApi.getProductreceiptJobDetailAssemblePage // 分页接口 + getListApi: ProductreceiptJobDetailApi.getProductreceiptJobDetailPageAssemble // 分页接口 }) // 获得表格的各种操作 diff --git a/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/index.vue b/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/index.vue index d849da862..ec3ff66c1 100644 --- a/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/index.vue +++ b/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRecordMain/index.vue @@ -129,7 +129,7 @@ const updataTableColumns = (val) => { } const { tableObject, tableMethods } = useTable({ - getListApi: ProductreceiptRecordDetailApi.getProductreceiptRecordDetailPage // 分页接口 + getListApi: ProductreceiptRecordDetailApi.getProductreceiptRecordDetailPageAssemble // 分页接口 }) // 获得表格的各种操作 diff --git a/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/index.vue b/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/index.vue index 53cd2bbb8..5802e5e1a 100644 --- a/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/index.vue +++ b/src/views/wms/productionManage/productreceiptAssemble/productreceiptAssembleRequestMain/index.vue @@ -208,7 +208,7 @@ const searchTableSuccessDetail = (formField, searchField, val, formRef ) => { } const { tableObject, tableMethods } = useTable({ - getListApi: ProductreceiptRequestDetailApi.getProductreceiptRequestDetailPage // 分页接口 + getListApi: ProductreceiptRequestDetailApi.getProductreceiptRequestDetailPageAssemble // 分页接口 }) // 获得表格的各种操作