/*******************************************************************************
 * Copyright(c) 2024 dongke All rights reserved. / Confidential
 * 类的信息：
 *		1.程序名称：
 *		2.销售渠道
 * 编辑履历：
 *		作者				日期					版本				修改内容
 *		yjb		  	     2024-1-19       			1.00		       	新建
 *******************************************************************************/
module.exports = {
  customerService: {
    // 前缀
    prefix: 'mdm-server/mst/customer/',
    selectByCondNoPage:'select_by_cond_no_page',
    selectCustomerById:'select_customer'
  },
  routeUrl: {
    customer: {
      add:{
        key:'add',url:'/package-basic-data/pages/customer-list/add/add'
      },
      edit:{
        key:'edit',url:'/package-basic-data/pages/customer-list/add/add'
      },
      followUp:{
        key:'followUp',url:'/package-basic-data/pages/customer-follow-up/customer-follow-up',image:'btn-follow-up.png'
      },
      detail:{
        key:'detail',url:'/package-basic-data/pages/customer-list/detail/detail'
      },

      followUpTasks:{
        key:'followUpTasks',url:'/package-basic-data/pages/customer-follow-up/follow-up-tasks/follow-up-tasks',image:'btn-task.png'
      },
      measureTo:{
        key: 'measureTo', url: '/package-basic-data/pages/customer-reception/measure-to/measure-to'
      },
      chooseChannel: { key: 'chooseChannel', url: '/package-base-select/pages/select-data/select-data', type: 'saleChannel' },
      choosecusFrom: { key: 'choosecusFrom', url: '/package-base-select/pages/select-data/select-data', type: 'customerFrom' },
      chooseStaff: { key: 'chooseStaff', url: '/package-base-select/pages/select-data/select-data',type:'staff'  },
      chooseOrg: { key: 'chooseOrg',url: '/package-base-select/pages/select-data/select-data',type:'org' }, 
      collection:{ key: 'collection', url: '/package-sales/pages/customer-collection/add/add', formMode: 'add',formType:'add', idKey: 'cusId', image:'btn-customer-collection.png' }, //跳转客户收款新建
      collectionDetail:{ key: 'collectionDetail', url: '/package-sales/pages/customer-collection/detail/detail', formMode: 'edit',formType:'edit', idKey: 'cusId', image:'btn-customer-collection.png' }, //跳转客户收款详情


      toSaleOrder:{ key: 'toSaleOrder', url: '/package-sales/pages/order-billing/add/add', formMode: 'add' ,formType: 'add', idKey: 'cusId' } ,
      toSaleOutOrder:{ key: 'toSaleOutOrder', url: '/package-sales/pages/sales-outbound/add/add',  formMode: 'add' ,formType: 'add', idKey: 'cusId' } ,
      toSaleOrderReturn:{ key: 'toSaleOrderReturn', url: '/package-sales/pages/order-return/add/add',  formMode: 'add' ,formType: 'add', idKey: 'cusId' } ,
      toReceipt:{ key: 'toReceipt', url: '/package-accounts-manage/pages/receipt/add/add', formMode: 'add',formType:'add', idKey: 'cusId' } ,//跳转收款单新建
      toReceiptDetail:{ key: 'toReceiptDetail', url: '/package-accounts-manage/pages/receipt/detail/detail', formMode: 'edit',formType:'edit', idKey: 'cusId' } ,//跳转收款单新建
      chooseInitialPaymentType: { key: 'chooseInitialPaymentType', url: '/package-base-select/pages/select-data/select-data',type:'kindData', kindType:'初始款项' ,  },
      chooseMoneyAccount: { key: 'chooseMoneyAccount', url: '/package-base-select/pages/select-data/select-data',type:'moneyAccount',  },
    }
  }
};