提交 191849c2 编写于 作者: yi.li's avatar yi.li

订单管理列表字段修改

上级 5a0883ff
......@@ -119,8 +119,9 @@
return{
curmbFirst: '商铺管理',
curmbSecond: '订单管理',
jumPathThird: '/order-manage',
jumPathThird: '',
curmbThird: '订单详情',
storeId: null,
orderId: null,
showStatus: null,//订单展示状态,1已完成,2已发货,3待发货,4待支付,5交易关闭
storeType: null,//店铺类型,1供应商,2医生小店,3小药房
......@@ -151,6 +152,8 @@
},
created() {
this.orderId = this.$route.query.id;
this.storeId = this.$route.query.storeId || 0;
this.jumPathThird = `/order-manage?storeId=${this.storeId}`;
this.init();
},
methods: {
......
......@@ -41,10 +41,10 @@
</el-tabs>
<el-table :data="tableData" border max-height="1000" class="item-table" style="width: 100%;margin-top: 10px;">
<el-table-column prop="id" label="订单号" min-width="100" align="center"></el-table-column>
<el-table-column prop="goodsName" label="商品名称" min-width="100" align="center">
<el-table-column prop="goodsNameList" label="商品名称" min-width="100" align="center">
<template slot-scope="scope">
<span>{{ scope.row.goodsName }}</span>
<!--<p v-for="(item, index) in scope.row.goodsName" :key="index" class="p-normal">{{item.name}}</p>-->
<!--<span>{{ scope.row.goodsName }}</span>-->
<p v-for="(item, index) in scope.row.goodsNameList" :key="index" class="p-normal">{{item}}</p>
</template>
</el-table-column>
<el-table-column prop="showStatusStr" label="交易状态" min-width="100" align="center">
......@@ -55,12 +55,22 @@
</template>
</el-table-column>
<el-table-column prop="receiver" label="买家" min-width="100" align="center"></el-table-column>
<el-table-column prop="goodsQuantity" label="数量" min-width="100" align="center">
<el-table-column prop="goodsQuantityList" label="数量" min-width="100" align="center">
<template slot-scope="scope">
<!--<span>{{ scope.row.goodsQuantity }}</span>-->
<p v-for="(item, index) in scope.row.goodsQuantityList" :key="index" class="p-normal">{{item}}</p>
</template>
</el-table-column>
<el-table-column prop="sizeList" label="规格" min-width="100" align="center">
<template slot-scope="scope">
<!--<span>{{ scope.row.size }}</span>-->
<p v-for="(item, index) in scope.row.sizeList" :key="index" class="p-normal">{{item}}</p>
</template>
</el-table-column>
<el-table-column prop="size" label="规格" min-width="100" align="center"></el-table-column>
<el-table-column prop="price" label="单价" min-width="100" align="center">
<el-table-column prop="priceList" label="单价" min-width="100" align="center">
<template slot-scope="scope">
<span>{{ scope.row.price }}</span>
<!--<span>{{ scope.row.price }}</span>-->
<p v-for="(item, index) in scope.row.priceList" :key="index" class="p-normal">{{item}}</p>
</template>
</el-table-column>
<el-table-column prop="createTime" label="下单时间" min-width="100" align="center">
......@@ -440,6 +450,7 @@
path: `/order-detail`,
query:{
id: row.id,
storeId: this.searchForm.storeId,
}
})
},
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册