From beb784d895e5eb99951bee75ef18d0693ea1192a Mon Sep 17 00:00:00 2001 From: van Date: Fri, 10 Apr 2026 18:57:33 +0800 Subject: [PATCH] 1 --- .../system/goofish/erpGoofishOrder/index.vue | 23 +++++++++++++++++-- src/views/system/jdorder/orderList.vue | 15 ++++++++---- 2 files changed, 32 insertions(+), 6 deletions(-) diff --git a/src/views/system/goofish/erpGoofishOrder/index.vue b/src/views/system/goofish/erpGoofishOrder/index.vue index db2a911..d0b4531 100644 --- a/src/views/system/goofish/erpGoofishOrder/index.vue +++ b/src/views/system/goofish/erpGoofishOrder/index.vue @@ -151,10 +151,11 @@ {{ formatModifyTime(scope.row.modifyTime) }} - + @@ -566,7 +567,19 @@ export default { refreshGoofishDetail(row.id).then(() => { this.$modal.msgSuccess('已请求刷新详情') this.getList() - }) + }).catch(() => {}) + }, + /** 与「刷新详情」同源接口:向闲管家拉取订单详情并合并运单号、快递公司等到列表字段 */ + handleRefreshLogistics(row) { + if (!row || !row.id) return + const ld = this.$loading({ lock: true, text: '正在从闲管家同步运单与快递信息…' }) + refreshGoofishDetail(row.id) + .then(() => { + this.$modal.msgSuccess('已更新运单与快递信息') + this.getList() + }) + .catch(() => {}) + .finally(() => { ld.close() }) }, handleRetryShip(row) { retryGoofishShip(row.id).then(() => { @@ -616,6 +629,12 @@ export default { .mb8 { margin-bottom: 8px; } +.goofish-btn-logistics { + color: #67c23a; +} +.goofish-btn-logistics:hover { + color: #85ce61; +} .goods-cell { display: flex; align-items: center; diff --git a/src/views/system/jdorder/orderList.vue b/src/views/system/jdorder/orderList.vue index 6be6749..ad20d52 100644 --- a/src/views/system/jdorder/orderList.vue +++ b/src/views/system/jdorder/orderList.vue @@ -292,7 +292,7 @@ :command="{action: 'fetchLogistics', row: row}" icon="el-icon-truck" style="color: #67C23A;"> - 获取物流 + 刷新物流
@@ -361,6 +361,13 @@ 地址 {{ row.address || '-' }}
+
+ 物流 + + 手动刷新物流 + 复制物流链接 + +
付款金额 {{ toYuan(row.paymentAmount) }} @@ -792,7 +799,7 @@ :command="{action: 'fetchLogistics', row: scope.row}" icon="el-icon-truck" style="color: #67C23A;"> - 获取物流 + 刷新物流
@@ -830,7 +837,7 @@
录单 后返 - 物流拉取 + 刷新物流
@@ -868,7 +875,7 @@