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.
106 lines
2.2 KiB
106 lines
2.2 KiB
import request from '@/utils/request'
|
|
|
|
export function typeValues(data) {
|
|
return request({
|
|
url: '/oms/apiadmin/dictcommons/typeValues',
|
|
method: 'get',
|
|
params: data
|
|
})
|
|
}
|
|
|
|
// 获取数据字典(根据分组)
|
|
export function getTypeValueList(data) {
|
|
return request({
|
|
url: '/oms/apiadmin/dictcommons/getTypeValueList',
|
|
method: 'get',
|
|
params: data
|
|
})
|
|
}
|
|
|
|
// 根据当前登录用户的全路径查询相应部门下的所有人
|
|
export function selAllByOrgSidPath(data) {
|
|
return request({
|
|
url: '/oms/apiadmin/sysstafforg/selAllByOrgSidPath',
|
|
method: 'post',
|
|
params: data
|
|
})
|
|
}
|
|
|
|
|
|
// 根据部门sid获取客户信息
|
|
export function chooseCustomerList(data) {
|
|
return request({
|
|
url: '/oms/v1/crmcustomertemp/chooseCustomerList',
|
|
method: 'post',
|
|
data: data,
|
|
headers: {
|
|
'Content-Type': 'application/json'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 获取省
|
|
export function getProvince() {
|
|
return request({
|
|
url: '/oms/apiadmin/regions/getProvince',
|
|
method: 'get'
|
|
})
|
|
}
|
|
// 根据省sid获取该省的所有市
|
|
export function getCity(data) {
|
|
return request({
|
|
url: '/oms/apiadmin/regions/getCity',
|
|
method: 'get',
|
|
params: data
|
|
})
|
|
}
|
|
// 根据市sid获取该市的所有县区
|
|
export function getCounty(data) {
|
|
return request({
|
|
url: '/oms/apiadmin/regions/getCounty',
|
|
method: 'get',
|
|
params: data
|
|
})
|
|
}
|
|
|
|
// 获取供应商信息
|
|
export function choiceSupplierInfo(data) {
|
|
return request({
|
|
url: '/oms/apiadmin/supplierinfo/choiceSupplierInfo',
|
|
method: 'get',
|
|
params: data
|
|
})
|
|
}
|
|
|
|
// 查询所有仓库
|
|
export function getWareHouse(params) {
|
|
return request({
|
|
url: '/oms/apiadmin/warehouseinfo/getWareHouse',
|
|
method: 'post',
|
|
params: params
|
|
})
|
|
}
|
|
|
|
// 查询所有仓库
|
|
export function getWarehouses(params) {
|
|
return request({
|
|
url: '/oms/apiadmin/base/wmswarehouseinfo/listAll',
|
|
method: 'post',
|
|
data: params,
|
|
headers: {
|
|
'Content-Type': 'application/json'
|
|
}
|
|
})
|
|
}
|
|
|
|
// 根据仓库查询库位
|
|
export function getWarehouseareas(data) {
|
|
return request({
|
|
url: '/oms/apiadmin/base/wmswarehousearea/selectAll',
|
|
method: 'get',
|
|
params: data,
|
|
headers: {
|
|
'Content-Type': 'application/json'
|
|
}
|
|
})
|
|
}
|
|
|