| | |
| | | > |
| | | <template slot-scope="{row}"> |
| | | <el-button type="text" @click="showDetail(row)">订单详情</el-button> |
| | | <el-button type="text" @click="statement(row)" v-if="row.status != 4" style="color: red">结算</el-button> |
| | | <el-button type="text" @click="refenMoney(row)" v-else>退款</el-button> |
| | | <el-button type="text" @click="statement(row)" v-if="row.status != 4 && (row.memberRidesStatus>1 || !row.memberRidesStatus)" style="color: red">结算</el-button> |
| | | <el-button type="text" @click="refenMoney(row)" v-if="row.status == 4">退款</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | |
| | | }, |
| | | statement({id}) { |
| | | this.$dialog.messageWaring('当前订单可能有未完成的骑行,确定强制结算?', '强制结算') |
| | | this.$dialog.messageWaring('确定强制结算码?结算后订单自动完成', '强制结算') |
| | | .then(() => { |
| | | closerGoodsorder(id) |
| | | .then(() => { |