Commit 33428e28 by 张立顺

fix 字段修复

1 parent 215b8e2c
...@@ -15,8 +15,16 @@ ...@@ -15,8 +15,16 @@
<el-table-column label="序号" type="index" width="60px" <el-table-column label="序号" type="index" width="60px"
:index="index => index + (page.currentPage - 1) * page.pageSize + 1" align="center" /> :index="index => index + (page.currentPage - 1) * page.pageSize + 1" align="center" />
<el-table-column label="主订单编号" prop="orderCode" align="center" width="150px" /> <el-table-column label="主订单编号" prop="orderCode" align="center" width="150px" />
<el-table-column label="客户名称" prop="customerName" align="center"> </el-table-column> <el-table-column label="客户名称" prop="customerName" align="center" width="100px">
<el-table-column label="商品名称" prop="goodsName" align="center" width="150px"></el-table-column> <template slot-scope="scope">
<span>{{ scope.row.customerName || '-' }}</span>
</template>
</el-table-column>
<el-table-column label="商品名称" prop="goodsName" align="center" width="150px">
<template slot-scope="scope">
<span>{{ scope.row.goodsName || '-' }}</span>
</template>
</el-table-column>
<el-table-column label="所属业务" prop="orderBusinessType" align="center" width="150px"> <el-table-column label="所属业务" prop="orderBusinessType" align="center" width="150px">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ orderBusinessTypeList[scope.row.orderBusinessType.toString()] || '-' }}</span> <span>{{ orderBusinessTypeList[scope.row.orderBusinessType.toString()] || '-' }}</span>
...@@ -86,7 +94,7 @@ ...@@ -86,7 +94,7 @@
<el-table-column label="订单支付时间" prop="successDateStr" align="center" width="180px" /> <el-table-column label="订单支付时间" prop="successDateStr" align="center" width="180px" />
<el-table-column label="订单类型" prop="orderType" align="center"> <el-table-column label="订单类型" prop="orderType" align="center">
<span slot-scope="scope">{{scope.row.goodsOrder ? baseData.orderTypeList.find(item => +item.confId === <span slot-scope="scope">{{scope.row.goodsOrder ? baseData.orderTypeList.find(item => +item.confId ===
scope.row.goodsOrder.orderType).confLabel : '-' }}</span> scope.row.goodsOrder.orderType).confLabel : '-'}}</span>
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange" <el-pagination background @size-change="handleSizeChange" @current-change="handleCurrentChange"
......
...@@ -22,8 +22,16 @@ ...@@ -22,8 +22,16 @@
<span>{{ scope.row.orderCode || '-' }}</span> <span>{{ scope.row.orderCode || '-' }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="客户名称" prop="customerName" align="center"> </el-table-column> <el-table-column label="客户名称" prop="customerName" align="center" width="100px">
<el-table-column label="商品名称" prop="goodsName" align="center" width="150px"></el-table-column> <template slot-scope="scope">
<span>{{ scope.row.customerName || '-' }}</span>
</template>
</el-table-column>
<el-table-column label="商品名称" prop="goodsName" align="center" width="150px">
<template slot-scope="scope">
<span>{{ scope.row.goodsName || '-' }}</span>
</template>
</el-table-column>
<el-table-column label="所属业务" prop="orderBusinessType" align="center" width="150px"> <el-table-column label="所属业务" prop="orderBusinessType" align="center" width="150px">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ orderBusinessTypeList[scope.row.orderBusinessType.toString()] || '-' }}</span> <span>{{ orderBusinessTypeList[scope.row.orderBusinessType.toString()] || '-' }}</span>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!