caojunjie 2 лет назад
Родитель
Сommit
38aa82d17d
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      src/components/boxCost/index.vue

+ 6 - 0
src/components/boxCost/index.vue

@@ -828,6 +828,9 @@ export default {
       },
       // 租出,租入,卖箱,买箱的接口
       tradingBoxFeesListfun(feesType,params = {}){
+          if (!this.id) {
+              return
+          }
           tradingBoxFeesList({
               ...params,
               current: this.page.currentPage,
@@ -857,6 +860,9 @@ export default {
 
       // 出口进口的费用接口
       transportItemFeesListdatafun(feesType,params = {}){
+          if (!this.id) {
+              return
+          }
           transportItemFeesListdata({
               ...params,
               current: this.page.currentPage,