diff --git a/src/api/wms/packagemergeDetail/index.ts b/src/api/wms/packagemergeDetail/index.ts index c2d89ad88..3322cfe52 100644 --- a/src/api/wms/packagemergeDetail/index.ts +++ b/src/api/wms/packagemergeDetail/index.ts @@ -32,7 +32,13 @@ export interface PackagemergeDetailVO { // 查询合包记录子列表 export const getPackagemergeDetailPage = async (params) => { - return await request.get({ url: '/wms/packagemerge-detail/page', params }) + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/wms/packagemerge-detail/senior', data }) + } else { + return await request.get({ url: `/wms/packagemerge-detail/page`, params }) + } } // 查询合包记录子详情 diff --git a/src/api/wms/packageoverDetail/index.ts b/src/api/wms/packageoverDetail/index.ts index fe3c007a1..52a9f97e9 100644 --- a/src/api/wms/packageoverDetail/index.ts +++ b/src/api/wms/packageoverDetail/index.ts @@ -32,7 +32,13 @@ export interface PackageoverDetailVO { // 查询翻包记录子列表 export const getPackageoverDetailPage = async (params) => { - return await request.get({ url: '/wms/packageover-detail/page', params }) + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/wms/packageover-detail/senior', data }) + } else { + return await request.get({ url: `/wms/packageover-detail/page`, params }) + } } // 查询翻包记录子详情 diff --git a/src/api/wms/packagesplitDetail/index.ts b/src/api/wms/packagesplitDetail/index.ts index 0a026f642..23f787622 100644 --- a/src/api/wms/packagesplitDetail/index.ts +++ b/src/api/wms/packagesplitDetail/index.ts @@ -32,7 +32,13 @@ export interface PackagesplitDetailVO { // 查询拆包记录子列表 export const getPackagesplitDetailPage = async (params) => { - return await request.get({ url: '/wms/packagesplit-detail/page', params }) + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/wms/packagesplit-detail/senior', data }) + } else { + return await request.get({ url: `/wms/packagesplit-detail/page`, params }) + } } // 查询拆包记录子详情 diff --git a/src/views/wms/basicDataManage/labelManage/manufacturePackage/index.vue b/src/views/wms/basicDataManage/labelManage/manufacturePackage/index.vue index e8501a0fe..385646c95 100644 --- a/src/views/wms/basicDataManage/labelManage/manufacturePackage/index.vue +++ b/src/views/wms/basicDataManage/labelManage/manufacturePackage/index.vue @@ -65,6 +65,7 @@ import { Package,PackageRules } from './manufacturePackage.data' import * as PackageApi from '@/api/wms/package' import * as defaultButtons from '@/utils/disposition/defaultButtons' +// 制造件标签 defineOptions({ name: 'ManufacturePackage' }) const message = useMessage() // 消息弹窗 diff --git a/src/views/wms/basicDataManage/labelManage/purchasePackage/index.vue b/src/views/wms/basicDataManage/labelManage/purchasePackage/index.vue index 63f4b5dc9..456fa5ec5 100644 --- a/src/views/wms/basicDataManage/labelManage/purchasePackage/index.vue +++ b/src/views/wms/basicDataManage/labelManage/purchasePackage/index.vue @@ -65,6 +65,7 @@ import { Package,PackageRules } from './purchasePackage.data' import * as PackageApi from '@/api/wms/package' import * as defaultButtons from '@/utils/disposition/defaultButtons' +// 采购标签 defineOptions({ name: 'PurchasePackage' }) const message = useMessage() // 消息弹窗 diff --git a/src/views/wms/basicDataManage/labelManage/utensilPackage/index.vue b/src/views/wms/basicDataManage/labelManage/utensilPackage/index.vue index b62e0bbf8..225adcd54 100644 --- a/src/views/wms/basicDataManage/labelManage/utensilPackage/index.vue +++ b/src/views/wms/basicDataManage/labelManage/utensilPackage/index.vue @@ -65,6 +65,7 @@ import { Package,PackageRules } from './utensilPackage.data' import * as PackageApi from '@/api/wms/package' import * as defaultButtons from '@/utils/disposition/defaultButtons' +// 器具标签 defineOptions({ name: 'UtensilPackage' }) const message = useMessage() // 消息弹窗