Commit 8bb87fee by chenwq

feat: 在订单详情中添加运费显示并调整退款金额显示逻辑

- 在商品订单详情页添加运费字段显示
- 移除积分商品详情页的操作按钮
- 修改销售订单中退款金额的显示逻辑,统一使用积分显示
1 parent 1c5bf569
......@@ -212,6 +212,11 @@ export default {
label: '收货人信息',
name: 'addInfo',
type: 'showTxt'
},
{
label: '运费',
name: 'freightAmount',
type: 'showTxt'
}
]
}
......
......@@ -61,13 +61,13 @@
<span class="attr-key">{{ goodsInfo.specificationResponses[0].specValue || '--' }}</span>
</li>
</ul>
<div class="operate-btn">
<!-- <div class="operate-btn">
<el-button type="primary" :disabled="goodsInfo.shelvesStatus == 1002" v-if="goodsInfo.goodsPosition==1"
@click="handleSale">上架销售
</el-button>
<el-button type="primary" v-if="goodsInfo.goodsPosition==2" plain @click="handleOff">下架</el-button>
<el-button type="primary" v-if="goodsInfo.goodsPosition==1" plain @click="handleRemove">移出</el-button>
</div>
</div> -->
</div>
</div>
</div>
......
......@@ -209,9 +209,9 @@ export default {
{
label: '申请金额 (元)',
width: 130,
prop: 'refundPrice',
prop: 'refundPoints',
formatter: cell => {
return cell.goodsSource == 2 ? '--' : (cell.businessType == 1 ? (cell.redeemPoints * cell.applyQty) + '积分' + '+' + cell.refundPrice + '元' : cell.refundPrice + '元')
return cell.refundPoints + '积分'
}
},
{
......@@ -303,7 +303,7 @@ export default {
},
{
label: '申请金额/元:',
name: 'refundPrice',
name: 'refundPoints',
type: 'showTxt'
},
{
......@@ -424,7 +424,7 @@ export default {
this.batchForm = {
returnType: data.returnType,
returnTypeTxt: this.baseData.returnTypeList.find(item => item.confId == data.returnType)?.confLabel || '--',
refundPrice: data.refundPrice,
refundPoints: data.refundPoints,
createdDate: data.createdDate,
subOrderCode: data.subOrderCode,
returnContent: data.returnContent,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!