lihongxiao 2 gadi atpakaļ
vecāks
revīzija
5d8d0de912
1 mainītis faili ar 1 papildinājumiem un 4 dzēšanām
  1. 1 4
      src/views/Task/daikeComponents/KtLetter.vue

+ 1 - 4
src/views/Task/daikeComponents/KtLetter.vue

@@ -4315,8 +4315,7 @@ export default {
     localStorage.setItem("carInfo", JSON.stringify(this.carInfo));
     localStorage.setItem("carInfo", JSON.stringify(this.carInfo));
     localStorage.setItem("insureList", JSON.stringify(this.insureList));
     localStorage.setItem("insureList", JSON.stringify(this.insureList));
     //--归属信息获取--
     //--归属信息获取--
-    if (!this.isLetter == 3) {
-
+    if (this.isLetter == 1 || this.isLetter == 2) {
       var userId = Cookies.get("user");
       var userId = Cookies.get("user");
       if (userId == "admin") {
       if (userId == "admin") {
         this.userId = "admin";
         this.userId = "admin";
@@ -4332,10 +4331,8 @@ export default {
           }
           }
         });
         });
       }
       }
-
     }
     }
 
 
-
     //--订单编辑回显--
     //--订单编辑回显--
     // this.paramsEdit = this.$route.query.data; //接收参数
     // this.paramsEdit = this.$route.query.data; //接收参数
     this.obtainProtocol(this.$route.query.data);
     this.obtainProtocol(this.$route.query.data);