Przeglądaj źródła

fix:即使投保选中bug修复

刘恒 1 rok temu
rodzic
commit
eae75d7608

+ 10 - 1
src/views/Task/daikeComponents/KtLetter1.vue

@@ -6025,6 +6025,7 @@ import dayjs from 'dayjs'
   mounted() {
     this.getCompanyList(this.$route.query.data)
     this.onScroll();
+    
     if (this.$route.query.data) {
       if(this.isDateBeforeToday(this.$route.query.data.jqstartdate)){
         this.jqstartDate = this.transformTime1();
@@ -6033,6 +6034,7 @@ import dayjs from 'dayjs'
           this.jqstartDate = this.$route.query.data.jqstartdate;
           this.jqendDate = this.$route.query.data.jqenddate;
       }
+      
       if (this.$route.query.data.jqstartdate.split(" ")[1] == "00:00:00") {
         this.immediatelyValue = false;
       } else {
@@ -6593,6 +6595,8 @@ import dayjs from 'dayjs'
       this.policyNumberForm[type] = []
     },
     editingWay(paramsEdit) {
+      // console.log(paramsEdit)
+      
       if (paramsEdit) {
         var _this = this;
         this.jqchecked = false;
@@ -6603,7 +6607,12 @@ import dayjs from 'dayjs'
           paramsEdit;
         this.editorInfo = { ...paramsEdit };
         // this.vehicleAndVesselTaxForm = { ...paramsEdit.vehicleAndVesselTax };
-
+        console.log(paramsEdit.jqstartdate)
+        if (paramsEdit.jqstartdate.split(" ")[1] == "00:00:00") {
+          this.immediatelyValue = false;
+        } else {
+          this.immediatelyValue = true;
+        }
         _this.carInfo = carinfo;
         if (_this.carInfo.carnature == "8A") {
           _this.carInfo.carnature = "02";

+ 1 - 0
src/views/Task/daikeComponents/KtOrder.vue

@@ -2245,6 +2245,7 @@ export default {
     CloseEdit(index, row) {
       this.$api.letter.getByOrderNo({ orderNo: row.orderno }).then((res) => {
         if (res.code == 200) {
+          // console.log(this.isLetterOrder,res.data )
           if (this.isLetterOrder) {
             this.$router.push({
               path: "/letter/letter",