|
|
|
|
@ -42,8 +42,8 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<template v-if="scope.row.order_products && scope.row.order_products.length>0">
|
|
|
|
|
<template v-for="item in scope.row.order_products">
|
|
|
|
|
<el-tooltip class="item" effect="dark" :content="item.product.name" placement="top">
|
|
|
|
|
<div class="product-item">{{item.product.name}}</div>
|
|
|
|
|
<el-tooltip class="item" effect="dark" :content="item.product?item.product.name:''" placement="top">
|
|
|
|
|
<div class="product-item">{{item.product?item.product.name:""}}</div>
|
|
|
|
|
</el-tooltip>
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
@ -53,7 +53,7 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<template v-if="scope.row.order_products && scope.row.order_products.length>0">
|
|
|
|
|
<template v-for="item in scope.row.order_products">
|
|
|
|
|
<div class="product-item">{{item.product.number}}</div>
|
|
|
|
|
<div class="product-item">{{item.product?item.product.number:''}}</div>
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
@ -63,7 +63,7 @@
|
|
|
|
|
<template v-if="scope.row.order_products && scope.row.order_products.length>0">
|
|
|
|
|
<template v-for="item in scope.row.order_products">
|
|
|
|
|
|
|
|
|
|
<div class="product-item">{{item.total}}</div>
|
|
|
|
|
<div class="product-item">{{item.total?item.total:''}}</div>
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
|