Browse Source

基础数据筛选按钮添加

master
李胜楠 1 year ago
parent
commit
3a7ee244df
  1. 6
      src/api/wms/accountcalendar/index.ts
  2. 6
      src/api/wms/areabasic/index.ts
  3. 6
      src/api/wms/businesstype/index.ts
  4. 6
      src/api/wms/carrier/index.ts
  5. 6
      src/api/wms/condition/index.ts
  6. 6
      src/api/wms/configuration/index.ts
  7. 6
      src/api/wms/configurationsetting/index.ts
  8. 6
      src/api/wms/currencyexchange/index.ts
  9. 6
      src/api/wms/customer/index.ts
  10. 6
      src/api/wms/customerdock/index.ts
  11. 6
      src/api/wms/customeritem/index.ts
  12. 6
      src/api/wms/dock/index.ts
  13. 6
      src/api/wms/documentsetting/index.ts
  14. 6
      src/api/wms/jobsetting/index.ts
  15. 6
      src/api/wms/location/index.ts
  16. 6
      src/api/wms/locationgroup/index.ts
  17. 6
      src/api/wms/owner/index.ts
  18. 6
      src/api/wms/paramsetting/index.ts
  19. 6
      src/api/wms/process/index.ts
  20. 6
      src/api/wms/productionline/index.ts
  21. 6
      src/api/wms/project/index.ts
  22. 6
      src/api/wms/purchaseprice/index.ts
  23. 6
      src/api/wms/recordsetting/index.ts
  24. 6
      src/api/wms/requestsetting/index.ts
  25. 6
      src/api/wms/rule/index.ts
  26. 6
      src/api/wms/saleprice/index.ts
  27. 6
      src/api/wms/shift/index.ts
  28. 6
      src/api/wms/supplier/index.ts
  29. 6
      src/api/wms/supplieritem/index.ts
  30. 6
      src/api/wms/systemcalendar/index.ts
  31. 6
      src/api/wms/team/index.ts
  32. 6
      src/api/wms/transactiontype/index.ts
  33. 6
      src/api/wms/warehouse/index.ts
  34. 6
      src/api/wms/workshop/index.ts
  35. 6
      src/api/wms/workstation/index.ts
  36. 11
      src/views/wms/accountcalendar/index.vue
  37. 11
      src/views/wms/areabasic/index.vue
  38. 11
      src/views/wms/businesstype/index.vue
  39. 11
      src/views/wms/carrier/index.vue
  40. 11
      src/views/wms/condition/index.vue
  41. 11
      src/views/wms/configuration/index.vue
  42. 11
      src/views/wms/configurationsetting/index.vue
  43. 11
      src/views/wms/currencyexchange/index.vue
  44. 11
      src/views/wms/customer/index.vue
  45. 11
      src/views/wms/customerdock/index.vue
  46. 11
      src/views/wms/customeritem/index.vue
  47. 11
      src/views/wms/dock/index.vue
  48. 11
      src/views/wms/documentsetting/index.vue
  49. 11
      src/views/wms/jobsetting/index.vue
  50. 11
      src/views/wms/location/index.vue
  51. 11
      src/views/wms/locationgroup/index.vue
  52. 11
      src/views/wms/owner/index.vue
  53. 11
      src/views/wms/paramsetting/index.vue
  54. 11
      src/views/wms/process/index.vue
  55. 11
      src/views/wms/productionline/index.vue
  56. 11
      src/views/wms/project/index.vue
  57. 11
      src/views/wms/purchaseprice/index.vue
  58. 11
      src/views/wms/recordsetting/index.vue
  59. 11
      src/views/wms/requestsetting/index.vue
  60. 11
      src/views/wms/rule/index.vue
  61. 11
      src/views/wms/saleprice/index.vue
  62. 11
      src/views/wms/shift/index.vue
  63. 11
      src/views/wms/supplier/index.vue
  64. 11
      src/views/wms/supplieritem/index.vue
  65. 11
      src/views/wms/systemcalendar/index.vue
  66. 11
      src/views/wms/team/index.vue
  67. 11
      src/views/wms/transactiontype/index.vue
  68. 11
      src/views/wms/warehouse/index.vue
  69. 11
      src/views/wms/workshop/index.vue
  70. 11
      src/views/wms/workstation/index.vue

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

