Browse Source

修复直播相关问题

yh 4 days ago
parent
commit
35765f4373
1 changed files with 10 additions and 2 deletions
  1. 10 2
      src/views/live/liveOrder/liveOrderDetails.vue

+ 10 - 2
src/views/live/liveOrder/liveOrderDetails.vue

@@ -452,6 +452,7 @@ export default {
         orderId:null,
         deliveryId:null,
         deliveryCode:null,
+        deliverySn: null,
       },
       showList:true,
       edit:{
@@ -532,7 +533,8 @@ export default {
         deliveryName:null,
         deliverySn:null,
         orderId:null,
-      }
+      },
+      order: null
     }
   },
 
@@ -615,7 +617,10 @@ export default {
     editDelivery(){
       this.editDy.open = true;
       this.editDyForm.orderId = this.item.orderId;
-
+      this.editDyForm.deliveryId = this.item.deliveryId;
+      this.editDyForm.deliverySn = this.item.deliverySn;
+      this.editDyForm.deliveryCode = this.item.deliveryCode;
+      console.log("editDyForm", this.editDyForm);
     },
     showListD(){
       if(this.showList){
@@ -926,7 +931,10 @@ export default {
       this.item=null;
       this.tuiMoneyLogs=null;
       getLiveOrder(orderId).then(response => {
+        console.log("response",response);
+
         this.item = response.data;
+        this.order = response.data;
         console.log(this.tuiMoneyLogs)
         this.tuiMoneyLogs = response.tuiMoneyLogs;
         this.msgForm.userId=response.data.userId;