lilei 2 年之前
父节点
当前提交
57b202cee7
共有 2 个文件被更改,包括 6 次插入2 次删除
  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 {