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:
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user