luobang 2 سال پیش
والد
کامیت
bb85ce2593
1فایلهای تغییر یافته به همراه10 افزوده شده و 11 حذف شده
  1. 10 11
      src/views/statisticalReport/components/salesLogisticsStatistics/saleSteelReports.vue

+ 10 - 11
src/views/statisticalReport/components/salesLogisticsStatistics/saleSteelReports.vue

@@ -702,11 +702,12 @@
                 "
                 >提交</el-button
               >
-              <span v-show="orgCode!='chengyunshang'">是否校验GPS:</span>
+              <span v-show="orgCode != 'chengyunshang'">是否校验GPS:</span>
               <el-switch
                 v-model="isCheckGPS"
-                v-show="orgCode!='chengyunshang'"
-                :disabled="orgCode=='chengyunshang'">
+                v-show="orgCode != 'chengyunshang'"
+                :disabled="orgCode == 'chengyunshang'"
+              >
               </el-switch>
             </div>
             <div class="steelMapClass33">
@@ -1432,11 +1433,11 @@ export default {
   },
   data() {
     return {
-      isCheckGPS:true,
-      userId:null,
-      orgCode:null,
-      taskAllNum:0,
-      noticeInterval:null,
+      isCheckGPS: true,
+      userId: null,
+      orgCode: null,
+      taskAllNum: 0,
+      noticeInterval: null,
       exceptionHandleVisible: false,
       batchCarrierName: null,
       batchCarrierVisible: false,
@@ -3056,7 +3057,7 @@ export default {
         return
       }
       //是否校验GPS
-      this.steelMap.isCheckGPS=this.isCheckGPS;
+      this.steelMap.isCheckGPS = this.isCheckGPS
       if (this.steelMap.capacityIds != 0) {
         const loading = this.$loading({
           lock: true,
@@ -3713,7 +3714,6 @@ export default {
           console.log(this.maxHeight, 'this.maxHeight')
           this.maxHeight = window.innerHeight - 130
           console.log(this.maxHeight, 'this.maxHeight')
-          this.steelMap = {}
           loading.close()
           console.log(this.visibleList)
         })
@@ -3803,7 +3803,6 @@ export default {
         )
         .then(res => {
           this.tableData = res.data.data
-          this.steelMap = {}
           this.totalHeight += this.itemHeight
           this.visibleList = []
           this.maxHeight = window.innerHeight - 130