价格增加百分比上浮
This commit is contained in:
@@ -9,7 +9,10 @@ export interface PriceMatrixParams {
|
||||
pageSize?: number;
|
||||
}
|
||||
|
||||
/** A2 价格矩阵:行=商品,列=启用等级,值=price(缺失 null) */
|
||||
/**
|
||||
* A2 价格矩阵:行=商品,列=启用等级,值=实际销售价(缺失 null);
|
||||
* 行内含 cost_price 与 price_type_{level_id} / percent_{level_id}
|
||||
*/
|
||||
export async function getPriceMatrix(params?: PriceMatrixParams) {
|
||||
return createAxios<IPriceMatrix>({
|
||||
url: '/product/goods/priceMatrix',
|
||||
@@ -18,7 +21,9 @@ export async function getPriceMatrix(params?: PriceMatrixParams) {
|
||||
});
|
||||
}
|
||||
|
||||
/** A2 批量调价(提交后给受影响门店生成价格变更通知) */
|
||||
/**
|
||||
* A2 批量调价:支持成本价 / 固定价 / 成本百分比三类更新行(提交后给受影响门店生成价格变更通知)
|
||||
*/
|
||||
export async function batchPrice(updates: IBatchPriceUpdate[]) {
|
||||
return createAxios({
|
||||
url: '/product/goods/batchPrice',
|
||||
|
||||
Reference in New Issue
Block a user