客户等级设置
This commit is contained in:
@@ -10,8 +10,8 @@ export interface PriceMatrixParams {
|
||||
}
|
||||
|
||||
/**
|
||||
* A2 价格矩阵:行=商品,列=启用等级,值=实际销售价(缺失 null);
|
||||
* 行内含 cost_price 与 price_type_{level_id} / percent_{level_id}
|
||||
* A2 价格矩阵:行=商品,列=启用等级,值=按等级上浮比例换算的售价(成本价未设置 null);
|
||||
* 仅成本价可编辑
|
||||
*/
|
||||
export async function getPriceMatrix(params?: PriceMatrixParams) {
|
||||
return createAxios<IPriceMatrix>({
|
||||
@@ -22,7 +22,7 @@ export async function getPriceMatrix(params?: PriceMatrixParams) {
|
||||
}
|
||||
|
||||
/**
|
||||
* A2 批量调价:支持成本价 / 固定价 / 成本百分比三类更新行(提交后给受影响门店生成价格变更通知)
|
||||
* A2 批量调价:批量调整成本价(等级售价随上浮比例联动;提交后给受影响门店生成价格变更通知)
|
||||
*/
|
||||
export async function batchPrice(updates: IBatchPriceUpdate[]) {
|
||||
return createAxios({
|
||||
|
||||
Reference in New Issue
Block a user