You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
161 lines
2.8 KiB
161 lines
2.8 KiB
import request from '@/axios'; |
|
|
|
|
|
export const getList = (current, size, params) => { |
|
return request({ |
|
url: '/api/logpm-basicdata/tray/list', |
|
method: 'get', |
|
params: { |
|
...params, |
|
current, |
|
size, |
|
} |
|
}) |
|
} |
|
export const getpackList = (current, size, params) => { |
|
return request({ |
|
url: '/api/logpm-basicdata/tray/packageList', |
|
method: 'get', |
|
params: { |
|
...params, |
|
current, |
|
size, |
|
} |
|
}) |
|
} |
|
export const getinventoryList = (current, size, params) => { |
|
return request({ |
|
url: '/api/logpm-basicdata/tray/inventoryList', |
|
method: 'get', |
|
params: { |
|
...params, |
|
current, |
|
size, |
|
} |
|
}) |
|
} |
|
export const getlclList = (current, size, params) => { |
|
return request({ |
|
url: '/api/logpm-basicdata/tray/lclList', |
|
method: 'get', |
|
params: { |
|
...params, |
|
current, |
|
size, |
|
} |
|
}) |
|
} |
|
export const getpackListhistory = (current, size, params) => { |
|
return request({ |
|
url: '/api/logpm-basicdata/tray/packageListhistory', |
|
method: 'get', |
|
params: { |
|
...params, |
|
current, |
|
size, |
|
} |
|
}) |
|
} |
|
export const getinventoryListhistory = (current, size, params) => { |
|
return request({ |
|
url: '/api/logpm-basicdata/tray/inventoryListhistory', |
|
method: 'get', |
|
params: { |
|
...params, |
|
current, |
|
size, |
|
} |
|
}) |
|
} |
|
|
|
export const getPrintTemplate = (ids) => { |
|
return request({ |
|
url: '/api/logpm-basicdata/tray/barCode', |
|
method: 'post', |
|
params:{ |
|
ids |
|
} |
|
}) |
|
} |
|
|
|
export const getlclListhistory = (current, size, params) => { |
|
return request({ |
|
url: '/api/logpm-basicdata/tray/lclListhistory', |
|
method: 'get', |
|
params: { |
|
...params, |
|
current, |
|
size, |
|
} |
|
}) |
|
} |
|
|
|
export const getDetail = (id) => { |
|
return request({ |
|
url: '/api/logpm-basicdata/tray/detail', |
|
method: 'get', |
|
params: { |
|
id |
|
} |
|
}) |
|
} |
|
|
|
export const remove = (ids) => { |
|
return request({ |
|
url: '/api/logpm-basicdata/tray/remove', |
|
method: 'post', |
|
params: { |
|
ids, |
|
} |
|
}) |
|
} |
|
export const disable = (ids) => { |
|
return request({ |
|
url: '/api/logpm-basicdata/tray/disable', |
|
method: 'post', |
|
params: { |
|
ids, |
|
} |
|
}) |
|
} |
|
export const addable = (ids) => { |
|
return request({ |
|
url: '/api/logpm-basicdata/tray/addable', |
|
method: 'post', |
|
params: { |
|
ids, |
|
} |
|
}) |
|
} |
|
|
|
|
|
export const add = (row) => { |
|
return request({ |
|
url: '/api/logpm-basicdata/tray/save', |
|
method: 'post', |
|
data: row |
|
}) |
|
} |
|
|
|
export const update = (row) => { |
|
return request({ |
|
url: '/api/logpm-basicdata/tray/update', |
|
method: 'post', |
|
data: row |
|
}) |
|
} |
|
export const vacant = (row) => { |
|
return request({ |
|
url: '/api/logpm-basicdata/tray/vacant', |
|
method: 'post', |
|
data: row |
|
}) |
|
} |
|
export const vacants = (row) => { |
|
return request({ |
|
url: '/api/logpm-basicdata/tray/vacants', |
|
method: 'post', |
|
data: row |
|
}) |
|
} |
|
|
|
|