浏览代码

页面优化

lilei 3 年之前
父节点
当前提交
2482de7d98
共有 36 个文件被更改,包括 72 次插入72 次删除
  1. 2 2
      src/views/allocationManagement/chainTransferIn/list.vue
  2. 2 2
      src/views/allocationManagement/chainTransferOut/list.vue
  3. 2 2
      src/views/allocationManagement/storeTransferOut/list.vue
  4. 2 2
      src/views/allocationManagement/warehouseAllocation/list.vue
  5. 2 2
      src/views/bulkManagement/bulkImport/list.vue
  6. 2 2
      src/views/bulkManagement/bulkReturnGoods/list.vue
  7. 2 2
      src/views/bulkManagement/bulkWarehousingOrder/list.vue
  8. 2 2
      src/views/customerManagement/customerInfo/list.vue
  9. 2 2
      src/views/financialManagement/companyCollectionPayment/list.vue
  10. 2 2
      src/views/financialManagement/expenseManagement/list.vue
  11. 2 2
      src/views/financialManagement/financialCollection/list.vue
  12. 2 2
      src/views/financialManagement/financialPayment/list.vue
  13. 2 2
      src/views/financialManagement/inventoryCheckAudit/list.vue
  14. 2 2
      src/views/financialManagement/ledgerRecord/list.vue
  15. 2 2
      src/views/financialManagement/warehousingAudit/list.vue
  16. 2 2
      src/views/financialManagement/withdrawalManagement/list.vue
  17. 2 2
      src/views/inventoryManagement/inventoryChecking/list.vue
  18. 2 2
      src/views/inventoryManagement/inventoryImport/list.vue
  19. 2 2
      src/views/inventoryManagement/inventoryQuery/list.vue
  20. 2 2
      src/views/inventoryManagement/inventoryQuery/warehouseDetail.vue
  21. 2 2
      src/views/inventoryManagement/inventoryWarning/list.vue
  22. 2 2
      src/views/outboundOrderManagement/outboundOrder/list.vue
  23. 2 2
      src/views/productManagement/newProduct/list.vue
  24. 2 2
      src/views/productManagement/priceChangeRecord/list.vue
  25. 2 2
      src/views/productManagement/productInfo/list.vue
  26. 2 2
      src/views/productManagement/productInfoJg/list.vue
  27. 2 2
      src/views/productManagement/productOnlineInfo/list.vue
  28. 2 2
      src/views/purchasingManagement/purchaseOrder/list.vue
  29. 2 2
      src/views/purchasingManagement/purchaseReturn/list.vue
  30. 2 2
      src/views/purchasingManagement/signWarehousing/list.vue
  31. 2 2
      src/views/salesManagement/giftRecord/list.vue
  32. 2 2
      src/views/salesManagement/productPricing/list.vue
  33. 2 2
      src/views/salesManagement/salesQuery/list.vue
  34. 2 2
      src/views/salesManagement/salesReturn/list.vue
  35. 2 2
      src/views/salesManagement/salesman/list.vue
  36. 2 2
      src/views/salesManagement/urgentItemsOffset/list.vue

+ 2 - 2
src/views/allocationManagement/chainTransferIn/list.vue

@@ -249,9 +249,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/allocationManagement/chainTransferOut/list.vue

@@ -320,9 +320,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/allocationManagement/storeTransferOut/list.vue

@@ -305,9 +305,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/allocationManagement/warehouseAllocation/list.vue

@@ -262,9 +262,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/bulkManagement/bulkImport/list.vue

@@ -218,9 +218,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/bulkManagement/bulkReturnGoods/list.vue

@@ -335,9 +335,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/bulkManagement/bulkWarehousingOrder/list.vue

@@ -351,9 +351,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/customerManagement/customerInfo/list.vue

@@ -343,9 +343,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/financialManagement/companyCollectionPayment/list.vue

@@ -216,9 +216,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/financialManagement/expenseManagement/list.vue

@@ -321,9 +321,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/financialManagement/financialCollection/list.vue

@@ -354,9 +354,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/financialManagement/financialPayment/list.vue

@@ -352,9 +352,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/financialManagement/inventoryCheckAudit/list.vue

@@ -201,9 +201,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/financialManagement/ledgerRecord/list.vue

@@ -172,9 +172,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/financialManagement/warehousingAudit/list.vue

@@ -233,9 +233,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/financialManagement/withdrawalManagement/list.vue

@@ -163,9 +163,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/inventoryManagement/inventoryChecking/list.vue

@@ -310,9 +310,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/inventoryManagement/inventoryImport/list.vue

@@ -212,9 +212,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/inventoryManagement/inventoryQuery/list.vue

@@ -341,9 +341,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/inventoryManagement/inventoryQuery/warehouseDetail.vue

@@ -221,9 +221,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/inventoryManagement/inventoryWarning/list.vue

@@ -430,9 +430,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/outboundOrderManagement/outboundOrder/list.vue

@@ -385,9 +385,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/productManagement/newProduct/list.vue

@@ -241,9 +241,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/productManagement/priceChangeRecord/list.vue

@@ -326,9 +326,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/productManagement/productInfo/list.vue

@@ -328,9 +328,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/productManagement/productInfoJg/list.vue

@@ -284,9 +284,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/productManagement/productOnlineInfo/list.vue

@@ -259,9 +259,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/purchasingManagement/purchaseOrder/list.vue

@@ -327,9 +327,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/purchasingManagement/purchaseReturn/list.vue

@@ -314,9 +314,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/purchasingManagement/signWarehousing/list.vue

@@ -176,9 +176,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/salesManagement/giftRecord/list.vue

@@ -153,9 +153,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/salesManagement/productPricing/list.vue

@@ -195,9 +195,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/salesManagement/salesQuery/list.vue

@@ -435,9 +435,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/salesManagement/salesReturn/list.vue

@@ -293,9 +293,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/salesManagement/salesman/list.vue

@@ -197,9 +197,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()

+ 2 - 2
src/views/salesManagement/urgentItemsOffset/list.vue

@@ -174,9 +174,9 @@ export default {
   watch: {
   watch: {
     advanced (newValue, oldValue) {
     advanced (newValue, oldValue) {
       const _this = this
       const _this = this
-      setTimeout(() => {
+      this.$nextTick(() => { // 页面渲染完成后的回调
         _this.setTableH()
         _this.setTableH()
-      }, 400)
+      })
     },
     },
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
     '$store.state.app.winHeight' (newValue, oldValue) { //  窗口变更时,需同时更改表格高度
       this.setTableH()
       this.setTableH()