Procházet zdrojové kódy

项目关联客户搜索

zhaoxiaohai před 2 roky
rodič
revize
3908389732

+ 3 - 5
packageA/project/modules/treaty/search.js

@@ -13,14 +13,12 @@ Page({
     },
     /* 获取地址列表 */
     getList(init) {
+        if (init.detail != undefined) init = init.detail;
         let content = this.data.content;
-        if (init) {
-            content.pageNumber = 1
-            content.pageTotal = 1
-        }
+        if (init) content.pageNumber = 1
         if (content.pageNumber > content.pageTotal) return;
         _Http.basic({
-            "id": "20220920083901",
+            "id": "20221027143702",
             content
         }).then(res => {
             console.log("关联客户列表", res)

+ 2 - 1
packageA/project/modules/treaty/search.json

@@ -1,5 +1,6 @@
 {
     "usingComponents": {
         "List": "../../../setclient/modules/list/index"
-    }
+    },
+    "navigationBarTitleText": "搜索客户"
 }