|
@@ -176,7 +176,7 @@
|
|
|
<el-table-column prop="goods.goodsSpecification" align="center" label="规格型号"></el-table-column>
|
|
|
<el-table-column prop="goods.price" align="center" label="销售价格"></el-table-column>
|
|
|
<el-table-column prop="" align="center" label="销售金额" >
|
|
|
- <template slot-scope="scope" v-if="scope.row.salesQty && scope.row.goods.price">
|
|
|
+ <template slot-scope="scope" v-if="scope.row.salesQty && scope.row.goods && scope.row.goods.price">
|
|
|
{{(scope.row.goods.price * 100) * scope.row.salesQty / 100}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -323,8 +323,8 @@
|
|
|
})
|
|
|
setTimeout(()=>{
|
|
|
this.dataList = res.data.items
|
|
|
+ console.log(this.dataList)
|
|
|
},200)
|
|
|
- console.log(this.dataList)
|
|
|
})
|
|
|
},
|
|
|
getWebsit(){
|