新建应付配置的附加费开关配置

This commit is contained in:
liuminghui
2026-11-05 16:05:01 +08:00
parent 116b3b74e4
commit fde53681d1
15 changed files with 1002 additions and 21 deletions
+18
View File
@@ -140,6 +140,24 @@ export function generatePayBill(billId) {
})
}
/** 勾选产品的附加费开关。productIds 用逗号分隔 */
export function listFeeRule(productIds) {
return request({
url: '/price/pay/feeRule/list',
method: 'get',
params: { productIds: productIds.join(',') }
})
}
/** 按产品保存附加费开关。每个产品一份 */
export function saveFeeRule(data) {
return request({
url: '/price/pay/feeRule',
method: 'put',
data
})
}
/** 删除产品及其重量段、附加费、其他配置 */
export function delPay(productIds) {
return request({