Pārlūkot izejas kodu

利润表异常提示

hongxudong 1 gadu atpakaļ
vecāks
revīzija
ce4b999c93

+ 2 - 0
src/view/fin/profit-report/detail/org-rank.vue

@@ -58,6 +58,8 @@ export default {
             { title: '利润率', type: '', value: (res.data.profit ? res.data.profit.profitRate : 0) + '%' }
           ]
           this.tab1TableData = res.data.orgProfit
+        } else{
+          this.$Message.warning(res.message)
         }
         this.loading = false
       })

+ 2 - 0
src/view/fin/profit-report/detail/sku-rank.vue

@@ -58,6 +58,8 @@ export default {
             { title: '利润率', type: '', value: (res.data.profit ? res.data.profit.profitRate : 0) + '%' }
           ]
           this.tab1TableData = res.data.skuProfit
+        } else{
+          this.$Message.warning(res.message)
         }
         this.loading = false
       })

+ 2 - 0
src/view/fin/profit-report/detail/staff-rank.vue

@@ -77,6 +77,8 @@ export default {
             { title: '利润率', type: '', value: (res.data.profit ? res.data.profit.profitRate : 0) + '%' }
           ]
           this.tab1TableData = res.data.staffProfit
+        } else{
+          this.$Message.warning(res.message)
         }
         this.loading = false
       })

+ 2 - 0
src/view/fin/profit-report/index.vue

@@ -396,6 +396,8 @@ export default {
           options4.series[0].data = res.data.skuProfit.map(it => it.profit)
           chart4.setOption(options4)
 
+        } else{
+          this.$Message.warning(res.message)
         }
         this.loading = false
       })