采购单优化
This commit is contained in:
@@ -2,6 +2,7 @@ import createAxios from '@/utils/request';
|
||||
import type {
|
||||
IPurchaseCell,
|
||||
IPurchaseDetail,
|
||||
IPurchaseStoreSummary,
|
||||
} from '@/domain/iPurchaseOrder.ts';
|
||||
|
||||
/** 订单商品参数修改 */
|
||||
@@ -64,3 +65,12 @@ export async function updatePurchaseCellItem(itemId: number, data: PurchaseCellU
|
||||
data,
|
||||
});
|
||||
}
|
||||
|
||||
/** 门店购买详情:采购单内某门店的采购汇总(按商品聚合) */
|
||||
export async function getPurchaseStoreSummary(purchaseId: number, storeId: number) {
|
||||
return createAxios<IPurchaseStoreSummary>({
|
||||
url: `/purchase/order/${purchaseId}/store`,
|
||||
method: 'get',
|
||||
params: { store_id: storeId },
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user