Przeglądaj źródła

中煤二维码显示问题

@dongkboy 3 lat temu
rodzic
commit
efc5917f26
2 zmienionych plików z 23 dodań i 5 usunięć
  1. 1 1
      .gitignore
  2. 22 4
      src/views/Letter/Letter.vue

+ 1 - 1
.gitignore

@@ -11,4 +11,4 @@ yarn-error.log*
 *.ntvs*
 *.njsproj
 *.sln
-
+/config/dev.env.js

+ 22 - 4
src/views/Letter/Letter.vue

@@ -2725,6 +2725,7 @@ export default {
       import("element-ui/packages/image/src/image-viewer")
   },
   created() {
+
     this.getDicType("vehicleType");//车辆种类
     this.getDicType("trafficManagementVehicleType");//车辆类型
     this.getDicType("energyType");//能源种类
@@ -2808,6 +2809,7 @@ export default {
       this.systartDate = this.transformTime1();
       this.syendDate = this.oneYearPast1(this.systartDate);
     }
+
   },
   mounted() {
     this.onScroll()
@@ -3166,6 +3168,8 @@ export default {
     },
     //报价
     quote() {
+
+
       let starttime = new Date(this.carInfo.registerDate)
       let endtime = new Date(this.carInfo.issueDate)
       if (endtime < starttime) {
@@ -4189,6 +4193,8 @@ export default {
                           _this.$api.letter.getByCompanyId({ companyId: this.companyId }).then(res => {
                             _this.orderstatus = res.data.orderstatus; //订单状态
                             _this.underwritingdialogVisible = true;
+                            let indexid = this.totalCompanyList.findIndex(item => item.namesimple == this.queryOrders.inscompany);
+                            this.totalCompanyList[indexid].orderstatus = res.data.orderstatus;
                           });
                         } else {
                           loading.close();
@@ -4236,6 +4242,8 @@ export default {
                           _this.$api.letter.getByCompanyId({ companyId: this.companyId }).then(res => {
                             _this.orderstatus = res.data.orderstatus; //订单状态
                             _this.underwritingdialogVisible = true;
+                            let indexid = this.totalCompanyList.findIndex(item => item.namesimple == this.queryOrders.inscompany);
+                            this.totalCompanyList[indexid].orderstatus = res.data.orderstatus;
                           });
                         } else {
                           loading.close();
@@ -4284,6 +4292,8 @@ export default {
                           _this.$api.letter.getByCompanyId({ companyId: this.companyId }).then(res => {
                             _this.orderstatus = res.data.orderstatus; //订单状态
                             _this.underwritingdialogVisible = true;
+                            let indexid = this.totalCompanyList.findIndex(item => item.namesimple == this.queryOrders.inscompany);
+                            this.totalCompanyList[indexid].orderstatus = res.data.orderstatus;
                           });
                         } else {
                           loading.close();
@@ -4335,6 +4345,8 @@ export default {
                           _this.$api.letter.getByCompanyId({ companyId: this.companyId }).then(res => {
                             _this.orderstatus = res.data.orderstatus; //订单状态
                             _this.underwritingdialogVisible = true;
+                            let indexid = this.totalCompanyList.findIndex(item => item.namesimple == this.queryOrders.inscompany);
+                            this.totalCompanyList[indexid].orderstatus = res.data.orderstatus;
                           });
                         } else {
                           loading.close();
@@ -4385,6 +4397,8 @@ export default {
                           _this.$api.letter.getByCompanyId({ companyId: this.companyId }).then(res => {
                             _this.orderstatus = res.data.orderstatus; //订单状态
                             _this.underwritingdialogVisible = true;
+                            let indexid = this.totalCompanyList.findIndex(item => item.namesimple == this.queryOrders.inscompany);
+                            this.totalCompanyList[indexid].orderstatus = res.data.orderstatus;
                           });
                         } else {
                           loading.close();
@@ -4433,6 +4447,8 @@ export default {
                           _this.$api.letter.getByCompanyId({ companyId: this.companyId }).then(res => {
                             _this.orderstatus = res.data.orderstatus; //订单状态
                             _this.underwritingdialogVisible = true;
+                            let indexid = this.totalCompanyList.findIndex(item => item.namesimple == this.queryOrders.inscompany);
+                            this.totalCompanyList[indexid].orderstatus = res.data.orderstatus;
                           });
                         } else {
                           loading.close();
@@ -5290,10 +5306,7 @@ export default {
   opacity: 0;
 }
 
-.saomazhifucodeClass .el-dialog__body,
-.saomazhifucodeClass .el-dialog__header {
-  padding: 0;
-}
+
 
 .ORcodebody {
   width: 100%;
@@ -6073,5 +6086,10 @@ export default {
   .styleB .el-upload--picture-card {
     display: none;
   }
+
+  .saomazhifucodeClass .el-dialog__body,
+  .saomazhifucodeClass .el-dialog__header {
+    padding: 0;
+  }
 }
 </style>