src/views/procurementManagement/purchaseReturnOrder/index.vue
@@ -182,7 +182,7 @@ prop: 'returnUserName', width: 110, }, { label: '整单折扣额', prop: 'totalDiscountAmount', @@ -236,7 +236,7 @@ }, ], }, ]) const data = reactive({ searchForm: { @@ -281,8 +281,8 @@ const payload = res?.data || {} detailData.value = payload // 拼接连个对象成一个对象,方便展示 item 和 item.salesLedgerProduct 里的字段 detailProducts.value = payload.purchaseReturnOrderProductsDetailVoList.map(item => ({ ...item, ...item.salesLedgerProduct })) || []