浏览代码

no message

linwenxin 1 年之前
父节点
当前提交
980fba3b79
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/auxiliaryFittings/salesManagement/components/auxiliarySalesOrderDetail.vue

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