Browse Source

合包 拆包 翻包

master
陈薪名 11 months ago
parent
commit
c162b8ece0
  1. 8
      src/api/wms/packagemergeDetail/index.ts
  2. 8
      src/api/wms/packageoverDetail/index.ts
  3. 8
      src/api/wms/packagesplitDetail/index.ts
  4. 1
      src/views/wms/basicDataManage/labelManage/manufacturePackage/index.vue
  5. 1
      src/views/wms/basicDataManage/labelManage/purchasePackage/index.vue
  6. 1
      src/views/wms/basicDataManage/labelManage/utensilPackage/index.vue

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

@ -32,7 +32,13 @@ export interface PackagemergeDetailVO {
// 查询合包记录子列表 // 查询合包记录子列表
export const getPackagemergeDetailPage = async (params) => { 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 })
}
} }
// 查询合包记录子详情 // 查询合包记录子详情

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

@ -32,7 +32,13 @@ export interface PackageoverDetailVO {
// 查询翻包记录子列表 // 查询翻包记录子列表
export const getPackageoverDetailPage = async (params) => { 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 })
}
} }
// 查询翻包记录子详情 // 查询翻包记录子详情

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

@ -32,7 +32,13 @@ export interface PackagesplitDetailVO {
// 查询拆包记录子列表 // 查询拆包记录子列表
export const getPackagesplitDetailPage = async (params) => { 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 })
}
} }
// 查询拆包记录子详情 // 查询拆包记录子详情

1
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 PackageApi from '@/api/wms/package'
import * as defaultButtons from '@/utils/disposition/defaultButtons' import * as defaultButtons from '@/utils/disposition/defaultButtons'
//
defineOptions({ name: 'ManufacturePackage' }) defineOptions({ name: 'ManufacturePackage' })
const message = useMessage() // const message = useMessage() //

1
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 PackageApi from '@/api/wms/package'
import * as defaultButtons from '@/utils/disposition/defaultButtons' import * as defaultButtons from '@/utils/disposition/defaultButtons'
//
defineOptions({ name: 'PurchasePackage' }) defineOptions({ name: 'PurchasePackage' })
const message = useMessage() // const message = useMessage() //

1
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 PackageApi from '@/api/wms/package'
import * as defaultButtons from '@/utils/disposition/defaultButtons' import * as defaultButtons from '@/utils/disposition/defaultButtons'
//
defineOptions({ name: 'UtensilPackage' }) defineOptions({ name: 'UtensilPackage' })
const message = useMessage() // const message = useMessage() //

Loading…
Cancel
Save