|
@@ -254,17 +254,17 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="goods.saleAmount" align="center" label="退货金额" >
|
|
|
- <template slot-scope="scope" v-if="scope.row.retQty && scope.row.goods && scope.row.goods.price">
|
|
|
- {{(scope.row.goods.price * 100) * scope.row.retQty / 100}}
|
|
|
+ <template slot-scope="scope" v-if="scope.row.retQty && scope.row.price">
|
|
|
+ {{(scope.row.price * 100) * scope.row.retQty / 100}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="goods.goodsCode" align="center" label="商品代码"></el-table-column>
|
|
|
<el-table-column prop="goods.goodsSpecification" align="center" label="规格型号"></el-table-column>
|
|
|
<el-table-column prop="salesQty" align="center" label="销售数量"></el-table-column>
|
|
|
- <el-table-column prop="goods.price" align="center" label="销售价格"></el-table-column>
|
|
|
- <el-table-column prop="goods.saleAmount" align="center" label="销售金额" >
|
|
|
- <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) / 10000}}
|
|
|
+ <el-table-column prop="price" align="center" label="销售价格"></el-table-column>
|
|
|
+ <el-table-column prop="saleAmount" align="center" label="销售金额" >
|
|
|
+ <template slot-scope="scope" v-if="scope.row.salesQty && scope.row.price">
|
|
|
+ {{(scope.row.price * 100) * (scope.row.salesQty*100) / 10000}}
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="操作" align="right" width="140">
|