20 lines
363 B
JavaScript
20 lines
363 B
JavaScript
import request from '@/utils/request'
|
|
|
|
// 查询挂账信息列表
|
|
export function listCreditUnit(query) {
|
|
return request({
|
|
url: '/business/creditUnit/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 新增挂账记录
|
|
export function addCreditUnit(data) {
|
|
return request({
|
|
url: '/business/creditUnit',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|