Browse Source

维权订单修改

pengyh 1 năm trước cách đây
mục cha
commit
c069efdc27

+ 1 - 1
src/views/mallManagement/order/order_refund/index.vue

@@ -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 }

+ 1 - 1
src/views/mallManagement/order/order_refund_detail/index.vue

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