|
@@ -315,9 +315,9 @@
|
|
|
<el-table-column prop="goods.productRelaName" 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.oldRefundQty && scope.row.goods && scope.row.goods.price">
|
|
|
+ <!-- <template slot-scope="scope" v-if="scope.row.oldRefundQty && scope.row.goods && scope.row.goods.price">
|
|
|
{{ (scope.row.goods.price * 100 * scope.row.oldRefundQty) / 100 }}
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
</el-table-column>
|
|
|
<!-- <el-table-column prop="goods.qty" align="center" label="库存数量"></el-table-column> -->
|
|
|
<el-table-column prop="" align="center" label="退款金额" v-if="formData.orderUseType == 'INSIDE'">
|
|
@@ -750,8 +750,8 @@ export default {
|
|
|
this.getWarehouseList(res.data.websitId)
|
|
|
for (var item of res.data.items) {
|
|
|
var ress = await that.getGoods(item.goodsName, 1)
|
|
|
- item.goods = { ...ress.data, oldPrice: ress.data.price }
|
|
|
- item.goodsList = ress.data ? [{ ...ress.data, oldPrice: ress.data.price }] : []
|
|
|
+ item.goods = { ...ress.data, price: item.price, oldPrice: ress.data.price }
|
|
|
+ item.goodsList = ress.data ? [{ ...ress.data, price: item.price, oldPrice: ress.data.price }] : []
|
|
|
item.oldRefundQty = 1
|
|
|
item.refundAmount = 0
|
|
|
}
|
|
@@ -773,8 +773,8 @@ export default {
|
|
|
this.getWarehouseList(res.data.websitId)
|
|
|
for (var item of res.data.websitPartsRetItemList) {
|
|
|
var ress = await that.getGoods(item.goodsName, 1)
|
|
|
- item.goods = { ...ress.data, oldPrice: ress.data.price }
|
|
|
- item.goodsList = ress.data ? [{ ...ress.data, oldPrice: ress.data.price }] : []
|
|
|
+ item.goods = { ...ress.data, price: item.price, oldPrice: ress.data.price }
|
|
|
+ item.goodsList = ress.data ? [{ ...ress.data, price: item.price, oldPrice: ress.data.price }] : []
|
|
|
}
|
|
|
var ress = await that.getAttachmentList(res.data.websitId)
|
|
|
for (var item of res.data.websitPartsRetOldRecordList) {
|