♻️ refactor: 调整订单详情数据接口

This commit is contained in:
wangsongsole 2023-12-26 17:03:48 +08:00
parent 7f665219fb
commit 46c2aa141a
1 changed files with 4 additions and 4 deletions

View File

@ -165,19 +165,19 @@ export default class order extends React.Component {
</li>
<li>
<span>商品名称</span>
<font>{orderDetail_data.product_name}</font>
<font>{orderDetail_data.orderDetail?.product_name}</font>
</li>
<li>
<span>映射商品</span>
<font>{orderDetail_data.map_product_name}</font>
<font>{orderDetail_data.map_product_name || "-"}</font>
</li>
<li>
<span>官方价</span>
<font>{orderDetail_data.official_price}</font>
<font>{orderDetail_data.orderDetail?.official_price}</font>
</li>
<li>
<span>成本价</span>
<font>{orderDetail_data.cost_price}</font>
<font>{orderDetail_data.orderDetail?.cost_price}</font>
</li>
<li>
<span>合同价</span>