Commit b57f360d by lixiaomin

修改用户详情

parent 134d966d
<template>
<div>
<el-table v-loading="orderLoading" :data="orderList">
<el-table-column label="订单编号" align="center" prop="orderNo"></el-table-column>
<el-table-column label="订单编号" align="center" prop="orderNo">
<template slot-scope="scope">
<a @click="handleUpdate(scope.row)" style="color: blue">{{ scope.row.orderNo }}</a>
</template>
</el-table-column>
<el-table-column label="商品数量" align="center" prop="goodsNum"/>
<el-table-column label="金额" align="center" prop="amount"/>
<el-table-column label="城市" align="center" prop=""/>
......@@ -18,10 +22,14 @@
:limit.sync="pageSize"
@pagination="getList"
/>
<!-- 详情对话框 -->
<OrderDetial ref="orderDetial" ></OrderDetial>
</div>
</template>
<script>
import OrderDetial from '@/components/order/orderDetial.vue';
export default {
components: { OrderDetial},
name: "orderTable",
props: ['orderList','orderTotal','orderLoading'],
data() {
......@@ -50,23 +58,31 @@ export default {
}else if(state == 6){
return "正常完成";
}else if(state == 7){
return "未支付取消";
return "待取超时";
}else if(state == 8){
return "支付后制作前取消";
return "未支付取消";
}else if(state == 9){
return "制作中取消";
return "支付后制作前取消 ";
}else if(state == 10){
return "制作完成取消";
return "制作取消";
}else if(state == 11){
return "已退款";
return "制作完成取消";
}else if(state == 12){
return "部分退款";
return "退款中";
}else if(state == 13){
return "待取超时";
return "退款失败";
}else if(state == 14){
return "部分退款";
}else if(state == 15){
return "已退款";
}else if(state == 50){
return "其他人工干预状态";
}
},
/** 详情按钮操作 */
handleUpdate(row) {
this.$refs.orderDetial.handleUpdate(row);
}
}
}
</script>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment