xdd 3 days ago
parent
commit
985aca816c
1 changed files with 10 additions and 7 deletions
  1. 10 7
      src/views/hisStore/components/productOrder.vue

+ 10 - 7
src/views/hisStore/components/productOrder.vue

@@ -787,13 +787,16 @@ export default {
         }).catch(function() {});
     },
     editOrder(){
-        this.edit.open=true;
-        this.editForm.id=this.order.id;
-        this.editForm.mark=this.order.mark
-        this.editForm.orderType=this.order.orderType.toString();
-        this.editForm.status = this.order.status.toString();
-        this.editForm.userAddress = this.order.userAddress.toString();
-        this.editForm.scheduleId = this.order.scheduleId;
+        this.handleAddress()
+        setTimeout(()=>{
+          this.edit.open=true;
+          this.editForm.id=this.order.id;
+          this.editForm.mark=this.order.mark
+          this.editForm.orderType=this.order.orderType.toString();
+          this.editForm.status = this.order.status.toString();
+          this.editForm.userAddress = this.order.userAddress.toString();
+          this.editForm.scheduleId = this.order.scheduleId;
+        },1000)
         // this.editForm.extendOrderId = this.order.extendOrderId.toString();
 
     },