产品列表配置附加费

This commit is contained in:
wuweihua
2026-09-08 11:55:31 +08:00
parent 38796d8683
commit 520fc32a4e
12 changed files with 569 additions and 3 deletions
+25
View File
@@ -19,6 +19,31 @@ export function getSurcharge(scId) {
})
}
/** 查询指定产品的附加费关联(非分页,含附加费与明细展示字段) */
export function listSurchargeByProduct(productCode) {
return request({
url: '/price/surcharge/byProduct/' + productCode,
method: 'get'
})
}
/** 绑定附加费到产品/明细(scId + productCode + detailId) */
export function addSurchargeRel(data) {
return request({
url: '/price/surcharge/rel',
method: 'post',
data: data
})
}
/** 解绑附加费关联 */
export function delSurchargeRel(relIds) {
return request({
url: '/price/surcharge/rel/' + relIds,
method: 'delete'
})
}
/** 新增附加费配置 */
export function addSurcharge(data) {
return request({