Ver Fonte

no message

linwenxin há 1 ano atrás
pai
commit
980fba3b79

+ 2 - 2
src/views/auxiliaryFittings/salesManagement/components/auxiliarySalesOrderDetail.vue

@@ -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(){