shizhongqi 8 сар өмнө
parent
commit
29834546f7

+ 1 - 0
ghsApp/src/admin/delivery/orderDetail.vue

@@ -157,6 +157,7 @@ export default {
     }
   },
   methods: {
+    init() {},
     getData() {
       this.loading = true;
       // 构造请求参数,优先传 id (配送单ID),也传 order_id 供后端备用

+ 2 - 2
ghsApp/src/pagesOrder/detail.vue

@@ -755,8 +755,8 @@ export default {
 		cancelMyExpress(orderId, deliveryId) {
 			if(deliveryId == 'fengniao'){
 				getCancelReason({ghsOrderId: orderId, platform: deliveryId}).then(res => {
-					if (res.code == 1 && res.data && res.data.code == 0) {
-						this.cancelReasonList = res.data.data.reasonList;
+					if (res.code == 1 && res.data) {
+						this.cancelReasonList = res.data.reasonList;
 						this.currentExpressInfo = { orderId, deliveryId };
 						this.selectedCancelReasonCode = null;
 						this.otherCancelReason = '';