于继渤 1 anno fa
parent
commit
e0ed579d3f

+ 4 - 0
api/pages/mst/cusFollow.js

@@ -42,6 +42,10 @@ module.exports = {
       detailCustomer: {
         key: 'detailCustomer', url: '/package-basic-data/pages/customer-list/detail/detail'
       },
+
+      cusCollection:{ key: 'cusCollection', url: '/package-sales/pages/customer-collection/add/add', formMode: 'add',formType:'add', idKey: 'cusId', image:'btn-customer-collection.png' }, 
+
+      orderAdd:{ key: 'orderAdd', url: '/package-sales/pages/order-billing/add/add', formMode: 'add',formType:'add', idKey: 'cusId', image:'btn-sales-orders.png' }, 
     }
   }
 };

+ 6 - 6
package-basic-data/pages/customer-reception/customer-reception.js

@@ -85,8 +85,8 @@ Page({
     buttonList: [
       { name: 'followUp', title: mixins.$t('follow') },
       { name: 'followUpTasks', title: mixins.$t('followUpTasks') },
-      { name: 'toSelectGoods', title: mixins.$t('saleOrder') },
-      { name: 'customerRefundList', title: mixins.$t('cusCollection') },
+      { name: 'orderAdd', title: mixins.$t('saleOrder') },
+      { name: 'cusCollection', title: mixins.$t("cusCollection"), idKey: 'cusId' },//跳转客户收款
     ],
 
     totallength: 0, //视图下方提醒数量
@@ -128,16 +128,16 @@ Page({
       buttonList = [
         { name: 'followUp', title: mixins.$t('follow') },
         { name: 'followUpTasks', title: mixins.$t('followUpTasks') },
-        { name: 'customerRefundList', title: mixins.$t('saleOrder') },
-        { name: 'customerRefundList', title: mixins.$t('cusCollection') },
+        { name: 'orderAdd', title: mixins.$t('saleOrder') },
+        { name: 'cusCollection', title: mixins.$t("cusCollection"), idKey: 'cusId' },//跳转客户收款
         { name: 'measureTo', title: mixins.$t('measuringScaleReceipt') }
       ]
     } else {
       buttonList = [
         { name: 'followUp', title: mixins.$t('follow') },
         { name: 'followUpTasks', title: mixins.$t('followUpTasks') },
-        { name: 'customerRefundList', title: mixins.$t('saleOrder') },
-        { name: 'customerRefundList', title: mixins.$t('cusCollection') },
+        { name: 'orderAdd', title: mixins.$t('saleOrder') },
+        { name: 'cusCollection', title: mixins.$t("cusCollection"), idKey: 'cusId' },//跳转客户收款
       ]
     }
     this.setData({