112 lines
2.3 KiB
JavaScript
112 lines
2.3 KiB
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询SAP 客户数据
|
|
export function listCustomer(query) {
|
|
return request({
|
|
url: '/rfc/rfc/listCustomer',
|
|
method: 'get',
|
|
params: {'value':query.Code,'label':query.Name}
|
|
})
|
|
}
|
|
|
|
// 查询SAP 国家数据
|
|
export function getCountrys(query) {
|
|
return request({
|
|
url: '/rfc/rfc/getCountrys',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
// 查询SAP 行业代码数据
|
|
export function getIndustryCode(query) {
|
|
return request({
|
|
url: '/rfc/rfc/getIndustryCode',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
// 查询SAP 语言数据
|
|
export function getLanguage(query) {
|
|
return request({
|
|
url: '/rfc/rfc/getLanguage',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
// 查询SAP 付款条件数据
|
|
export function getPaymentTerms(query) {
|
|
return request({
|
|
url: '/rfc/rfc/getPaymentTerms',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
// 查询SAP 销售组织数据
|
|
export function getSalesOrganization(query) {
|
|
return request({
|
|
url: '/rfc/rfc/getSalesOrganization',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
// 查询SAP 分销渠道数据
|
|
export function getDistributionChannel(query) {
|
|
return request({
|
|
url: '/rfc/rfc/getDistributionChannel',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
// 查询SAP 销售地区数据
|
|
export function getSalesTerritory(query) {
|
|
return request({
|
|
url: '/rfc/rfc/getSalesTerritory',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
// 查询SAP 销售办公室数据
|
|
export function getSaleOffice(query) {
|
|
return request({
|
|
url: '/rfc/rfc/getSaleOffice',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
// 查询客户税分类数据
|
|
export function getTax(query) {
|
|
return request({
|
|
url: '/rfc/rfc/getTax',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
// 查询统驭科目数据
|
|
export function getReconciliationAccount(query) {
|
|
return request({
|
|
url: '/rfc/rfc/getReconciliationAccount',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
// 查询账户分配组数据
|
|
export function getAccountAllocationGroup(query) {
|
|
return request({
|
|
url: '/rfc/rfc/getAccountAllocationGroup',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询银行代码数据
|
|
export function bankCodeList(query) {
|
|
return request({
|
|
url: '/rfc/rfc/bankCodeList',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
|
|
|