Преглед на файлове

到期提醒只有仓储显示

lichao преди 3 години
родител
ревизия
2843277aaa
променени са 1 файла, в които са добавени 5 реда и са изтрити 3 реда
  1. 5 3
      src/views/index.vue

+ 5 - 3
src/views/index.vue

@@ -979,9 +979,11 @@ export default {
     this.getList();
     this.warehouses();
     this.inquiry();
-    remindExpirationData().then(res => {
-     this.remindList = res.rows
-    })
+    if (this.sysType == 1) {
+      remindExpirationData().then(res => {
+        this.remindList = res.rows
+      })
+    }
     this.dataList.addressName = []
     this.dataList.boxNumber = []
     this.dataList.bookingRanking.text = []