|
@@ -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: '正在获取数据,请稍候',
|