应付账单初始化

This commit is contained in:
caojia
2026-11-04 16:04:38 +08:00
committed by liuminghui
parent 04be15deab
commit 51a89b18e1
90 changed files with 15661 additions and 6 deletions
+53
View File
@@ -0,0 +1,53 @@
import request from '@/utils/request'
/** 应付邮编配置:导入整本 Excel,列表只展示合并后的分区和附加费 */
export function listPayPostcode(query) {
return request({
url: '/data/payPostcode/list',
method: 'get',
params: query
})
}
export function getPayPostcode(groupId) {
return request({
url: '/data/payPostcode/' + groupId,
method: 'get'
})
}
export function updatePayPostcode(data) {
return request({
url: '/data/payPostcode',
method: 'put',
data
})
}
export function listPayPostcodeLine(query) {
return request({
url: '/data/payPostcode/line',
method: 'get',
params: query
})
}
export function importPayPostcode(file) {
const data = new FormData()
data.append('file', file)
return request({
url: '/data/payPostcode/import',
method: 'post',
data,
headers: { 'Content-Type': 'multipart/form-data', repeatSubmit: false },
timeout: 10 * 60 * 1000
})
}
export function delPayPostcode(groupIds) {
return request({
url: '/data/payPostcode/' + groupIds,
method: 'delete'
})
}