lilei 2 năm trước cách đây
mục cha
commit
57b202cee7
2 tập tin đã thay đổi với 6 bổ sung2 xóa
  1. 1 1
      public/version.json
  2. 5 1
      src/views/common/custList.vue

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1677146386431
+  "version": 1677201365459
 }

+ 5 - 1
src/views/common/custList.vue

@@ -42,6 +42,10 @@ export default {
     isEnabled: { // 是否只查启用状态
       type: Boolean,
       default: false
+    },
+    mainFlag: {
+      type: Number,
+      default: 1
     }
   },
   data () {
@@ -61,7 +65,7 @@ export default {
       const fetchId = this.lastFetchId
       this.data = []
       this.fetching = true
-      const params = { pageNo: 1, pageSize: 20 }
+      const params = { pageNo: 1, pageSize: 20, mainFlag: this.mainFlag }
       if (this.itemSn) {
         params.customerSn = this.itemSn
       } else {