luobang 2 年 前
コミット
32c605ac48

+ 2 - 2
build/utils.js

@@ -16,9 +16,9 @@ const devPathSrc = path.resolve(__dirname, '../../../src') // node_modules应用
 //       统计报表       组织机构/系统管理 采购  仓储
 //  'statisticalReport','systemConfig','TMS','WMS','workFlow','ADMINISTRATORS']
 
-// let devModules = ['all']
-// let devModules = ['index', 'statisticalReport', 'ADMINISTRATORS']
 let devModules = ['all']
+// let devModules = ['index', 'statisticalReport']
+// let devModules = ['all']
 
 // let devModules = ['index', 'ADMINISTRATORS']
 

+ 8 - 6
src/views/statisticalReport/components/salesLogisticsStatistics/saleSteelReports.vue

@@ -865,7 +865,6 @@
               <el-button
                 type="success"
                 circle
-                @click="updateDetailsOrderPrice"
                 v-if="!notRoutList.includes('capacityNo')"
                 >修改</el-button
               >
@@ -1771,6 +1770,9 @@ export default {
     this.exceptionHandleMakeSure = this.debounce(() => {
       this.exceptionHandleMakeSure1()
     }, 500)
+    this.getSteelReport = this.debounce(() => {
+      this.getSteelReportDebounce()
+    }, 500)
     this.getSteelReport()
   },
   watch: {
@@ -1821,19 +1823,19 @@ export default {
     this.$nextTick(() => {
       window.onresize = () => {
         return (() => {
+          this.getSteelReport()
           this.maxHeight = window.innerHeight - 146
-          console.log(
-            document.querySelector('.el-table__body-wrapper').offsetHeight,
-            'offset'
-          )
         })()
       }
     })
     this.$refs.tableRef.bodyWrapper.addEventListener('scroll', e => {
+      console.log(this.scrollTop, 'scrollTop')
+      // console.log(this.debounceS,'WXSDD-20230112-00067671')
       // console.log(e)
       if (this.debounceS) return
       this.debounceS = true
       this.scrollTop = e.target.scrollTop
+
       // let upDownLenght = this.scrollTop - this.scrollTopUpDownLenght
       // if (upDownLenght < 0) {
       // } else {
@@ -3731,7 +3733,7 @@ export default {
       this.getSteelReport()
     },
     //获取钢材统计报表
-    getSteelReport() {
+    getSteelReportDebounce() {
       const loading = this.$loading({
         lock: true,
         text: '正在获取数据,请稍候',