MrShi
6 小时以前 ea2fb93a0dfcde8f5b66825b20f9d9b835a28acc
admin/src/views/business/orderManagement.vue
@@ -57,7 +57,12 @@
      >
        <el-table-column prop="code" label="订单编号" min-width="160px">
          <template slot-scope="{row}">
            <span class="order-no" @click="handleOrderDetail(row)">{{ row.code }}</span>
            <span class="order-no" @click="handleOrderDetail(row.id)">{{ row.code }}</span>
          </template>
        </el-table-column>
        <el-table-column prop="code" label="关联异常订单" min-width="160px">
          <template slot-scope="{row}">
            <span class="order-no" style="color: red;" @click="handleOrderDetail(row.relationOrderId)">{{ row.relationOrderCode }}</span>
          </template>
        </el-table-column>
        <el-table-column prop="goodsInfo" label="物品信息" min-width="120px"></el-table-column>
@@ -93,10 +98,13 @@
          <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 || 0) / 100).toFixed(2) }}</template>
          <template slot-scope="{row}">¥{{ ((row.exceptionFee || 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 label="门店保管补贴" min-width="100px">
          <template slot-scope="{row}">¥{{ ((row.shopCompensationAmount || 0) / 100).toFixed(2) }}</template>
        </el-table-column>
        <el-table-column  prop="statusDesc"  label="订单状态" min-width="100px">
          <template slot-scope="{row}">
@@ -117,8 +125,8 @@
        <el-table-column label="操作" min-width="180" 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 === 7" @click="handleManualRefund(row)">手动退款</el-button>
            <el-button type="text" v-if="row.status === 4 && !row.takeShopId && row.exceptionStatus === 0" @click="handleAbnormal(row)">异常派单</el-button>
            <el-button type="text" v-if="row.status === 7 && row.exceptionStatus !== 1" @click="handleManualRefund(row)">手动退款</el-button>
            <el-button type="text" v-if="row.status === 4 && !row.takeShopId && row.exceptionStatus !== 1" @click="handleAbnormal(row)">异常派单</el-button>
          </template>
        </el-table-column>
      </el-table>
@@ -204,8 +212,8 @@
      // 异常派单逻辑
      this.$message.info('异常派单功能待实现')
    },
    handleOrderDetail (row) {
      this.$refs.operaOrderDetail.open(row)
    handleOrderDetail (id) {
      this.$refs.operaOrderDetail.open(id)
    }
  }
}