Browse Source

项目详情

zhaoxiaohai 3 years ago
parent
commit
2cd3393e32
3 changed files with 17 additions and 1 deletions
  1. 12 0
      packageA/project/detail.js
  2. 3 1
      packageA/project/detail.json
  3. 2 0
      packageA/project/detail.wxml

+ 12 - 0
packageA/project/detail.js

@@ -15,6 +15,12 @@ Page({
         }, {
             label: "关联客户",
             num: 132
+        }, {
+            label: "报价单",
+            num: 132
+        }, {
+            label: "产品配置单",
+            num: 132
         }, {
             label: "联系人",
             num: 132
@@ -243,6 +249,12 @@ Page({
             case "关联客户":
                 model = "#Treaty"
                 break;
+            case "报价单":
+                model = "#Offers"
+                break;
+            case "产品配置单":
+                model = "#Product"
+                break;
             case "联系人":
                 model = "#Contacts"
                 break;

+ 3 - 1
packageA/project/detail.json

@@ -2,10 +2,12 @@
     "usingComponents": {
         "Preview": "../setclient/modules/preview/index",
         "Trace": "../setclient/modules/trace/index",
+        "Offers": "./modules/offers/index",
         "Task": "./modules/task/index",
         "TaskTabs": "./modules/task/tabs/index",
         "Treaty": "./modules/treaty/index",
-        "Contacts": "./modules/contacts/index"
+        "Contacts": "./modules/contacts/index",
+        "Product": "./modules/product/index"
     },
     "navigationBarTitleText": "项目详情"
 }

+ 2 - 0
packageA/project/detail.wxml

@@ -16,6 +16,8 @@
     <Task slot='阶段任务' />
     <Trace slot='跟进动态' id='Trace' ownertable='sa_project' ownerid='{{detail.sa_projectid}}' />
     <Treaty slot='关联客户' id='Treaty' />
+    <Offers slot='报价单' id='Offers' />
+    <Product slot='产品配置单' id='Product' />
     <Contacts slot='联系人' id='Contacts' />
     <view style="height: 140rpx;" />
 </Yl_FunTabs>