@ -15,8 +15,14 @@ export interface AccountcalendarVO {
// 查询账期日历列表 // 查询账期日历列表
export const getAccountcalendarPage = async (params) => { 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 }) return await request.get({ url: `/wms/accountcalendar/page`, params })
} }
}
// 查询账期日历详情 // 查询账期日历详情
export const getAccountcalendar = async (id: number) => { export const getAccountcalendar = async (id: number) => {

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

@ -15,8 +15,14 @@ export interface AreaVO {
// 查询库区列表 // 查询库区列表
export const getAreaPage = async (params) => { 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 }) return await request.get({ url: `/wms/areabasic/page`, params })
} }
}
// 查询库区列表 // 查询库区列表
export const getAreaList = async (params) => { export const getAreaList = async (params) => {
return await request.get({ url: `/wms/areabasic/list`, params }) return await request.get({ url: `/wms/areabasic/list`, params })

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

@ -25,8 +25,14 @@ export interface BusinesstypeVO {
// 查询业务类型列表 // 查询业务类型列表
export const getBusinesstypePage = async (params) => { 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 }) return await request.get({ url: `/wms/businesstype/page`, params })
} }
}
// 查询业务类型详情 // 查询业务类型详情
export const getBusinesstype = async (id: number) => { export const getBusinesstype = async (id: number) => {

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

@ -23,8 +23,14 @@ export interface CarrierVO {
// 查询承运商列表 // 查询承运商列表
export const getCarrierPage = async (params) => { 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 }) return await request.get({ url: `/wms/carrier/page`, params })
} }
}
// 查询承运商详情 // 查询承运商详情
export const getCarrier = async (id: number) => { export const getCarrier = async (id: number) => {

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

@ -11,8 +11,14 @@ export interface ConditionVO {
// 查询条件列表 // 查询条件列表
export const getConditionPage = async (params) => { 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 }) return await request.get({ url: `/wms/condition/page`, params })
} }
}
// 查询条件详情 // 查询条件详情
export const getCondition = async (id: number) => { export const getCondition = async (id: number) => {

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

@ -11,8 +11,14 @@ export interface ConfigurationVO {
// 查询配置列表 // 查询配置列表
export const getConfigurationPage = async (params) => { 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 }) return await request.get({ url: `/wms/configuration/page`, params })
} }
}
// 查询配置详情 // 查询配置详情
export const getConfiguration = async (id: number) => { export const getConfiguration = async (id: number) => {

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

@ -13,8 +13,14 @@ export interface ConfigurationsettingVO {
// 查询配置设置列表 // 查询配置设置列表
export const getConfigurationsettingPage = async (params) => { 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 }) return await request.get({ url: `/wms/configurationsetting/page`, params })
} }
}
// 查询配置设置详情 // 查询配置设置详情
export const getConfigurationsetting = async (id: number) => { export const getConfigurationsetting = async (id: number) => {

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

@ -12,8 +12,14 @@ export interface CurrencyexchangeVO {
// 查询货币转换列表 // 查询货币转换列表
export const getCurrencyexchangePage = async (params) => { 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 }) return await request.get({ url: `/wms/currencyexchange/page`, params })
} }
}
// 查询货币转换详情 // 查询货币转换详情
export const getCurrencyexchange = async (id: number) => { export const getCurrencyexchange = async (id: number) => {

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

@ -23,8 +23,14 @@ export interface CustomerVO {
// 查询客户列表 // 查询客户列表
export const getCustomerPage = async (params) => { 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 }) return await request.get({ url: `/wms/customer/page`, params })
} }
}
// 查询客户列表 // 查询客户列表
export const getCustomerList = async (params) => { export const getCustomerList = async (params) => {
return await request.get({ url: `/wms/customer/list`, params }) return await request.get({ url: `/wms/customer/list`, params })

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

@ -19,8 +19,14 @@ export interface CustomerdockVO {
// 查询客户月台列表 // 查询客户月台列表
export const getCustomerdockPage = async (params) => { 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 }) return await request.get({ url: `/wms/customerdock/page`, params })
} }
}
// 查询客户月台详情 // 查询客户月台详情
export const getCustomerdock = async (id: number) => { export const getCustomerdock = async (id: number) => {

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

@ -19,8 +19,14 @@ export interface CustomeritemVO {
// 查询客户物品列表 // 查询客户物品列表
export const getCustomeritemPage = async (params) => { 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 }) return await request.get({ url: `/wms/customeritem/page`, params })
} }
}
// 查询客户物品详情 // 查询客户物品详情
export const getCustomeritem = async (id: number) => { export const getCustomeritem = async (id: number) => {

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

@ -19,8 +19,14 @@ export interface DockVO {
// 查询月台列表 // 查询月台列表
export const getDockPage = async (params) => { 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 }) return await request.get({ url: `/wms/dock/page`, params })
} }
}
// 查询月台列表 // 查询月台列表
export const getDockList = async (params) => { export const getDockList = async (params) => {
return await request.get({ url: `/wms/dock/list`, params }) return await request.get({ url: `/wms/dock/list`, params })

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

@ -20,8 +20,14 @@ export interface DocumentsettingVO {
// 查询单据设置列表 // 查询单据设置列表
export const getDocumentsettingPage = async (params) => { 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 }) return await request.get({ url: `/wms/documentsetting/page`, params })
} }
}
// 查询单据设置详情 // 查询单据设置详情
export const getDocumentsetting = async (id: number) => { export const getDocumentsetting = async (id: number) => {

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

@ -22,8 +22,14 @@ export interface JobsettingVO {
// 查询任务设置列表 // 查询任务设置列表
export const getJobsettingPage = async (params) => { 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 }) return await request.get({ url: `/wms/jobsetting/page`, params })
} }
}
// 查询任务设置详情 // 查询任务设置详情
export const getJobsetting = async (id: number) => { export const getJobsetting = async (id: number) => {

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

@ -26,8 +26,14 @@ export interface LocationVO {
// 查询库位列表 // 查询库位列表
export const getLocationPage = async (params) => { 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 }) return await request.get({ url: `/wms/location/page`, params })
} }
}
// 查询库位所有列表 // 查询库位所有列表
export const getLocationList = async (params) => { export const getLocationList = async (params) => {
return await request.get({ url: `/wms/location/list`, params }) return await request.get({ url: `/wms/location/list`, params })

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

@ -14,8 +14,14 @@ export interface LocationgroupVO {
// 查询库位组列表 // 查询库位组列表
export const getLocationgroupPage = async (params) => { 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 }) return await request.get({ url: `/wms/locationgroup/page`, params })
} }
}
// 查询库位组列表 // 查询库位组列表
export const getLocationgroupList = async (params) => { export const getLocationgroupList = async (params) => {
return await request.get({ url: `/wms/locationgroup/list`, params }) return await request.get({ url: `/wms/locationgroup/list`, params })

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

@ -23,8 +23,14 @@ export interface OwnerVO {
// 查询货主列表 // 查询货主列表
export const getOwnerPage = async (params) => { 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 }) return await request.get({ url: `/wms/owner/page`, params })
} }
}
// 查询货主详情 // 查询货主详情
export const getOwner = async (id: number) => { export const getOwner = async (id: number) => {

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

@ -14,8 +14,14 @@ export interface ParamsettingVO {
// 查询参数设置列表 // 查询参数设置列表
export const getParamsettingPage = async (params) => { 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 }) return await request.get({ url: `/wms/paramsetting/page`, params })
} }
}
// 查询参数设置详情 // 查询参数设置详情
export const getParamsetting = async (id: number) => { export const getParamsetting = async (id: number) => {

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

@ -15,8 +15,14 @@ export interface ProcessVO {
// 查询工序列表 // 查询工序列表
export const getProcessPage = async (params) => { 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 }) return await request.get({ url: `/wms/process/page`, params })
} }
}
// 查询工序详情 // 查询工序详情
export const getProcess = async (id: number) => { export const getProcess = async (id: number) => {

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

@ -16,8 +16,14 @@ export interface ProductionlineVO {
// 查询生产线列表 // 查询生产线列表
export const getProductionlinePage = async (params) => { 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 }) return await request.get({ url: `/wms/productionline/page`, params })
} }
}
// 查询生产线详情 // 查询生产线详情
export const getProductionline = async (id: number) => { export const getProductionline = async (id: number) => {

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

@ -13,8 +13,14 @@ export interface ProjectVO {
// 查询项目列表 // 查询项目列表
export const getProjectPage = async (params) => { 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 }) return await request.get({ url: `/wms/project/page`, params })
} }
}
// 查询项目详情 // 查询项目详情
export const getProject = async (id: number) => { export const getProject = async (id: number) => {

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

@ -13,8 +13,14 @@ export interface PurchasepriceVO {
// 查询采购价格单列表 // 查询采购价格单列表
export const getPurchasepricePage = async (params) => { 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 }) return await request.get({ url: `/wms/purchaseprice/page`, params })
} }
}
// 查询采购价格单详情 // 查询采购价格单详情
export const getPurchaseprice = async (id: number) => { export const getPurchaseprice = async (id: number) => {

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

@ -12,8 +12,14 @@ export interface RecordsettingVO {
// 查询记录设置列表 // 查询记录设置列表
export const getRecordsettingPage = async (params) => { 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 }) return await request.get({ url: `/wms/recordsetting/page`, params })
} }
}
// 查询记录设置详情 // 查询记录设置详情
export const getRecordsetting = async (id: number) => { export const getRecordsetting = async (id: number) => {

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

@ -16,8 +16,14 @@ export interface RequestsettingVO {
// 查询申请设置列表 // 查询申请设置列表
export const getRequestsettingPage = async (params) => { export const getRequestsettingPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/requestsetting/senior', data })
} else {
return await request.get({ url: `/wms/requestsetting/page`, params }) return await request.get({ url: `/wms/requestsetting/page`, params })
} }
}
// 查询申请设置详情 // 查询申请设置详情
export const getRequestsetting = async (id: number) => { export const getRequestsetting = async (id: number) => {

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

@ -13,8 +13,14 @@ export interface RuleVO {
// 查询规则列表 // 查询规则列表
export const getRulePage = async (params) => { export const getRulePage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/rule/senior', data })
} else {
return await request.get({ url: `/wms/rule/page`, params }) return await request.get({ url: `/wms/rule/page`, params })
} }
}
// 查询规则详情 // 查询规则详情
export const getRule = async (id: number) => { export const getRule = async (id: number) => {

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

@ -13,8 +13,14 @@ export interface SalepriceVO {
// 查询销售价格单列表 // 查询销售价格单列表
export const getSalepricePage = async (params) => { export const getSalepricePage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/saleprice/senior', data })
} else {
return await request.get({ url: `/wms/saleprice/page`, params }) return await request.get({ url: `/wms/saleprice/page`, params })
} }
}
// 查询销售价格单详情 // 查询销售价格单详情
export const getSaleprice = async (id: number) => { export const getSaleprice = async (id: number) => {

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

@ -15,8 +15,14 @@ export interface ShiftVO {
// 查询班次列表 // 查询班次列表
export const getShiftPage = async (params) => { export const getShiftPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/shift/senior', data })
} else {
return await request.get({ url: `/wms/shift/page`, params }) return await request.get({ url: `/wms/shift/page`, params })
} }
}
// 查询班次详情 // 查询班次详情
export const getShift = async (id: number) => { export const getShift = async (id: number) => {

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

@ -23,8 +23,14 @@ export interface SupplierVO {
// 查询供应商列表分页 // 查询供应商列表分页
export const getSupplierPage = async (params) => { export const getSupplierPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/supplier/senior', data })
} else {
return await request.get({ url: `/wms/supplier/page`, params }) return await request.get({ url: `/wms/supplier/page`, params })
} }
}
// 查询供应商列表 // 查询供应商列表
export const getSupplierList = async (params) => { export const getSupplierList = async (params) => {
return await request.get({ url: `/wms/supplier/list`, params }) return await request.get({ url: `/wms/supplier/list`, params })

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

@ -22,8 +22,14 @@ export interface SupplieritemVO {
// 查询供应商物品列表 // 查询供应商物品列表
export const getSupplieritemPage = async (params) => { export const getSupplieritemPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/supplieritem/senior', data })
} else {
return await request.get({ url: `/wms/supplieritem/page`, params }) return await request.get({ url: `/wms/supplieritem/page`, params })
} }
}
// 查询供应商物品详情 // 查询供应商物品详情
export const getSupplieritem = async (id: number) => { export const getSupplieritem = async (id: number) => {

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

@ -12,8 +12,14 @@ export interface SystemcalendarVO {
// 查询系统日历列表 // 查询系统日历列表
export const getSystemcalendarPage = async (params) => { export const getSystemcalendarPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/systemcalendar/senior', data })
} else {
return await request.get({ url: `/wms/systemcalendar/page`, params }) return await request.get({ url: `/wms/systemcalendar/page`, params })
} }
}
// 查询系统日历详情 // 查询系统日历详情
export const getSystemcalendar = async (id: number) => { export const getSystemcalendar = async (id: number) => {

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

@ -13,8 +13,14 @@ export interface TeamVO {
// 查询班组列表 // 查询班组列表
export const getTeamPage = async (params) => { export const getTeamPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/team/senior', data })
} else {
return await request.get({ url: `/wms/team/page`, params }) return await request.get({ url: `/wms/team/page`, params })
} }
}
// 查询班组详情 // 查询班组详情
export const getTeam = async (id: number) => { export const getTeam = async (id: number) => {

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

@ -15,8 +15,14 @@ export interface TransactiontypeVO {
// 查询事务类型列表 // 查询事务类型列表
export const getTransactiontypePage = async (params) => { export const getTransactiontypePage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/transactiontype/senior', data })
} else {
return await request.get({ url: `/wms/transactiontype/page`, params }) return await request.get({ url: `/wms/transactiontype/page`, params })
} }
}
// 查询事务类型详情 // 查询事务类型详情
export const getTransactiontype = async (id: number) => { export const getTransactiontype = async (id: number) => {

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

@ -13,8 +13,14 @@ export interface WarehouseVO {
// 查询仓库列表 // 查询仓库列表
export const getWarehousePage = async (params) => { export const getWarehousePage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/warehouse/senior', data })
} else {
return await request.get({ url: `/wms/warehouse/page`, params }) return await request.get({ url: `/wms/warehouse/page`, params })
} }
}
// 查询仓库所有列表 // 查询仓库所有列表
export const getWarehouseList = async (params) => { export const getWarehouseList = async (params) => {
return await request.get({ url: `/wms/warehouse/list`, params }) return await request.get({ url: `/wms/warehouse/list`, params })

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

@ -13,8 +13,14 @@ export interface WorkshopVO {
// 查询车间列表 // 查询车间列表
export const getWorkshopPage = async (params) => { export const getWorkshopPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/workshop/senior', data })
} else {
return await request.get({ url: `/wms/workshop/page`, params }) return await request.get({ url: `/wms/workshop/page`, params })
} }
}
// 查询车间详情 // 查询车间详情
export const getWorkshop = async (id: number) => { export const getWorkshop = async (id: number) => {

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

@ -17,8 +17,14 @@ export interface WorkstationVO {
// 查询工位列表 // 查询工位列表
export const getWorkstationPage = async (params) => { export const getWorkstationPage = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return request.post({ url: '/wms/workstation/senior', data })
} else {
return await request.get({ url: `/wms/workstation/page`, params }) return await request.get({ url: `/wms/workstation/page`, params })
} }
}
// 查询工位详情 // 查询工位详情
export const getWorkstation = async (id: number) => { export const getWorkstation = async (id: number) => {

11
src/views/wms/accountcalendar/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -93,6 +94,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:accountcalendar:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:accountcalendar:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:accountcalendar:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:accountcalendar:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -192,6 +194,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/areabasic/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -103,6 +104,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:areabasic:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:areabasic:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:areabasic:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:areabasic:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -211,6 +213,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/businesstype/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -108,6 +109,7 @@ const HeadButttondata = [
// defaultButtons.defaultImportBtn({hasPermi:'wms:businesstype:import'}), // // defaultButtons.defaultImportBtn({hasPermi:'wms:businesstype:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:businesstype:export'}), // // defaultButtons.defaultExportBtn({hasPermi:'wms:businesstype:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -216,6 +218,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/carrier/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -93,6 +94,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:carrier:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:carrier:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:carrier:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:carrier:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -192,6 +194,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/condition/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -96,6 +97,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:condition:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:condition:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:condition:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:condition:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -195,6 +197,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/configuration/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -96,6 +97,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:configuration:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:configuration:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:configuration:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:configuration:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -195,6 +197,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/configurationsetting/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -96,6 +97,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:configurationsetting:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:configurationsetting:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:configurationsetting:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:configurationsetting:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -195,6 +197,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/currencyexchange/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -93,6 +94,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:currencyexchange:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:currencyexchange:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:currencyexchange:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:currencyexchange:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -192,6 +194,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/customer/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -93,6 +94,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:customer:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:customer:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:customer:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:customer:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -192,6 +194,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/customerdock/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -115,6 +116,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:customerdock:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:customerdock:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:customerdock:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:customerdock:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -223,6 +225,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/customeritem/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -109,6 +110,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:customeritem:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:customeritem:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:customeritem:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:customeritem:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -217,6 +219,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/dock/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -109,6 +110,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:dock:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:dock:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:dock:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:dock:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -217,6 +219,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/documentsetting/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -96,6 +97,7 @@ const HeadButttondata = [
// defaultButtons.defaultImportBtn({hasPermi:'wms:documentsetting:import'}), // // defaultButtons.defaultImportBtn({hasPermi:'wms:documentsetting:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:documentsetting:export'}), // // defaultButtons.defaultExportBtn({hasPermi:'wms:documentsetting:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -195,6 +197,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/jobsetting/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -92,6 +93,7 @@ const HeadButttondata = [
// defaultButtons.defaultImportBtn({hasPermi:'wms:jobsetting:import'}), // // defaultButtons.defaultImportBtn({hasPermi:'wms:jobsetting:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:jobsetting:export'}), // // defaultButtons.defaultExportBtn({hasPermi:'wms:jobsetting:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -191,6 +193,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/location/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -115,6 +116,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:location:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:location:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:location:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:location:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -223,6 +225,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/locationgroup/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -109,6 +110,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:locationgroup:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:locationgroup:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:locationgroup:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:locationgroup:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -217,6 +219,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/owner/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -93,6 +94,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:owner:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:owner:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:owner:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:owner:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -192,6 +194,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/paramsetting/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -96,6 +97,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:paramsetting:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:paramsetting:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:paramsetting:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:paramsetting:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -195,6 +197,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/process/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -109,6 +110,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:process:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:process:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:process:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:process:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -217,6 +219,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/productionline/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -114,6 +115,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:productionline:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:productionline:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:productionline:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:productionline:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -222,6 +224,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/project/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -103,6 +104,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:project:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:project:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:project:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:project:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -211,6 +213,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/purchaseprice/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -109,6 +110,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:purchaseprice:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:purchaseprice:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:purchaseprice:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:purchaseprice:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -217,6 +219,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/recordsetting/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -96,6 +97,7 @@ const HeadButttondata = [
// defaultButtons.defaultImportBtn({hasPermi:'wms:recordsetting:import'}), // // defaultButtons.defaultImportBtn({hasPermi:'wms:recordsetting:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:recordsetting:export'}), // // defaultButtons.defaultExportBtn({hasPermi:'wms:recordsetting:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -195,6 +197,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/requestsetting/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -96,6 +97,7 @@ const HeadButttondata = [
// defaultButtons.defaultImportBtn({hasPermi:'wms:requestsetting:import'}), // // defaultButtons.defaultImportBtn({hasPermi:'wms:requestsetting:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:requestsetting:export'}), // // defaultButtons.defaultExportBtn({hasPermi:'wms:requestsetting:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -195,6 +197,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/rule/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -96,6 +97,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:rule:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:rule:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:rule:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:rule:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -195,6 +197,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/saleprice/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -109,6 +110,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:saleprice:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:saleprice:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:saleprice:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:saleprice:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -217,6 +219,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/shift/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -93,6 +94,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:shift:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:shift:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:shift:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:shift:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -192,6 +194,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/supplier/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -93,6 +94,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:supplier:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:supplier:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:supplier:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:supplier:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -192,6 +194,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/supplieritem/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -121,6 +122,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:supplieritem:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:supplieritem:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:supplieritem:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:supplieritem:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -229,6 +231,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/systemcalendar/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -93,6 +94,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:systemcalendar:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:systemcalendar:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:systemcalendar:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:systemcalendar:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -192,6 +194,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/team/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -93,6 +94,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:team:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:team:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:team:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:team:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -192,6 +194,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/transactiontype/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -96,6 +97,7 @@ const HeadButttondata = [
// defaultButtons.defaultImportBtn({hasPermi:'wms:transactiontype:import'}), // // defaultButtons.defaultImportBtn({hasPermi:'wms:transactiontype:import'}), //
// defaultButtons.defaultExportBtn({hasPermi:'wms:transactiontype:export'}), // // defaultButtons.defaultExportBtn({hasPermi:'wms:transactiontype:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -195,6 +197,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/warehouse/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -92,6 +93,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:warehouse:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:warehouse:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:warehouse:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:warehouse:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -191,6 +193,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/workshop/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -92,6 +93,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:workshop:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:workshop:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:workshop:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:workshop:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -191,6 +193,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

11
src/views/wms/workstation/index.vue

@ -10,6 +10,7 @@
@button-base-click="buttonBaseClick" @button-base-click="buttonBaseClick"
:route-name="routeName" :route-name="routeName"
@updataTableColumns="updataTableColumns" @updataTableColumns="updataTableColumns"
@searchFormClick="searchFormClick"
/> />
<!-- 列表 --> <!-- 列表 -->
@ -120,6 +121,7 @@ const HeadButttondata = [
defaultButtons.defaultImportBtn({hasPermi:'wms:workstation:import'}), // defaultButtons.defaultImportBtn({hasPermi:'wms:workstation:import'}), //
defaultButtons.defaultExportBtn({hasPermi:'wms:workstation:export'}), // defaultButtons.defaultExportBtn({hasPermi:'wms:workstation:export'}), //
defaultButtons.defaultFreshBtn(null),// defaultButtons.defaultFreshBtn(null),//
defaultButtons.defaultFilterBtn(null), //
defaultButtons.defaultSetBtn(null), // defaultButtons.defaultSetBtn(null), //
// { // {
// label: '', // label: '',
@ -228,6 +230,15 @@ const importSuccess = () => {
getList() getList()
} }
//
const searchFormClick = (searchData) => {
tableObject.params = {
isSearch: true,
filters: searchData.filters
}
getList() //
}
/** 初始化 **/ /** 初始化 **/
onMounted(async() => { onMounted(async() => {
getList() getList()

Loading…
Cancel
Save