Commit 11c6454f authored by jiaorz's avatar jiaorz

修改订单样式

parent a759b071
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
<el-form-item label="状态"> <el-form-item label="状态">
<el-select class="filter-item" v-model="listQuery.status" placeholder="请选择状态"> <el-select class="filter-item" v-model="listQuery.status" placeholder="请选择状态">
<el-option :key="null" label="无" :value="null" ></el-option> <el-option :key="null" label="无" :value="null" ></el-option>
<el-option :key="2" label="取消" :value="2"></el-option>
<el-option :key="3" label="待付款" :value="3"></el-option> <el-option :key="3" label="待付款" :value="3"></el-option>
<el-option :key="6" label="已完成" :value="6"></el-option> <el-option :key="6" label="已完成" :value="6"></el-option>
...@@ -64,7 +65,11 @@ ...@@ -64,7 +65,11 @@
<span>{{scope.row.name}}</span> <span>{{scope.row.name}}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column width="150" align="center" label="用户名">
<template scope="scope">
<span>{{scope.row.username}}</span>
</template>
</el-table-column>
<el-table-column width="110" align="center" label="商品价格"> <el-table-column width="110" align="center" label="商品价格">
<template scope="scope"> <template scope="scope">
<span>{{scope.row.goodsAmount}}</span> <span>{{scope.row.goodsAmount}}</span>
...@@ -82,15 +87,12 @@ ...@@ -82,15 +87,12 @@
</el-table-column> </el-table-column>
<el-table-column width="110" align="center" label="状态"> <el-table-column width="110" align="center" label="状态">
<template scope="scope"> <template scope="scope">
<span v-if="scope.row.status == '2'">取消</span>
<span v-if="scope.row.status == '3'">待付款</span> <span v-if="scope.row.status == '3'">待付款</span>
<span v-if="scope.row.status == '6'">已完成</span> <span v-if="scope.row.status == '6'">已完成</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column width="150" align="center" label="创建人">
<template scope="scope">
<span>{{scope.row.username}}</span>
</template>
</el-table-column>
<!-- <el-table-column width="150" align="center" label="手机号"> <!-- <el-table-column width="150" align="center" label="手机号">
<template scope="scope"> <template scope="scope">
<span>{{scope.row.telephone}}</span> <span>{{scope.row.telephone}}</span>
......
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