From 5cbcfa9533954d0a8613d085aa0ea15bbb18688c Mon Sep 17 00:00:00 2001 From: van Date: Sun, 5 Apr 2026 21:34:48 +0800 Subject: [PATCH] 1 --- src/api/system/jdorder.js | 9 + src/views/jarvis/productJdConfig/index.vue | 20 +- src/views/system/jdorder/orderList.vue | 247 ++++++++++++++++----- 3 files changed, 225 insertions(+), 51 deletions(-) diff --git a/src/api/system/jdorder.js b/src/api/system/jdorder.js index 99c72aa..5375f27 100644 --- a/src/api/system/jdorder.js +++ b/src/api/system/jdorder.js @@ -248,6 +248,15 @@ export function batchMarkRebateReceived() { }) } +/** 按订单 id 批量重算售价(从型号配置回填)与利润 */ +export function recalcProfitBatch(ids) { + return request({ + url: '/system/jdorder/tools/recalc-profit', + method: 'post', + data: { ids } + }) +} + // 生成录单格式文本(Excel可粘贴格式) export function generateExcelText(query) { return request({ diff --git a/src/views/jarvis/productJdConfig/index.vue b/src/views/jarvis/productJdConfig/index.vue index 3dcba59..bdb10b7 100644 --- a/src/views/jarvis/productJdConfig/index.vue +++ b/src/views/jarvis/productJdConfig/index.vue @@ -79,6 +79,16 @@ {{ scope.row.commissionPay ? '¥' + scope.row.commissionPay : '-' }} + + + + + +