Enhance surcharge management by adding support for price type filtering in SurchargeController and related services. Introduce new methods for handling redline product codes in mappers and services. Update front-end API to accommodate price type parameters in surcharge queries. Modify database schema to include redline product and country tables for improved surcharge calculations.

This commit is contained in:
wuweihua
2026-10-09 17:30:29 +08:00
parent 380577f691
commit f1f6ddd368
34 changed files with 5196 additions and 30 deletions
+3 -2
View File
@@ -20,10 +20,11 @@ export function getSurcharge(scId) {
}
/** 查询指定产品的附加费关联(非分页,含附加费与明细展示字段) */
export function listSurchargeByProduct(productCode) {
export function listSurchargeByProduct(productCode, priceType) {
return request({
url: '/price/surcharge/byProduct/' + productCode,
method: 'get'
method: 'get',
params: priceType ? { priceType } : undefined
})
}