| | |
| | | > |
| | | <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> |
| | |
| | | <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}"> |
| | |
| | | <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> |
| | |
| | | // 异常派单逻辑 |
| | | this.$message.info('异常派单功能待实现') |
| | | }, |
| | | handleOrderDetail (row) { |
| | | this.$refs.operaOrderDetail.open(row) |
| | | handleOrderDetail (id) { |
| | | this.$refs.operaOrderDetail.open(id) |
| | | } |
| | | } |
| | | } |