修改退款显示价格不一样的bug

This commit is contained in:
赵毅 2025-11-05 10:31:06 +08:00
parent b008e2766e
commit f28307ee30
2 changed files with 3 additions and 2 deletions

View File

@ -386,7 +386,7 @@
height: 100rpx; height: 100rpx;
position: fixed; position: fixed;
right: 33rpx; right: 33rpx;
bottom: 320rpx; bottom: 100rpx;
z-index: 10; z-index: 10;
} }

View File

@ -29,7 +29,7 @@
{{ item.goods_name }} {{ item.goods_name }}
</view> </view>
<view class="asGoodDesc">{{ item.goods_spec }}</view> <view class="asGoodDesc">{{ item.goods_spec }}</view>
<view class="asGoodPrice">¥{{ item.cost_price }}/</view> <view class="asGoodPrice">¥{{ item.sales_price }}/</view>
</view> </view>
<view class="asGoodNum">x{{ item.count }}</view> <view class="asGoodNum">x{{ item.count }}</view>
</view> </view>
@ -310,6 +310,7 @@ export default {
// //
openAfterSalePopup() { openAfterSalePopup() {
this.$nextTick(() => { this.$nextTick(() => {
console.log("🚀 ~ this.afterSaleGoods:", this.afterSaleGoods)
if (this.afterSaleGoods && this.afterSaleGoods.length > 0) { if (this.afterSaleGoods && this.afterSaleGoods.length > 0) {
this.selectedAsGood = this.afterSaleGoods[0].goods_id; this.selectedAsGood = this.afterSaleGoods[0].goods_id;
this.afterSalesType = 2 this.afterSalesType = 2