From b099e758396f61b39d24cf5fa6be7bb0d10c2b4d Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期一, 18 五月 2026 19:16:26 +0800
Subject: [PATCH] 提交

---
 admin/src/views/business/orderManagement.vue |   20 +++++++++++++++++---
 1 files changed, 17 insertions(+), 3 deletions(-)

diff --git a/admin/src/views/business/orderManagement.vue b/admin/src/views/business/orderManagement.vue
index 9e88244..5c47852 100644
--- a/admin/src/views/business/orderManagement.vue
+++ b/admin/src/views/business/orderManagement.vue
@@ -93,7 +93,10 @@
           <template slot-scope="{row}">楼{{ (row.overdueAmount / 100).toFixed(2) }}</template>
         </el-table-column>
         <el-table-column label="寮傚父閲戦" min-width="100px">
-          <template slot-scope="{row}">楼{{ (row.exceptionAmount / 100).toFixed(2) }}</template>
+          <template slot-scope="{row}">楼{{ ((row.exceptionAmount || 0) / 100).toFixed(2) }}</template>
+        </el-table-column>
+        <el-table-column label="浼樻儬鍒告姌鎵�" min-width="100px">
+          <template slot-scope="{row}">楼{{ ((row.deductionAmount || 0) / 100).toFixed(2) }}</template>
         </el-table-column>
         <el-table-column  prop="statusDesc"  label="璁㈠崟鐘舵��" min-width="100px">
           <template slot-scope="{row}">
@@ -113,7 +116,9 @@
         <el-table-column prop="createTime" label="鍒涘缓鏃堕棿" min-width="150px"> </el-table-column>
         <el-table-column label="鎿嶄綔" min-width="120" fixed="right">
           <template slot-scope="{row}">
-            <el-button type="text" v-if="row.status ===2" @click="handleDispatch(row)">鎵嬪姩娲惧崟</el-button>
+            <el-button type="text" v-if="row.status === 2" @click="handleDispatch(row)">鎵嬪姩娲惧崟</el-button>
+            <el-button type="text" v-if="row.status === 7 && row.manualRefund === 0" @click="handleManualRefund(row)">鎵嬪姩閫�娆�</el-button>
+            <el-button type="text" v-if="row.status === 2">寮傚父娲惧崟</el-button>
           </template>
         </el-table-column>
       </el-table>
@@ -125,6 +130,7 @@
     </template>
     <OperaDispatch ref="operaDispatch" @success="handlePageChange" />
     <OperaOrderDetail ref="operaOrderDetail"  @success="handlePageChange"  />
+    <OperaManualRefund ref="operaManualRefund" @success="handlePageChange" />
   </TableLayout>
 </template>
 
@@ -134,10 +140,11 @@
 import Pagination from '@/components/common/Pagination'
 import OperaDispatch from '@/components/business/OperaDispatch'
 import OperaOrderDetail from '@/components/business/OperaOrderDetail'
+import OperaManualRefund from '@/components/business/OperaManualRefund'
 export default {
   name: 'OrderManagement',
   extends: BaseTable,
-  components: { TableLayout, Pagination, OperaDispatch, OperaOrderDetail },
+  components: { TableLayout, Pagination, OperaDispatch, OperaOrderDetail, OperaManualRefund },
   data () {
     return {
       searchForm: {
@@ -185,6 +192,13 @@
     handleDispatch (row) {
       this.$refs.operaDispatch.open(row)
     },
+    handleManualRefund (row) {
+      this.$refs.operaManualRefund.open(row)
+    },
+    handleExceptionDispatch (row) {
+      // 寮傚父娲惧崟閫昏緫
+      this.$message.info('寮傚父娲惧崟鍔熻兘寰呭疄鐜�')
+    },
     handleOrderDetail (row) {
       this.$refs.operaOrderDetail.open(row)
     }

--
Gitblit v1.9.3