Prechádzať zdrojové kódy

fix:修改报价车辆信息转移登记日期显示问题

wuguojie 1 rok pred
rodič
commit
8db9507793

+ 6 - 3
src/views/Task/daikeComponents/KtLetter1.vue

@@ -6025,7 +6025,7 @@ import dayjs from 'dayjs'
   mounted() {
   mounted() {
     this.getCompanyList(this.$route.query.data)
     this.getCompanyList(this.$route.query.data)
     this.onScroll();
     this.onScroll();
-    
+
     if (this.$route.query.data) {
     if (this.$route.query.data) {
       if(this.isDateBeforeToday(this.$route.query.data.jqstartdate)){
       if(this.isDateBeforeToday(this.$route.query.data.jqstartdate)){
         this.jqstartDate = this.transformTime1();
         this.jqstartDate = this.transformTime1();
@@ -6034,7 +6034,7 @@ import dayjs from 'dayjs'
           this.jqstartDate = this.$route.query.data.jqstartdate;
           this.jqstartDate = this.$route.query.data.jqstartdate;
           this.jqendDate = this.$route.query.data.jqenddate;
           this.jqendDate = this.$route.query.data.jqenddate;
       }
       }
-      
+
       if (this.$route.query.data.jqstartdate.split(" ")[1] == "00:00:00") {
       if (this.$route.query.data.jqstartdate.split(" ")[1] == "00:00:00") {
         this.immediatelyValue = false;
         this.immediatelyValue = false;
       } else {
       } else {
@@ -6596,7 +6596,7 @@ import dayjs from 'dayjs'
     },
     },
     editingWay(paramsEdit) {
     editingWay(paramsEdit) {
       // console.log(paramsEdit)
       // console.log(paramsEdit)
-      
+
       if (paramsEdit) {
       if (paramsEdit) {
         var _this = this;
         var _this = this;
         this.jqchecked = false;
         this.jqchecked = false;
@@ -6645,6 +6645,9 @@ import dayjs from 'dayjs'
 
 
         if (paramsEdit.carinfo.transferFlag) {
         if (paramsEdit.carinfo.transferFlag) {
           this.transferDateShow = true;
           this.transferDateShow = true;
+        } else {
+          this.transferDateShow = false;
+          this.carInfo.transferDate = ''
         }
         }
         paramsEdit.risk.map((ele) => {
         paramsEdit.risk.map((ele) => {
           if (ele.riskCode == "0507") {
           if (ele.riskCode == "0507") {