|
@@ -587,7 +587,7 @@ export default {
|
|
|
this.getCodeDetail()
|
|
|
},
|
|
|
getCodeDetail(orderRefundId) {
|
|
|
- getCodeDetail({ orderId: orderRefundId || this.editOrderId || this?.order_cp?.orderRefundId || "" }).then(async res => {
|
|
|
+ getCodeDetail({ orderId: this?.order_cp?.orderId || orderRefundId || this.editOrderId || this?.order_cp?.orderRefundId || "" }).then(async res => {
|
|
|
for (var item of res.data) {
|
|
|
item.specs = { goodsMaterialSpecsName: item.specsName }
|
|
|
item.material = { name: item.materialName }
|