Browse Source

feat: 快递修改

xdd 2 months ago
parent
commit
3f497d1840

+ 12 - 3
src/views/components/his/storeOrderDetails.vue

@@ -559,7 +559,7 @@ import {getCitys} from "@/api/store/city";
         citys:[],
         userAddress:null,
       }
-      
+
     },
 
     created() {
@@ -643,7 +643,7 @@ import {getCitys} from "@/api/store/city";
         console.log(detail)
         return region && detail ? `${region} ${detail}` : (region || detail || '');
       },
-      
+
       followMsg(row){
          const userId = this.item.userId;
          const followDoctorId =this.item.followDoctorId;
@@ -771,6 +771,10 @@ import {getCitys} from "@/api/store/city";
               this.$parent.$parent.getList();
             });
           }
+        }).finally(()=>{
+          this.editDyForm.deliveryCode = null;
+          this.editDyForm.orderId = null;
+          this.editDyForm.deliveryId = null;
         });
         });
     },
@@ -1091,7 +1095,12 @@ import {getCitys} from "@/api/store/city";
                       this.$parent.$parent.getList();
                   });
               }
-            });
+            }).finally(()=>{
+              this.editDyForm.deliveryCode = null;
+              this.editDyForm.orderId = null;
+              this.editDyForm.deliveryId = null;
+              this.editDyForm.deliverySn = null;
+            })
           }
         });
       },

+ 6 - 1
src/views/components/his/storeOrderDetails2.vue

@@ -1002,7 +1002,12 @@ import { getTcmScheduleList } from "@/api/company/schedule";
                       this.$parent.$parent.getList();
                   });
               }
-            });
+            }).finally(()=>{
+              this.editDyForm.deliveryCode = null;
+              this.editDyForm.orderId = null;
+              this.editDyForm.deliveryId = null;
+              this.editDyForm.deliverySn = null;
+            })
           }
         });
       },