diff --git a/src/api/system/jdorder.js b/src/api/system/jdorder.js index 5375f27..a45838f 100644 --- a/src/api/system/jdorder.js +++ b/src/api/system/jdorder.js @@ -257,6 +257,15 @@ export function recalcProfitBatch(ids) { }) } +/** 本页订单:利润未手动的按规则重算,仅变化时落库(刷新列表后调用) */ +export function syncAutoProfitBatch(ids) { + return request({ + url: '/system/jdorder/tools/sync-auto-profit', + method: 'post', + data: { ids } + }) +} + // 生成录单格式文本(Excel可粘贴格式) export function generateExcelText(query) { return request({ diff --git a/src/views/system/jdorder/orderList.vue b/src/views/system/jdorder/orderList.vue index 777a446..c734a42 100644 --- a/src/views/system/jdorder/orderList.vue +++ b/src/views/system/jdorder/orderList.vue @@ -1063,7 +1063,7 @@